/* ===================================
   Route1 Da Nang - Premium Motorcycle Rental
   Color Scheme: Red (#E31E24) + Cream (#E8D7A8) + Dark (#1F1F1F)
   =================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --color-primary-red: #E31E24;
    --color-primary-cream: #E8D7A8;
    --color-primary-dark: #1F1F1F;

    /* Secondary Colors */
    --color-secondary-light-bg: #FAF8F5;
    --color-secondary-gold: #D4AF6A;
    --color-secondary-gray: #757575;

    /* Accent Colors */
    --color-accent-red-hover: #C41A1F;
    --color-accent-cream-hover: #D4C299;

    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #0D0D0D;
    --color-card-bg: #FFFFFF;
    --color-border: #EBEBEB;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 60px 0;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header / Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link svg {
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-cream);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary-cream);
}

.nav-link:hover svg {
    stroke: var(--color-primary-cream);
}

.nav-icon svg {
    display: block;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 15px;
}

/* Hide mobile language selector on desktop */
.language-selector-mobile {
    display: none;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.language-btn:hover {
    border-color: var(--color-primary-cream);
    color: var(--color-primary-cream);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 12px 20px;
    color: var(--color-black);
    transition: var(--transition-smooth);
}

.language-option:hover {
    background-color: var(--color-secondary-light-bg);
    color: var(--color-primary-red);
}

.language-option.active {
    color: var(--color-primary-red);
    font-weight: 600;
}

/* Nav Dropdown for Tours */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 1000;
}

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

.nav-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-black);
    font-size: 14px;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.nav-dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.nav-dropdown-item:hover {
    background-color: var(--color-secondary-light-bg);
    color: var(--color-primary-red);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(31, 31, 31, 0.6), rgba(31, 31, 31, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 40px;
}

.hero-logo-img {
    height: 100px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    color: var(--color-white);
}

.hero-title-accent {
    color: var(--color-primary-cream);
    display: block;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-primary-cream), transparent);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background-color: var(--color-accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-accent-cream-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 215, 168, 0.3);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: var(--section-padding);
    margin-bottom: 8px;
}

section:nth-child(even) {
    background-color: var(--color-secondary-light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--color-primary-red);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 22px;
    color: var(--color-secondary-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===================================
   About Section
   =================================== */
.about {
    background-color: #000000;
    padding: 60px 0;
    margin-bottom: 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro-logo {
    margin-bottom: 30px;
}

.about-logo-img {
    height: 80px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 5px 20px rgba(255, 255, 255, 0.1));
}

.about-intro-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.about-intro-text {
    font-size: 20px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background-color: var(--color-white);
    padding: 60px 0;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.about-service-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.about-service-card:hover {
    border-color: var(--color-primary-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.1);
}

.about-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: var(--color-secondary-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-red);
    transition: var(--transition-smooth);
}

.about-service-card:hover .about-service-icon {
    background-color: var(--color-primary-red);
    color: var(--color-white);
}

.about-service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary-dark);
}

.about-service-text {
    font-size: 19px;
    line-height: 1.7;
    color: var(--color-secondary-gray);
}

/* ===================================
   Rental Section
   =================================== */
.rental {
    background-color: var(--color-white);
    padding: 0;
}

/* Rental Banner */
.rental-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin: 0;
    cursor: pointer;
}

.rental-banner picture,
.rental-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rental-banner:hover img {
    transform: scale(1.08);
}

.rental-banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 90%;
    max-width: 1000px;
}

.rental-banner:hover .rental-banner-overlay {
    transform: translate(-50%, -55%);
}

.banner-label {
    display: inline-block;
    color: var(--color-primary-red);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 30px;
    border-radius: 30px;
}

.banner-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.banner-description {
    font-size: 26px;
    color: var(--color-white);
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 300;
    margin-bottom: 40px;
}

