/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1d1d1f;
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Page Layout ===== */
.page-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

/* ===== Web Fonts ===== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@400;500;600&display=swap');

/* ===== Design Tokens (from Figma) ===== */
:root {
    /* Colors */
    --color-primary: #1d1d1f;
    --color-secondary: #444444;
    --color-tertiary: #6e6e73;
    --color-border: #ddddde;
    --color-background: #f5f5f7;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-blue: #007aff;
    --color-red: #ff3b30;

    /* Typography */
    --font-pretendard: 'Pretendard', sans-serif;
    --font-ibm: 'IBM Plex Sans KR', sans-serif;
    
    /* Font Sizes */
    --fs-h1: 40px;
    --fs-h2: 28px;
    --fs-h3: 20px;
    --fs-h4: 18px;
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-caption: 13px;

    /* Line Heights */
    --lh-h1: 1.25;
    --lh-h2: 1.3;
    --lh-h3: 1.35;
    --lh-h4: 1.4;
    --lh-body: 1.65;

    /* Letter Spacing */
    --ls-h1: -0.8px;
    --ls-h2: -0.28px;
    --ls-h3: -0.2px;
    --ls-caption: 0.13px;

    /* Spacing */
    --container-max: 1200px;
    --container-padding: 135px;
    --section-spacing: 120px;
    --gap-lg: 64px;
    --gap-md: 48px;
    --gap-sm: 24px;
    --gap-xs: 18px;

    /* Border Radius */
    --radius-lg: 24px;
    --radius-md: 14px;
    --radius-sm: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== Typography ===== */
h1 {
    font-family: var(--font-pretendard);
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: var(--lh-h1);
    letter-spacing: var(--ls-h1);
}

h2 {
    font-family: var(--font-pretendard);
    font-size: var(--fs-h2);
    font-weight: 400;
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-h2);
}

h3 {
    font-family: var(--font-pretendard);
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: var(--lh-h3);
    letter-spacing: var(--ls-h3);
}

p {
    font-family: var(--font-pretendard);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 60px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-pretendard);
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: var(--lh-h3);
    letter-spacing: var(--ls-h3);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1.5px solid transparent;
}

.btn-primary:hover {
    background-color: #f5f5f7;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    background-color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: rotate(45deg);
}

.btn-icon i {
    font-size: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

.btn-map {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--color-white);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-lg);
    font-size: var(--fs-small);
    height: 48px;
    min-width: 180px;
}

.btn-map img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.btn-call {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--fs-h4);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(17.5px);
    z-index: 1000;
}

.header-content {
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'LINE Seed Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 5.6px;
}

.logo-main {
    color: var(--color-black);
}

.logo-sub {
    color: var(--color-tertiary);
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-link i {
    font-size: 16px;
}

.nav-link-register {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.nav-link-register:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-user:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
}

.nav-user i {
    color: #e74c3c;
}

.profile-img-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e74c3c;
    transition: all 0.3s ease;
}

.nav-user:hover .profile-img-small {
    border-color: #c0392b;
    transform: scale(1.05);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    cursor: pointer;
}

.nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
}

.nav-dropdown-toggle .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .nav-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 250px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.nav-dropdown-item i {
    width: 18px;
    color: #e74c3c;
    font-size: 14px;
}

.nav-dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

.nav-dropdown-submenu {
    padding: 8px 0;
}

.nav-dropdown-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-dropdown-subtitle i {
    width: 18px;
    color: #999;
    font-size: 12px;
}

.nav-dropdown-subitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 40px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.nav-dropdown-subitem:hover {
    background: #f8f9fa;
    color: #e74c3c;
    padding-left: 45px;
}

.nav-dropdown-subitem i {
    width: 16px;
    color: #999;
    font-size: 12px;
}

.nav-dropdown-subitem:hover i {
    color: #e74c3c;
}

/* Messages Container */
.messages-container {
    position: fixed;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 2000;
}

