/* China Travel Section Specific Styles */

/* Page background and text colors */
body {
    background-color: #ffffff;
}

/* Main content text color */
.main-content {
    color: #000000;
}

/* Adjust section titles for better contrast */
.section-title {
    color: #000000;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: var(--spacing-sm);
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Header styling */
.header {
    background-color: #1c4f99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Navigation Enhancements */
.nav-link.current-page {
    background-color: rgba(255, 255, 255, 0.15);
    position: relative;
}

.nav-link.current-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 2px;
    background-color: var(--primary-blue);
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(46, 91, 186, 0.8);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    position: relative;
    transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
        z-index: 20;
    }
    
    .menu-toggle.visually-hidden {
        position: absolute;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
        clip-path: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--background-dark);
        padding: var(--spacing-xl) var(--spacing-md);
        transition: right 0.3s ease;
        z-index: 15;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle[aria-expanded="true"] + .nav-menu {
        right: 0;
    }
}

/* Hero Section */
.china-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    background-color: var(--background-dark);
    overflow: hidden;
}

.china-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/placeholders/4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.9); /* Increased brightness for better visibility */
    z-index: 1;
}

.china-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: var(--spacing-lg);
    text-align: center;
}

.china-hero-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.china-hero-quote p {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.china-hero-quote .tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light-gray);
    margin-top: var(--spacing-md);
}

.scroll-down-button {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all var(--transition-normal);
    z-index: 3;
    padding: var(--spacing-xs);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.scroll-down-button::before {
    content: 'Scroll Down';
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    position: absolute;
    top: -25px;
    white-space: nowrap;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.scroll-down-button:hover::before,
.scroll-down-button.hover::before,
.scroll-down-button:focus::before {
    opacity: 1;
    transform: translateY(0);
}

.scroll-down-button:hover,
.scroll-down-button.hover,
.scroll-down-button:focus {
    transform: translateX(-50%) translateY(-5px);
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(46, 91, 186, 0.4);
    outline: none;
    animation: none;
}

.scroll-down-button:active {
    transform: translateX(-50%) translateY(0);
    transition: all 0.1s ease;
    background-color: rgba(255, 255, 255, 0.4);
}

.scroll-icon {
    width: 40px;
    height: 40px;
    margin-top: var(--spacing-xs);
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Enhanced animation for hover state */
.scroll-down-button:hover .scroll-icon,
.scroll-down-button.hover .scroll-icon,
.scroll-down-button:focus .scroll-icon,
.scroll-down-button.active .scroll-icon {
    animation: bounce-hover 1s infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

@keyframes bounce-hover {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Active state for scroll button when clicked */
.scroll-down-button.active {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-50%) scale(0.95);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 40px rgba(46, 91, 186, 0.5);
}

/* Section visibility animation */
section {
    opacity: 0.8;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* China Highlights Section */
.highlights-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background-color: #ffffff;
    position: relative;
}

.highlights-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: #000000;
    text-align: left;
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    flex: 1;
}

.highlight-text h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.highlight-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 1px;
}

.highlight-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light-gray);
}

.highlight-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.highlight-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0));
    z-index: 1;
    pointer-events: none;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
    display: block;
}

.highlight-item:hover .highlight-image img {
    transform: scale(1.05);
}

/* Tour Packages Section */
.packages-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background-color: rgba(0, 0, 0, 0.2);
}

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-red));
    opacity: 0.7;
    transition: height var(--transition-normal);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
}

.package-card:hover::before {
    height: 7px;
    opacity: 1;
}

.package-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(46, 91, 186, 0.1);
    border-radius: 50%;
    padding: var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.package-card:hover .package-icon {
    transform: scale(1.1);
    background-color: rgba(46, 91, 186, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(46, 91, 186, 0.05);
}

.package-svg {
    width: 100%;
    height: 100%;
    color: var(--text-white);
    stroke: var(--primary-blue);
    stroke-width: 1.5;
    transition: all var(--transition-normal);
}

.package-card:hover .package-svg {
    stroke: var(--text-white);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.package-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-white);
    line-height: 1.3;
    transition: all var(--transition-normal);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.package-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width var(--transition-normal);
}