.banner-category-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.banner-category-btn {
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-category-btn:hover {
    border-color: var(--color-primary-red);
    background-color: rgba(227, 30, 36, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.4);
}

.banner-category-btn.active {
    border-color: var(--color-primary-red);
    background-color: var(--color-primary-red);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.4);
}

.category-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 28px;
    border: 2px solid var(--color-border);
    background-color: transparent;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--color-secondary-gray);
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--color-primary-red);
    background-color: var(--color-primary-red);
    color: var(--color-white);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--color-secondary-gray);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--color-secondary-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-primary-red);
}

.breadcrumb-separator {
    color: var(--color-secondary-gray);
}

/* Rental Toolbar */
.rental-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.result-count {
    font-size: 16px;
    color: var(--color-secondary-gray);
}

.result-count span {
    font-weight: 700;
    color: var(--color-primary-dark);
}

.sort-select-wrapper {
    position: relative;
}

.sort-select {
    appearance: none;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 40px 10px 16px;
    font-size: 16px;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sort-select:hover {
    border-color: var(--color-primary-red);
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-primary-red);
}

.motorcycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.motorcycle-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    cursor: pointer;
    height: 450px;
}

.motorcycle-card:hover {
    box-shadow: 0 12px 40px rgba(227, 30, 36, 0.2);
}

.motorcycle-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--color-secondary-light-bg);
}

.motorcycle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.motorcycle-card:hover .motorcycle-card-image img {
    transform: scale(1.15);
}

.motorcycle-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.motorcycle-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.motorcycle-card:hover .motorcycle-card-content {
    transform: translateY(-15px);
}

.motorcycle-card-category {
    font-size: 13px;
    color: var(--color-primary-cream);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.motorcycle-card-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-white);
}

.motorcycle-card-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.motorcycle-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary-red);
}

.price-period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* ===================================
   Tours Video Section
   =================================== */
.tours-video-section,
.tuning-video-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0;
}

.tours-video-section {
}

.tuning-video-section {
}

.tours-video-bg,
.tuning-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.tours-video-content,
.tuning-video-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 60px 20px;
    width: 100%;
}

.video-section-text {
    max-width: 900px;
    margin: 0 auto;
}

.video-section-label {
    display: inline-block;
    color: var(--color-primary-cream);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.video-section-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.video-section-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.video-section-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Tours Detail Section
   =================================== */
.tours-detail,
.tuning-detail {
    background-color: var(--color-white);
    padding: 100px 0;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.tour-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tour-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.1);
}

.tour-card-duration {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(31, 31, 31, 0.9);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.tour-card-content {
    padding: 30px;
}

.tour-card-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary-dark);
}

.tour-card-description {
    font-size: 19px;
    color: var(--color-secondary-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tour-card-details {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.tour-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-secondary-gray);
}

.tour-detail svg {
    color: var(--color-primary-red);
}

.tour-card-cta {
    display: flex;
    gap: 15px;
}

.tour-card-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-secondary-gray);
}

.tour-meta-item svg {
    color: var(--color-primary-red);
}

/* Tour Detail Modal */
.tour-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

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

.tour-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.tour-modal-content {
    position: relative;
    background-color: var(--color-white);
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-modal-close {
    position: sticky;
    top: 20px;
    right: 20px;
    float: right;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tour-modal-close:hover {
    background-color: var(--color-primary-red);
    transform: rotate(90deg);
}

.tour-modal-close:hover svg {
    color: var(--color-white);
}

.tour-modal-body {
    padding: 40px;
}

.tour-detail-header {
    margin-bottom: 30px;
}

.tour-detail-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.tour-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
}

.tour-detail-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tour-detail-badge {
    background-color: var(--color-secondary-light-bg);
    color: var(--color-primary-red);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.tour-detail-content {
    margin-top: 30px;
}

.tour-detail-section {
    margin-bottom: 30px;
}

.tour-detail-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-red);
}

.tour-detail-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-secondary-gray);
}