.alert {
    padding: 14px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../image/hero-bg.png');
    background-size: cover;
    background-position: center;
    margin-top: 72px;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.hero-title {
    color: var(--color-white);
}

.hero-subtitle {
    color: var(--color-white);
    font-size: 24px;
    font-weight: 300;
    line-height: var(--lh-h3);
    letter-spacing: -0.24px;
}

.hero-buttons {
    display: flex;
    gap: var(--gap-xs);
}

/* ===== Brands Section ===== */
.brands-section {
    padding: 84px 0;
    width: 100%;
}

.brands-container {
    background-color: var(--color-background);
    padding: 48px var(--container-padding);
    width: 100%;
}

.brands-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    align-items: center;
}

.brands-grid {
    display: flex;
    gap: var(--gap-lg);
    align-items: center;
    justify-content: center;
    width: 100%;
}

.brand-item {
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ===== Divider ===== */
.divider {
    width: var(--container-max);
    height: 1px;
    background-color: var(--color-border);
    margin: 0 auto;
}

/* ===== Section Styles ===== */
.section-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-spacing) var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    align-items: center;
    text-align: center;
    max-width: 840px;
}

.section-title {
    color: var(--color-black);
}

.section-subtitle {
    color: var(--color-secondary);
    font-size: var(--fs-h4);
    font-weight: 500;
    line-height: var(--lh-h4);
}

/* ===== Bikes Section ===== */
.bikes-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--color-background) 100%);
    width: 100%;
}

.bikes-grid {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    gap: var(--gap-sm);
    width: 100%;
    justify-content: center;
}

.bike-card,
.product-card {
    background-color: var(--color-white);
    border: 1px solid #f9f9f9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.bike-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bike-image,
.product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.bike-image img,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.card-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.card-title {
    color: var(--color-black);
}

.card-subtitle {
    color: var(--color-tertiary);
    font-size: var(--fs-body);
}

/* ===== Service Section ===== */
.service-section {
    padding: var(--section-spacing) var(--container-padding);
    width: 100%;
}

.service-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 495px 1fr;
    gap: 135px;
    align-items: center;
}