.package-card:hover .package-title::after {
    width: 60px;
}

.package-price {
    font-size: 1.2rem;
    color: var(--text-light-gray);
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-bold);
    transition: all var(--transition-normal);
}

.package-card:hover .package-price {
    color: var(--text-white);
    transform: translateY(-2px);
}

.package-group {
    font-size: 1rem;
    color: var(--text-light-gray);
    opacity: 0.8;
    transition: all var(--transition-normal);
}

.package-card:hover .package-group {
    opacity: 1;
}

/* Classic Pleasantness Slideshow */
.itinerary-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background-color: var(--background-dark);
}

.itinerary-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.itinerary-title {
    font-size: 2rem;
    color: var(--text-white);
}

.slideshow-container {
    position: relative;
    max-width: var(--container-max-width);
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    padding: var(--spacing-lg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active {
    display: block;
    position: relative;
    opacity: 1;
    z-index: 2;
}

/* Slide transition animations */
.slide-enter-next {
    display: block;
    transform: translateX(50px);
    opacity: 0;
    animation: slideInFromRight 0.5s forwards;
}

.slide-exit-next {
    animation: slideOutToLeft 0.5s forwards;
}

.slide-enter-prev {
    display: block;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInFromLeft 0.5s forwards;
}

.slide-exit-prev {
    animation: slideOutToRight 0.5s forwards;
}

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

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50px);
        opacity: 0;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.slide-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.slide-text {
    flex: 1;
}

.slide-note {
    font-style: italic;
    opacity: 0.8;
    margin-top: var(--spacing-sm);
}

.slide-image {
    flex: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.slideshow-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.2);
}

.prev-slide,
.next-slide {
    background-color: var(--primary-blue);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.prev-slide:hover,
.next-slide:hover {
    background-color: var(--accent-red);
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: var(--spacing-xs);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.indicator.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.scroll-indicator {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.scroll-indicator p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light-gray);
}

/* Responsive Styles - Mobile First Approach */

/* Base Mobile Styles (under 768px) */
/* These styles are already defined above as the default */

/* Additional Mobile-specific enhancements */
.china-hero-section {
    height: 90vh; /* Slightly shorter on mobile */
}

.china-hero-quote {
    width: 90%;
    max-width: 100%;
    padding: var(--spacing-md);
}

.china-hero-quote p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.china-hero-quote .tagline {
    font-size: 1rem;
}

/* Mobile highlights section */
.highlights-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.highlight-item {
    flex-direction: column;
    padding: var(--spacing-md);
}

.highlight-text h3 {
    font-size: 1.5rem;
}

.highlight-text p {
    font-size: 1rem;
}

.highlight-image img {
    min-height: 200px;
}

/* Mobile packages section */
.packages-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.package-card {
    max-width: 300px;
    margin: 0 auto;
}

.package-icon {
    width: 70px;
    height: 70px;
}

.package-title {
    font-size: 1.3rem;
}

.package-price {
    font-size: 1.1rem;
}

.package-group {
    font-size: 0.9rem;
}

/* Mobile slideshow */
.slide-content {
    flex-direction: column;
    gap: var(--spacing-md);
}

.itinerary-title {
    font-size: 1.5rem;
}

.slide-text h3 {
    font-size: 1.3rem;
}

.slide-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 200px;
    gap: 8px;
    margin: 0 auto;
}

.indicator {
    width: 10px;
    height: 10px;
    margin: 0 2px;
}