.tour-detail-highlights {
    list-style: none;
    padding: 0;
}

.tour-detail-highlights li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    color: var(--color-secondary-gray);
}

.tour-detail-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary-red);
    font-weight: 700;
    font-size: 18px;
}

.tour-detail-route {
    background-color: var(--color-secondary-light-bg);
    padding: 20px;
    border-radius: 8px;
    font-size: 16px;
    color: var(--color-primary-dark);
    font-weight: 500;
}

.tour-detail-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tour-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .tour-modal-body {
        padding: 20px;
    }

    .tour-detail-image {
        height: 250px;
    }

    .tour-detail-title {
        font-size: 24px;
    }

    .tour-detail-section h3 {
        font-size: 18px;
    }
}

/* ===================================
   Lightbox Gallery
   =================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    animation: fadeIn 0.3s ease;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11001;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-smooth);
    z-index: 11002;
}

.lightbox-close:hover {
    color: var(--color-primary-red);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    cursor: pointer;
    padding: 15px;
    transition: var(--transition-smooth);
    border-radius: 50%;
    z-index: 11002;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary-red);
    border-color: var(--color-primary-red);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: -40px;
    }
}

/* ===================================
   Tuning Section
   =================================== */
.tuning {
    background-color: var(--color-white);
}

.tuning-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tuning-category {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--color-secondary-light-bg);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.tuning-category:hover {
    background-color: var(--color-primary-red);
    color: var(--color-white);
    transform: translateY(-5px);
}

.tuning-category:hover .tuning-category-icon {
    color: var(--color-white);
}

.tuning-category-icon {
    color: var(--color-primary-red);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.tuning-category-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tuning-category-text {
    font-size: 14px;
    color: var(--color-secondary-gray);
}

.tuning-category:hover .tuning-category-text {
    color: rgba(255, 255, 255, 0.9);
}

.tuning-gallery {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.tuning-model-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tuning-model-heading {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #000000;
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-primary-red);
}

.tuning-model-gallery {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.tuning-model-gallery::-webkit-scrollbar {
    height: 8px;
}

.tuning-model-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.tuning-model-gallery::-webkit-scrollbar-thumb {
    background: var(--color-primary-red);
    border-radius: 4px;
}

.tuning-model-gallery::-webkit-scrollbar-thumb:hover {
    background: #ff0000;
}

.tuning-item {
    position: relative;
    flex-shrink: 0;
    width: 350px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.tuning-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tuning-item:hover img {
    transform: scale(1.1);
}

.tuning-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 31, 31, 0.9), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.tuning-item:hover .tuning-item-overlay {
    opacity: 1;
}

.tuning-item-title {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background-color: var(--color-secondary-light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-secondary-gray);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
}

.contact-method-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.contact-method-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.contact-method-value {
    display: block;
    font-size: 15px;
    color: var(--color-secondary-gray);
    margin-bottom: 5px;
}

.contact-method-value:hover {
    color: var(--color-primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--color-primary-red);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary-red);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-cream);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-primary-cream);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary-red);
}