.service-image {
    width: 495px;
    height: 697px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.service-table-card {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
}

.table-title {
    font-family: var(--font-ibm);
    font-size: var(--fs-body);
    line-height: 24px;
    margin-bottom: 24px;
}

.service-table {
    overflow-x: auto;
}

.service-table table {
    width: 100%;
    border-collapse: collapse;
}

.service-table th,
.service-table td {
    text-align: left;
    padding: 8px;
    font-family: var(--font-ibm);
    font-size: var(--fs-small);
    line-height: 20px;
}

.service-table th {
    font-weight: 500;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-table td {
    font-weight: 400;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-table tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 3px 9px;
    background-color: #eceef2;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

.service-notes {
    font-size: var(--fs-caption);
    font-weight: 300;
    line-height: var(--lh-body);
    letter-spacing: var(--ls-caption);
    color: var(--color-black);
}

.service-notes ul {
    list-style: disc;
    padding-left: 19.5px;
}

.service-notes li {
    margin-bottom: 8px;
}

.link-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-blue);
    font-size: var(--fs-h4);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-detail:hover {
    opacity: 0.8;
}

.link-detail i {
    font-size: 18px;
}

.service-buttons {
    display: flex;
    gap: 19px;
}

/* ===== Products Section ===== */
.products-section {
    background: linear-gradient(to bottom, var(--color-background) 0%, var(--color-white) 100%);
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 384px);
    gap: var(--gap-sm);
    justify-content: center;
}

.product-list {
    list-style: disc;
    padding-left: 24px;
    margin-top: 11px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-list li {
    color: var(--color-secondary);
    font-size: var(--fs-body);
}

/* ===== Location Section ===== */
.location-section {
    padding: var(--section-spacing) var(--container-padding);
    width: 100%;
}

.location-container {
    max-width: var(--container-max);
    margin: 0 auto;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 84px 135px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    align-items: center;
}

.map-container {
    width: 930px;
    height: 576px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(249, 249, 249, 0.5);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-info {
    display: flex;
    gap: 0;
    width: 100%;
    justify-content: space-between;
}

.info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.info-group {
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.info-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon {
    font-size: 20px;
    line-height: 1;
    color: var(--color-primary);
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 465px;
}

.info-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-title {
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: var(--lh-h3);
    letter-spacing: var(--ls-h3);
    color: var(--color-black);
}

.info-text {
    font-size: var(--fs-h4);
    font-weight: 500;
    line-height: var(--lh-h4);
    color: var(--color-secondary);
}

.info-status {
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: var(--lh-h4);
    color: var(--color-blue);
    transition: color 0.3s ease;
}

.info-status.open {
    color: var(--color-blue);
}

.info-status.closed {
    color: var(--color-red);
}

.map-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: var(--fs-h4);
    line-height: var(--lh-h4);
}

.hours-item .day {
    font-weight: 700;
    color: var(--color-black);
    min-width: 60px;
}

.hours-item .time {
    font-weight: 500;
    color: var(--color-secondary);
    flex: 1;
}

.hours-item.closed .time {
    font-weight: 600;
    color: var(--color-red);
}

.hours-item.today .day {
    font-weight: 700;
}

.hours-item.today .time {
    font-weight: 700;
    color: var(--color-secondary);
}

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-call i {
    font-size: 18px;
}

/* ===== Footer ===== */
.footer {
    background-color: #101828;
    padding: var(--section-spacing) var(--container-padding);
    width: 100%;
    flex-shrink: 0;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-sm);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-title {
    color: var(--color-border);
    font-size: var(--fs-h4);
    font-weight: 500;
    line-height: var(--lh-h4);
}

.footer-text {
    color: var(--color-tertiary);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.footer-text i {
    margin-right: 8px;
    font-size: 14px;
}

.footer-note {
    color: var(--color-tertiary);
    font-size: var(--fs-caption);
    font-weight: 300;
    line-height: var(--lh-body);
    letter-spacing: var(--ls-caption);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(221, 221, 222, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--color-tertiary);
    font-size: var(--fs-caption);
    font-weight: 300;
    letter-spacing: var(--ls-caption);
}

.copyright i {
    margin-right: 4px;
}

.footer-brands {
    display: flex;
    gap: 4px;
    align-items: center;
    color: var(--color-tertiary);
    font-size: var(--fs-body);
}

.footer-brands .separator {
    margin: 0 4px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1440px) {
    :root {
        --container-padding: 80px;
    }

    .bikes-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }

    .service-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .service-image {
        width: 100%;
        height: auto;
        aspect-ratio: 495 / 697;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-padding: 40px;
        --section-spacing: 80px;
        --fs-h1: 32px;
        --fs-h2: 24px;
    }

    .bikes-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-info {
        flex-direction: column;
        gap: 48px;
    }

    .info-column {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .map-container {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
        --section-spacing: 48px;
        --fs-h1: 32px;
        --fs-h2: 24px;
        --fs-h3: 18px;
        --fs-body: 15px;
        --gap-md: 32px;
        --gap-sm: 16px;
    }

    .header-content {
        padding: 16px 20px;
    }

    .logo-main {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 10px;
    }

    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .brands-section {
        padding: 48px 0;
    }

    .brands-container {
        padding: 0 20px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .brand-item {
        height: 40px;
    }

    .section-content {
        padding: 0 20px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .bikes-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-content: stretch;
    }

    .bike-card,
    .product-card {
        width: 100%;
        max-width: 100%;
    }

    .bike-image,
    .product-image {
        height: 200px;
    }

    .card-content {
        padding: 16px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-subtitle {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .btn-icon {
        width: 32px;
        height: 32px;
    }

    .service-section {
        padding: 48px 0;
    }

    .service-container {
        flex-direction: column;
        padding: 0;
    }

    .service-image {
        width: 100%;
        height: 250px;
    }

    .service-content {
        padding: 32px 20px;
    }

    .service-table-card {
        padding: 20px;
        overflow-x: auto;
    }

    .service-table table {
        font-size: 13px;
    }

    .service-table th,
    .service-table td {
        padding: 10px 8px;
    }

    .table-title {
        font-size: 18px;
    }

    .service-notes {
        font-size: 13px;
    }

    .service-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .location-section {
        padding: 48px 0;
    }

    .location-container {
        padding: 0 20px;
    }

    .map-container {
        height: 300px;
        margin-bottom: 32px;
    }

    .location-info {
        flex-direction: column;
        gap: 24px;
    }

    .info-column {
        width: 100%;
        max-width: 100%;
    }

    .info-group {
        gap: 12px;
    }

    .info-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .info-icon {
        font-size: 18px;
    }

    .info-title {
        font-size: 16px;
    }

    .info-text,
    .info-status {
        font-size: 14px;
    }

    .map-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-map,
    .btn-call {
        width: 100%;
        justify-content: center;
    }

    .hours-list {
        gap: 8px;
    }

    .hours-item {
        font-size: 14px;
    }

    .info-content {
        max-width: 100%;
    }

    .footer {
        padding: 48px 0 32px;
    }

    .footer-content {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-text {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-brands {
        flex-wrap: wrap;
        justify-content: center;
    }

    .divider {
        margin: 48px 0;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bike-card,
.product-card {
    animation: fadeIn 0.6s ease-out;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-full {
    width: 100%;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Post Common Styles ===== */
/* Container top margin to prevent overlap with fixed header */
.container.mt-4 {
    margin-top: 120px !important;
}

/* Blog Styles */
.blog-header {
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 30px;
    margin-bottom: 40px;
}
.blog-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}
.blog-meta {
    color: #6c757d;
    font-size: 1rem;
}
.blog-content {
    font-size: 1.1rem;
    line-height: 1.9;
    margin: 40px 0;
}
.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}
.blog-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}
.blog-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.blog-tags {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}
.tag-badge {
    background-color: #007bff;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 5px;
}
.blog-actions {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    margin-top: 40px;
}
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}
.related-post-item {
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}
.related-post-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
}
.related-post-title:hover {
    color: #007bff;
}
.blog-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}
.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.blog-excerpt {
    color: #6c757d;
    margin: 10px 0;
    line-height: 1.6;
}

/* Board Styles */
.post-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.post-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-list-title {
    margin-bottom: 10px;
}

.post-meta {
    color: #6c757d;
    font-size: 0.95rem;
}
.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 30px 0;
    min-height: 200px;
}
.post-actions {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 20px;
}
.post-list-item {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    transition: background-color 0.2s;
}
.post-list-item:hover {
    background-color: #f8f9fa;
}
.badge-notice {
    background-color: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-right: 5px;
}

/* Comment Section */
.comment-section {
    margin-top: 40px;
}
.comment-item {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
}
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.comment-author {
    font-weight: 600;
    color: #212529;
}
.comment-date {
    font-size: 0.85rem;
    color: #6c757d;
}
.comment-content {
    margin: 10px 0;
}
.comment-actions {
    font-size: 0.9rem;
}
.comment-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}
.like-button {
    cursor: pointer;
    transition: color 0.2s;
}
.like-button.active {
    color: #dc3545;
}

/* Page Styles */
.page-container {
    max-width: 900px;
    margin: 0 auto;
}
.page-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 40px;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
}
.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    padding: 20px 0;
}
.page-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
}
.page-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}
.page-content p {
    margin-bottom: 20px;
}
.page-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 5px;
}
.page-content ul, .page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}
.page-content li {
    margin-bottom: 10px;
}
.page-item {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
}
.status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}
.status-published {
    background-color: #28a745;
    color: white;
}
.status-draft {
    background-color: #ffc107;
    color: #212529;
}

/* Product Styles */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}
.product-brand {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 10px;
}
.product-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 20px;
}
.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin: 20px 0;
}
.product-image-section {
    background-color: #f8f9fa;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}
.product-features {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}
.feature-item {
    border-bottom: 1px solid #e9ecef;
    padding: 12px 0;
}
.feature-item:last-child {
    border-bottom: none;
}
.feature-label {
    font-weight: 600;
    color: #495057;
    width: 150px;
    display: inline-block;
}
.feature-value {
    color: #212529;
}
.related-products {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}
.related-product-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}
.related-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.product-image {
    width: 100%;
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}
.product-body {
    padding: 15px;
}
.product-list-view .product-grid {
    grid-template-columns: 1fr;
}
.product-list-item {
    display: flex;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.product-list-image {
    width: 150px;
    height: 150px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border-radius: 5px;
}
.product-list-info {
    flex: 1;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}
.required::after {
    content: "*";
    color: red;
    margin-left: 5px;
}
.help-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 5px;
}
#editor-container {
    min-height: 400px;
}

/* Search Form */
.search-form {
    margin-bottom: 20px;
}
.filter-section {
    margin-bottom: 20px;
}
.view-toggle {
    margin-bottom: 20px;
}