/* Improve touch targets for mobile */
.prev-slide,
.next-slide,
.indicator {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure proper spacing on small screens */
.slide {
    padding: var(--spacing-md);
}

/* Mobile footer adjustments */
.footer-container {
    flex-direction: column;
    text-align: center;
}

.footer-info {
    margin: var(--spacing-md) 0;
}

.footer-links {
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links li::after {
    display: none;
}

.back-to-top {
    position: fixed;
    right: var(--spacing-md);
    bottom: var(--spacing-md);
}

/* Accessibility enhancements for mobile */
.skip-link:focus {
    width: 100%;
    text-align: center;
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    /* Hero section tablet optimizations */
    .china-hero-section {
        height: 80vh;
    }
    
    .china-hero-quote {
        max-width: 600px;
        padding: var(--spacing-lg);
    }
    
    .china-hero-quote p {
        font-size: 1.5rem;
        line-height: 1.5;
    }
    
    .china-hero-quote .tagline {
        font-size: 1.2rem;
    }
    
    .scroll-down-button {
        bottom: var(--spacing-xl);
    }
    
    .scroll-icon {
        width: 45px;
        height: 45px;
    }
    
    /* Highlights section tablet optimizations */
    .highlights-section {
        padding: var(--spacing-xl) var(--spacing-xl);
    }
    
    .section-title {
        font-size: 2.8rem;
        margin-bottom: var(--spacing-xl);
    }
    
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .highlight-item {
        flex-direction: row;
        padding: var(--spacing-lg);
        align-items: center;
    }
    
    .highlight-item:nth-child(odd) .highlight-text {
        order: 1;
        padding-right: var(--spacing-md);
    }
    
    .highlight-item:nth-child(odd) .highlight-image {
        order: 2;
    }
    
    .highlight-item:nth-child(even) .highlight-text {
        order: 2;
        padding-left: var(--spacing-md);
    }
    
    .highlight-item:nth-child(even) .highlight-image {
        order: 1;
    }
    
    .highlight-text,
    .highlight-image {
        width: 50%;
    }
    
    .highlight-text h3 {
        font-size: 1.6rem;
    }
    
    .highlight-text p {
        font-size: 1.05rem;
    }
    
    .highlight-image img {
        min-height: 220px;
    }
    
    /* Tour packages tablet optimizations */
    .packages-section {
        padding: var(--spacing-xl) var(--spacing-xl);
    }
    
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
    
    .package-card {
        max-width: none;
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .package-icon {
        width: 75px;
        height: 75px;
    }
    
    .package-title {
        font-size: 1.4rem;
    }
    
    .package-price {
        font-size: 1.15rem;
    }
    
    .package-group {
        font-size: 0.95rem;
    }
    
    /* Slideshow tablet optimizations */
    .itinerary-section {
        padding: var(--spacing-xl) var(--spacing-xl);
    }
    
    .itinerary-title {
        font-size: 1.8rem;
    }
    
    .slide-content {
        flex-direction: row;
        gap: var(--spacing-lg);
        align-items: center;
    }
    
    .slide-text {
        flex: 1;
        padding-right: var(--spacing-md);
    }
    
    .slide-image {
        flex: 1;
    }
    
    .slide-text h3 {
        font-size: 1.5rem;
    }
    
    .slideshow-navigation {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .slide-indicators {
        max-width: none;
        gap: var(--spacing-xs);
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
    
    .prev-slide,
    .next-slide {
        width: 45px;
        height: 45px;
    }
    
    /* Footer tablet optimizations */
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-logo {
        flex: 1;
        text-align: left;
    }
    
    .footer-info {
        flex: 2;
        margin: 0;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .footer-links li:not(:last-child)::after {
        display: block;
    }
    
    .footer-certifications {
        flex: 1;
        text-align: right;
    }
    
    .back-to-top {
        position: absolute;
    }
    
    .back-to-top-link {
        width: 45px;
        height: 45px;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    /* Hero section desktop optimizations */
    .china-hero-section {
        height: 100vh;
    }
    
    .china-hero-quote {
        max-width: 800px;
        padding: var(--spacing-xl);
    }
    
    .china-hero-quote p {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .china-hero-quote .tagline {
        font-size: 1.5rem;
    }
    
    .scroll-down-button {
        bottom: var(--spacing-xxl);
    }
    
    .scroll-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Highlights section desktop optimizations */
    .highlights-section {
        padding: var(--spacing-xxl) var(--spacing-xxl);
    }
    
    .section-title {
        font-size: 3rem;
        margin-bottom: var(--spacing-xxl);
    }
    
    .highlights-grid {
        gap: var(--spacing-xxl);
    }
    
    .highlight-item {
        padding: var(--spacing-xl);
    }
    
    .highlight-item:nth-child(odd) .highlight-text {
        padding-right: var(--spacing-lg);
    }
    
    .highlight-item:nth-child(even) .highlight-text {
        padding-left: var(--spacing-lg);
    }
    
    .highlight-text h3 {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }
    
    .highlight-text p {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .highlight-image img {
        min-height: 300px;
    }
    
    /* Tour packages desktop optimizations */
    .packages-section {
        padding: var(--spacing-xxl) var(--spacing-xxl);
    }
    
    .packages-grid {
        gap: var(--spacing-xl);
    }
    
    .package-card {
        padding: var(--spacing-xl);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .package-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }
    
    .package-icon {
        width: 90px;
        height: 90px;
    }
    
    .package-title {
        font-size: 1.7rem;
    }
    
    .package-price {
        font-size: 1.3rem;
    }
    
    .package-group {
        font-size: 1.1rem;
    }
    
    /* Slideshow desktop optimizations */
    .itinerary-section {
        padding: var(--spacing-xxl) var(--spacing-xxl);
    }
    
    .itinerary-title {
        font-size: 2.2rem;
    }
    
    .slideshow-container {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .slide {
        padding: var(--spacing-xl);
    }
    
    .slide-content {
        gap: var(--spacing-xl);
    }
    
    .slide-text {
        padding-right: var(--spacing-lg);
    }
    
    .slide-text h3 {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-md);
    }
    
    .slide-text p {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .slideshow-navigation {
        padding: var(--spacing-md) var(--spacing-xl);
    }
    
    .indicator {
        width: 14px;
        height: 14px;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    .indicator:hover:not(.active) {
        transform: scale(1.2);
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .prev-slide,
    .next-slide {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Footer desktop optimizations */
    .footer-container {
        padding: var(--spacing-lg) var(--spacing-xxl);
    }
    
    .back-to-top-link {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top-link:hover {
        transform: translateY(-5px);
    }
}

/* Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: var(--container-max-width);
        margin: 0 auto;
    }
    
    .china-hero-quote {
        max-width: 900px;
    }
    
    .china-hero-quote p {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .highlight-text h3 {
        font-size: 2.2rem;
    }
    
    .highlight-text p {
        font-size: 1.3rem;
    }
    
    .package-card {
        padding: var(--spacing-xxl) var(--spacing-xl);
    }
    
    .package-icon {
        width: 100px;
        height: 100px;
    }
    
    .package-title {
        font-size: 1.9rem;
    }
    
    /* Enhanced animations for large screens */
    .highlight-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    
    .highlight-item:hover .highlight-image img {
        transform: scale(1.08);
    }
    
    /* Improved slideshow experience */
    .slide-content {
        gap: var(--spacing-xxl);
    }
    
    .slide-image {
        overflow: hidden;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .slide.active .slide-image {
        animation: slideIn 0.6s ease forwards;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0.7;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media (min-width: 1024px) {
    .china-hero-quote p {
        font-size: 2rem;
    }
    
    .china-hero-quote .tagline {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .highlight-text h3 {
        font-size: 2rem;
    }
    
    .highlight-text p {
        font-size: 1.2rem;
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-blue), var(--accent-red));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(46, 91, 186, 0.5);
}

/* Active state for navigation links */
.nav-link.active-section {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Itinerary Overview Section */
.itinerary-overview-section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.itinerary-overview-section .container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.itinerary-overview-section .section-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: left;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.overview-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.overview-content {
  width: 100%;
}

.overview-image {
  width: 100%;
}

.day-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.day-item {
  margin-bottom: 10px;
}

.day-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 0.5rem;
}

.day-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #000000;
  margin: 0;
}

.overview-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  max-width: 100%;
  transition: opacity 0.3s ease;
}

/* Mobile and tablet specific adjustments */
@media (max-width: 767px) {
  .overview-image {
    margin-top: 1rem;
  }
  
  .overview-image img {
    max-height: 300px;
    object-position: center;
  }
}

/* Desktop layout (768px and up) */
@media (min-width: 768px) {
  .overview-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 10%;
    justify-content: space-between;
  }
  
  .overview-content {
    width: 60%;
    flex: none;
  }
  
  .overview-image {
    width: 30%;
    flex: none;
  }
  
  .overview-image img {
    max-height: 400px;
    object-position: center;
  }
}
  position: relative;
}

.nav-link.active-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 2px;
  background-color: var(--accent-red);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.8);
}

/* Enhanced Footer Styles for China Travel Section */
.footer-container {
  position: relative;
  padding: var(--spacing-md) 0;
}

/* Footer Logo Styling */
.footer-logo {
  margin-bottom: var(--spacing-sm);
}

/* Footer Info Section */
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

/* Footer Navigation */
.footer-nav {
  margin: var(--spacing-sm) 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  padding: 0;
  margin: 0;
}

.footer-links li {
  position: relative;
}

.footer-links li:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: calc(-1 * var(--spacing-md) / 2);
  color: var(--text-light-gray);
  opacity: 0.5;
}

.footer-link {
  color: var(--text-light-gray);
  font-size: var(--font-size-footer);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.footer-link:hover {
  color: var(--text-white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-blue);
  transition: width var(--transition-normal);
}

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

/* Certification Badges Section */
.footer-certifications {
  margin-bottom: var(--spacing-md);
}

.certification-link {
  display: block;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.certification-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(46, 91, 186, 0.3);
}

/* Back to Top Button */
.back-to-top {
  position: absolute;
  right: var(--spacing-md);
  bottom: var(--spacing-md);
}

.back-to-top-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top-link:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.arrow-up {
  font-size: 1.2rem;
  line-height: 1;
}

.back-to-top-text {
  font-size: 0.6rem;
  display: none;
}

/* Responsive Footer Styles */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .footer-logo {
    margin-bottom: 0;
  }
  
  .footer-info {
    flex: 2;
    align-items: flex-start;
    margin-bottom: 0;
  }
  
  .footer-certifications {
    flex: 1;
    margin-bottom: 0;
  }
  
  .back-to-top {
    position: static;
  }
  
  .back-to-top-link {
    width: auto;
    height: auto;
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    flex-direction: row;
    gap: var(--spacing-xs);
  }
  
  .back-to-top-text {
    display: inline;
  }
}

/* Back to Top Button Visibility */
.back-to-top-link {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top-link.visible {
  opacity: 1;
  visibility: visible;
}/* 
New China Highlights Layout */
.new-highlights-layout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.new-highlight-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
  .new-highlight-item {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xl);
  }
  
  .highlight-text {
    flex: 1;
    padding-right: var(--spacing-lg);
  }
  
  .highlight-image {
    flex: 1;
  }
}

/* Update text color for highlights */
.highlight-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000000;
}

/* Remove box shadow and background from highlight items */
.new-highlight-item .highlight-image {
  box-shadow: none;
  border-radius: 0;
}

.new-highlight-item .highlight-image::before {
  display: none;
}/* New China
 Highlights Layout - Updated */
.new-highlights-layout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md); /* Reduced gap between items */
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.new-highlight-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md); /* Reduced gap between text and image */
  margin-bottom: var(--spacing-md); /* Reduced margin between items */
}

@media (min-width: 768px) {
  .new-highlight-item {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-lg); /* Reduced gap between text and image */
  }
  
  .highlight-text {
    flex: 3; /* Text takes more space */
    padding-right: var(--spacing-md);
  }
  
  .highlight-image {
    flex: 2; /* Image takes less space */
    max-width: 40%; /* Limit image width */
  }
}

/* Make images smaller */
.new-highlight-item .highlight-image img {
  max-height: 200px;
  min-height: auto;
}

/* Update all sections to have white background */
.china-hero-section,
.highlights-section,
.packages-section,
.itinerary-section,
.footer {
  background-color: #ffffff;
}

/* Update text colors for better contrast */
.china-hero-quote p,
.section-title,
.highlight-text p,
.package-title,
.package-price,
.package-group,
.itinerary-title,
.slide-text h3,
.slide-text p,
.slide-note,
.scroll-indicator p {
  color: #000000;
}

/* Update background colors for cards and containers */
.china-hero-quote,
.slideshow-container,
.package-card {
  background-color: #f8f8f8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Update navigation colors for better visibility on blue header */
.nav-link {
  color: #ffffff;
}

/* Add margin-top to main content to account for fixed header */
.main-content {
  margin-top: 80px;
}