.footer-contact-item div {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.footer-contact-item a:hover {
    color: var(--color-primary-cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a:hover {
    color: var(--color-primary-cream);
}

.footer-social-links {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-social-links a:hover {
    color: var(--color-primary-red);
}

.footer-social-links svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   Contact Page
   =================================== */
.contact-page {
    background-color: #F5F5F0;
    min-height: 100vh;
}

/* Contact Info Grid - Top Section */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-box {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-icon-box {
    margin-bottom: 20px;
}

.contact-icon-box svg {
    color: var(--color-primary-red);
}

.contact-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 15px;
}

.contact-box p {
    font-size: 15px;
    color: var(--color-black);
    line-height: 1.8;
}

.contact-box a {
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-box a:hover {
    color: var(--color-primary-red);
}

/* Messaging Apps Section */
.messaging-apps-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.messaging-app-box {
    text-align: center;
}

.app-icon {
    margin-bottom: 20px;
}

.app-icon img {
    width: 60px;
    height: auto;
}

.messaging-app-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 30px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.qr-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qr-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.qr-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 8px;
}

.qr-item p {
    font-size: 14px;
}

.qr-item a {
    color: var(--color-primary-red);
    text-decoration: none;
    font-weight: 500;
}

.qr-item a:hover {
    text-decoration: underline;
}

.social-media-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-media-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-black);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-media-link:hover {
    color: var(--color-primary-red);
}

.social-media-link svg {
    flex-shrink: 0;
}

/* Mobile Responsive Styles for Contact Page */
@media (max-width: 768px) {
    .contact-page {
        text-align: center;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-box {
        padding: 30px 20px;
        text-align: center;
    }

    .messaging-apps-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .messaging-app-box {
        text-align: center;
    }

    .qr-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .qr-item {
        text-align: center;
    }

    .qr-item img {
        max-width: 200px;
        margin: 0 auto;
    }

    .app-icon {
        display: flex;
        justify-content: center;
    }

    .app-icon img {
        width: 50px;
    }
}

/* ===================================
   Instagram Gallery Section
   =================================== */
.instagram-gallery {
    padding: 0;
    margin-bottom: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 200px;
    gap: 8px;
    margin: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Different sized items */
.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

/* Social Media Icons in Center */
.gallery-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--color-primary-dark);
    position: relative;
    padding: 20px;
}

.gallery-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-social a:hover {
    transform: scale(1.2);
}

.gallery-social svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-item-tall,
    .gallery-item-wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   Motorcycle Detail Modal
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    margin: 5vh auto;
    background-color: var(--color-white);
    border-radius: 20px;
    overflow-y: auto;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    transform: rotate(90deg);
    background-color: var(--color-accent-red-hover);
}

.modal-body {
    padding: 40px;
}

.modal-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.modal-main-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
}

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

.modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.modal-thumbnail {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.modal-thumbnail:hover {
    border-color: var(--color-primary-red);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.modal-details h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-primary-dark);
}

.modal-brand {
    font-size: 16px;
    color: var(--color-primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-secondary-gray);
    margin-bottom: 30px;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    padding: 20px;
    background-color: var(--color-secondary-light-bg);
    border-radius: 12px;
}

.spec-label {
    font-size: 14px;
    color: var(--color-secondary-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.spec-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.modal-booking {
    position: sticky;
    top: 20px;
    background-color: var(--color-secondary-light-bg);
    padding: 30px;
    border-radius: 16px;
    height: fit-content;
}

.modal-price {
    text-align: center;
    margin-bottom: 25px;
}

.modal-price-label {
    font-size: 14px;
    color: var(--color-secondary-gray);
    margin-bottom: 5px;
}

.modal-price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary-red);
}

.modal-price-period {
    font-size: 18px;
    color: var(--color-secondary-gray);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form input,
.booking-form select {
    padding: 15px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--color-primary-red);
}

.booking-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.booking-btn:hover {
    background-color: var(--color-accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
}

.back-to-top:hover {
    background-color: var(--color-accent-red-hover);
    transform: translateY(-3px);
}

/* ===================================
   Route1 Korea Style Modal
   =================================== */
.route1-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Left Column - Gallery */
.route1-gallery-col {
    position: relative;
}

.route1-main-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: var(--color-secondary-light-bg);
}

.route1-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.route1-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.route1-thumbnail {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    background-color: var(--color-secondary-light-bg);
}

.route1-thumbnail.active {
    border-color: var(--color-primary-red);
}

.route1-thumbnail:hover {
    opacity: 0.8;
}

.route1-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Right Column - Info */
.route1-info-col {
    padding-left: 20px;
}

.route1-product-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.route1-divider {
    width: 50px;
    height: 2px;
    background-color: var(--color-primary-red);
    margin-bottom: 25px;
}

.route1-specs {
    margin-bottom: 30px;
}

.route1-specs p {
    font-size: 15px;
    color: var(--color-secondary-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.route1-rent-options {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.route1-rent-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--color-border);
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.route1-rent-btn.active,
.route1-rent-btn:hover {
    border-color: var(--color-primary-red);
    background-color: var(--color-primary-red);
    color: var(--color-white);
}

.route1-price {
    margin-bottom: 25px;
}

.route1-price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.route1-contact-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.3);
}

.route1-contact-btn:hover {
    background-color: var(--color-accent-red-hover);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .route1-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .route1-info-col {
        padding-left: 0;
    }

    .route1-product-title {
        font-size: 28px;
    }

    .route1-price-amount {
        font-size: 34px;
    }
}

/* ===================================
   Fullscreen Image Gallery Modal
   =================================== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
}

.gallery-modal.active {
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 20003;
}

.gallery-close:hover {
    background-color: var(--color-primary-red);
    border-color: var(--color-primary-red);
    transform: rotate(90deg);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 20002;
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background-color: var(--color-primary-red);
    border-color: var(--color-primary-red);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev:active,
.gallery-next:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-image-container {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.gallery-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    z-index: 20002;
}

/* Mobile Gallery Controls */
@media (max-width: 768px) {
    .gallery-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .gallery-prev,
    .gallery-next {
        width: 50px;
        height: 50px;
    }

    .gallery-prev {
        left: 15px;
    }

    .gallery-next {
        right: 15px;
    }

    .gallery-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 10px 20px;
    }

    .gallery-image-container {
        max-width: 95%;
        max-height: 80vh;
    }

    .gallery-image-container img {
        max-height: 80vh;
    }
}

/* ===================================
   Loading State
   =================================== */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-secondary-gray);
    font-size: 18px;
}

/* ===================================
   Navigation Social Links (Desktop - Hidden)
   =================================== */
.nav-social-links {
    display: none;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

@media (max-width: 768px) {
    /* Banner Mobile Styles */
    .rental-banner {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
        margin: 0;
    }

    .banner-label {
        font-size: 14px;
        padding: 8px 20px;
        letter-spacing: 2px;
    }

    .banner-title {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .banner-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .banner-category-filter {
        gap: 10px;
        margin-top: 30px;
    }

    .banner-category-btn {
        font-size: 15px;
        padding: 10px 20px;
    }

    /* Rental Page Mobile Styles */
    .rental-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .result-count {
        text-align: center;
    }

    .sort-select {
        width: 100%;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .nav {
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        height: 35px;
    }

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

    /* Mobile menu list */
    .nav-list {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }

    /* Hide desktop language selector from menu on mobile */
    .nav-item-language {
        display: none !important;
    }

    /* Show mobile language selector in header */
    .language-selector-mobile {
        display: block;
        z-index: 1001;
        margin-left: 10px;
    }

    /* Mobile language button styling */
    .language-selector-mobile .language-btn {
        padding: 6px 12px;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .language-selector-mobile .language-btn span {
        display: none;
    }

    /* Mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-primary-dark);
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        padding: 30px 0 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: auto;
    }

    .nav-social-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 12px;
        transition: var(--transition-smooth);
    }

    .nav-social-link:hover {
        color: var(--color-primary-red);
    }

    .nav-social-link svg {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-logo-img {
        height: 70px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 1.7;
    }

    .section-title {
        font-size: 42px;
    }

    .about-logo-img {
        height: 60px;
    }

    .about-intro-title {
        font-size: 32px;
    }

    .about-intro-text {
        font-size: 18px;
        line-height: 1.8;
    }

    .about-services {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-section-title {
        font-size: 36px;
    }

    .video-section-description {
        font-size: 16px;
    }

    .video-section-buttons {
        flex-direction: column;
    }

    .video-section-buttons .btn {
        width: 100%;
    }

    .motorcycle-grid,
    .tours-grid {
        grid-template-columns: 1fr;
    }

    .tuning-model-heading {
        font-size: 24px;
    }

    .tuning-item {
        width: 280px;
        height: 280px;
    }

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

    .footer-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col:first-child {
        text-align: center;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        display: inline-block;
        width: 48%;
        vertical-align: top;
    }

    .footer-col:nth-child(2) {
        margin-right: 4%;
    }

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

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
    }

    .category-filter {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* EagleRider Style Filter */
.eaglerider-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--color-secondary-light-bg);
    border-radius: 12px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    appearance: none;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 16px;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-select:hover {
    border-color: var(--color-primary-red);
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

/* Mobile Filter Modal */
.mobile-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.mobile-filter-modal.active {
    display: block;
}

.mobile-filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.mobile-filter-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background-color: var(--color-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-filter-modal.active .mobile-filter-panel {
    right: 0;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.mobile-filter-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0;
}

.mobile-filter-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary-dark);
    transition: var(--transition-smooth);
}

.mobile-filter-close:hover {
    color: var(--color-primary-red);
}

.mobile-filter-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.mobile-filter-group {
    margin-bottom: 25px;
}

.mobile-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary-gray);
    margin-bottom: 10px;
}

.mobile-filter-select {
    width: 100%;
    appearance: none;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px 40px 14px 16px;
    font-size: 16px;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.mobile-filter-select:focus {
    outline: none;
    border-color: var(--color-primary-red);
}

.mobile-filter-footer {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid var(--color-border);
}

.mobile-filter-clear {
    flex: 1;
    padding: 16px;
    background-color: transparent;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-filter-clear:hover {
    border-color: var(--color-primary-dark);
}

.mobile-filter-apply {
    flex: 1;
    padding: 16px;
    background-color: var(--color-primary-red);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-filter-apply:hover {
    background-color: var(--color-accent-red-hover);
}

/* Mobile Filter Trigger Button */
.mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-filter-trigger:hover {
    border-color: var(--color-primary-red);
    color: var(--color-primary-red);
}

.mobile-filter-trigger svg {
    stroke: currentColor;
}

@media (max-width: 768px) {
    /* Hide desktop filters on mobile */
    .category-filter {
        display: none;
    }

    /* Hide EagleRider desktop filter on mobile */
    .eaglerider-filter {
        display: none;
    }

    /* Show mobile filter trigger button */
    .mobile-filter-trigger {
        display: flex;
    }

    .rental-toolbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
/* =========================================
   [복구] 렌탈 페이지 카드 디자인
   ========================================= */
.motorcycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #fff; /* 흰색 배경 강제 */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #E31B23;
}

.p-img-box {
    width: 100%;
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.p-img-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.p-info { padding: 20px; }

.p-meta {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.p-name {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 5px;
}

.price-daily { color: #E31B23; font-weight: 800; font-size: 16px; }
.price-monthly { color: #16a34a; font-weight: 600; font-size: 13px; }
/* =======================================================
   [필수 추가] 자바스크립트로 생성되는 상품 카드 스타일
   ======================================================= */
.motorcycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #E31B23;
}

.p-img-box {
    width: 100%;
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.p-img-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .p-img-box img {
    transform: scale(1.05);
}

.p-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-meta {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.p-name {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 5px;
}

.price-daily { color: #E31B23; font-weight: 800; font-size: 16px; }
.price-monthly { color: #16a34a; font-weight: 600; font-size: 13px; }

@media (max-width: 768px) {
    .motorcycle-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================================
   [투어 페이지 전용 팝업/갤러리 작동 코드] 
   이 코드가 없으면 X 버튼이나 팝업이 작동하지 않습니다.
   ======================================================= */
#tour-modal.active { display: flex !important; }
#tour-lightbox.active { display: flex !important; }
#tour-modal-close { cursor: pointer; z-index: 99999; }
#tour-lightbox-close { cursor: pointer; z-index: 99999; }

/* [신규] 배기량별 섹션 헤더 디자인 */
.section-header {
    width: 100%;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #E31B23; /* 브랜드 컬러 */
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-subtitle {
    font-size: 14px;
    color: #64748b;
    font-weight: normal;
}

/* [신규] 50cc 면허 불필요 뱃지 (우측 상단) */
.motorcycle-card {
    position: relative; /* 뱃지 위치 기준점 */
    overflow: hidden;
}
.license-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #16a34a; /* 초록색 (긍정적 의미) */
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* =========================================
   TOUR PAGE FINAL FIXES (Standard CSS)
   ========================================= */

/* 1. 탭 & 그리드 중앙 정렬 Fix */
.view-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 40px 0;
}

.v-tab {
    padding: 12px 24px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v-tab.active {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.month-section {
    width: 100%;
    margin-bottom: 50px;
}

.month-header {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #ffd700;
    color: #111;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* [핵심] 왼쪽 쏠림 해결을 위한 그리드 */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* 카드가 적을 때 중앙 정렬 */
    justify-content: center; 
}

/* 2. 카드 디자인 */
.tour-card.compact {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card.compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.tour-card-image {
    position: relative;
    padding-top: 60%; /* 16:9 비율 */
    overflow: hidden;
    cursor: pointer;
}

.tour-card-image img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card.compact:hover .tour-card-image img { transform: scale(1.1); }

.tour-overlay-btn {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); opacity: 0;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.tour-card.compact:hover .tour-overlay-btn { opacity: 1; }
.tour-overlay-btn span {
    background: #fff; color: #111; padding: 10px 20px;
    border-radius: 30px; font-weight: bold; font-size: 14px;
}

.tour-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 10px;
}
.tour-card-title { font-size: 18px; font-weight: 700; color: #111; margin: 0; line-height: 1.4; }
.tour-price { font-size: 16px; font-weight: 700; color: #d32f2f; white-space: nowrap; margin-left: 10px; }

/* 3. 내장 스케줄 리스트 */
.tour-schedule-container {
    margin-top: auto;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #eee;
}
.sch-header { font-size: 13px; font-weight: 600; color: #888; margin-bottom: 8px; }
.card-schedule-list { display: flex; flex-direction: column; gap: 8px; }
.card-no-schedule { text-align: center; color: #888; font-size: 13px; padding: 10px; }

.sch-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; padding-bottom: 6px; border-bottom: 1px solid #e9ecef;
}
.sch-row:last-child { border-bottom: none; padding-bottom: 0; }
.sch-date { font-weight: 600; color: #333; }
.sch-meta { display: flex; gap: 6px; align-items: center; }
.sch-badge { font-size: 11px; padding: 2px 6px; border-radius: 4px; color: #fff; font-weight: 500; }
.sch-badge.recruiting { background: #2196F3; }
.sch-badge.confirmed { background: #4CAF50; }
.sch-badge.closed { background: #9E9E9E; }
.sch-badge.full { background: #FF9800; }
.sch-btn {
    padding: 4px 10px; background: #111; color: #fff; border: none;
    border-radius: 4px; font-size: 12px; cursor: pointer;
}
.sch-btn:hover { background: #333; }
.sch-btn[disabled] { background: #ccc; cursor: default; }

/* 4. [중요] 모달 스크롤 잘림 해결을 위한 구조 */
.custom-modal {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; z-index: 10000;
}
.custom-modal.active { display: flex; justify-content: center; align-items: center; }
.custom-modal-overlay {
    position: absolute; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 1;
}

.custom-modal-content {
    position: relative; z-index: 2; background: #fff;
    width: 90%; max-width: 1200px;
    height: 90vh; /* 높이 고정 */
    border-radius: 12px; overflow: hidden;
    /* Flex Column 필수 */
    display: flex; flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-close-btn {
    position: absolute; top: 15px; right: 15px; z-index: 100;
    background: rgba(0,0,0,0.5); color: white; border: none;
    width: 36px; height: 36px; border-radius: 50%; font-size: 24px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* 핵심: Flex 1로 남은 공간 차지 & min-height 0으로 오버플로우 방지 */
.modal-body-layout {
    display: flex;
    flex: 1; 
    min-height: 0; 
    width: 100%;
}

/* 왼쪽: 갤러리 */
.modal-left {
    width: 60%; background: #000;
    display: flex; flex-direction: column;
}
.gallery-main-view {
    flex: 1; position: relative; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.gallery-main-view img, .gallery-main-view iframe {
    max-width: 100%; max-height: 100%; object-fit: contain;
}
.nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.3); color: #fff; border: none; padding: 15px;
    font-size: 24px; cursor: pointer; z-index: 10;
}
.nav-btn.prev { left: 0; } .nav-btn.next { right: 0; }
.gallery-strip-wrapper { height: 100px; background: #111; padding: 10px; border-top: 1px solid #333; }
.gallery-thumbnails { display: flex; gap: 10px; height: 100%; overflow-x: auto; }
.thumb-item {
    flex: 0 0 140px; height: 100%; opacity: 0.5; cursor: pointer;
    border: 2px solid transparent; transition: all 0.2s;
}
.thumb-item.active { opacity: 1; border-color: #ffd700; }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* 오른쪽: 상세 정보 (독립 스크롤) */
.modal-right {
    width: 40%; background: #fff;
    display: flex; flex-direction: column;
    /* 스크롤 핵심 설정 */
    overflow-y: auto; 
    height: 100%;
}
.modal-scroll-content { padding: 40px; }

#modal-title {
    font-size: 28px; font-weight: 800; margin-top: 0; margin-bottom: 10px;
    color: #111; border-bottom: 2px solid #ffd700; padding-bottom: 15px;
}
.modal-meta-info { font-size: 16px; color: #555; font-weight: 600; margin-bottom: 20px; }
.modal-description { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 40px; white-space: pre-line; }
.modal-section h4 {
    font-size: 18px; font-weight: 800; margin-bottom: 20px;
    border-left: 4px solid #111; padding-left: 10px; color: #111;
}
.itinerary-row {
    display: flex; margin-bottom: 20px; border-left: 2px solid #e0e0e0;
    padding-left: 20px; position: relative;
}
.itinerary-row::before {
    content: ''; position: absolute; left: -6px; top: 0; width: 10px; height: 10px;
    background: #ffd700; border-radius: 50%;
}
.day-label { width: 70px; font-weight: 800; color: #d32f2f; flex-shrink: 0; }
.day-content strong { display: block; font-size: 16px; margin-bottom: 5px; color: #111; }
.day-content p { font-size: 14px; color: #666; margin: 0; line-height: 1.5; }
.highlight-list li { margin-bottom: 8px; line-height: 1.5; }

/* 5. 모바일 반응형 (상하 분리 구조) */
@media (max-width: 900px) {
    .modal-body-layout {
        flex-direction: column;
        overflow: hidden; /* 모바일에서도 전체가 아니라 내부에서 스크롤 */
    }

    .modal-left {
        width: 100%;
        /* 모바일 사진 영역 높이 고정 */
        height: 35vh; 
        flex: none; /* 크기 고정 */
    }

    .modal-right {
        width: 100%;
        /* 남은 공간 모두 사용 */
        flex: 1; 
        height: auto;
        overflow-y: auto; /* 하단 설명 영역만 스크롤 */
    }

    .modal-scroll-content { padding: 20px; }
    #modal-title { font-size: 22px; }
    
    .compact-grid {
        justify-content: center; /* 모바일에서도 카드 중앙 정렬 */
    }
}