@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Color variables */
    --cream: #FAF8F3;
    --graphite: #2C2C2C;
    --warm-gray: #8B8B8B;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --black: #000000;
    
    /* Font family variables */
    --font-serif: 'Cormorant Garamond', serif;
    --font-display: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Font weight variables */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Typography scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;
    --text-9xl: 8rem;
}

body {
    font-family: var(--font-serif);
    background-color: var(--cream);
    color: var(--graphite);
    scroll-behavior: smooth;
    font-size: var(--text-base);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
}

input, textarea, label, button {
    font-family: var(--font-sans);
}

/* Typography classes for consistent styling */
.text-serif {
    font-family: var(--font-serif);
}

.text-display {
    font-family: var(--font-display);
}

.text-sans {
    font-family: var(--font-sans);
}

.font-light {
    font-weight: var(--font-weight-light);
}

.font-regular {
    font-weight: var(--font-weight-regular);
}

.font-medium {
    font-weight: var(--font-weight-medium);
}

.font-semibold {
    font-weight: var(--font-weight-semibold);
}

.font-bold {
    font-weight: var(--font-weight-bold);
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }
.text-7xl { font-size: var(--text-7xl); }
.text-8xl { font-size: var(--text-8xl); }
.text-9xl { font-size: var(--text-9xl); }

.nav-link {
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #D4AF37;
}

.nav-link.active {
    color: #D4AF37;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #D4AF37;
    border-radius: 1px;
}

.mobile-menu-link.active {
    background: rgba(212, 175, 55, 0.3);
    border-left: 3px solid #D4AF37;
    padding-left: calc(2rem - 3px);
}

.gallery-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.section {
    min-height: 100vh;
    padding: 100px 20px;
    position: relative;
}

.section:nth-child(even) {
    background: var(--cream);
}

.section:nth-child(odd) {
    background: white;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, #F5F2EB 100%);
    position: relative;
}

.btn-primary {
    background-color: var(--graphite);
    color: var(--cream);
    padding: 12px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #D4AF37;
    color: var(--graphite);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--graphite);
    padding: 12px 32px;
    border: 2px solid var(--graphite);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--graphite);
    color: var(--cream);
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
}

nav .max-w-7xl {
    transition: all 0.3s ease;
}

/* Fullscreen mobile menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.mobile-menu-link {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    margin: 0.5rem 0;
    border-radius: 8px;
}

.mobile-menu-overlay.active .mobile-menu-link {
    animation: slideInUp 0.5s ease forwards;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(5) { animation-delay: 0.5s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(6) { animation-delay: 0.6s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(7) { animation-delay: 0.7s; }

.mobile-menu-link:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(10px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Video background with parallax */
.video-background {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 248, 243, 0.9) 0%, rgba(245, 242, 235, 0.85) 100%);
    z-index: 0;
}

/* Section dividers */
.section-divider {
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.section-divider-white {
    background: linear-gradient(to bottom, transparent, white);
}

.section-divider-gray {
    background: linear-gradient(to bottom, transparent, #f9fafb);
}

/* Parallax effect */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Gallery modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

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

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.3s;
}

.gallery-modal img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 1001;
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Language switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 8px;
    min-width: 120px;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--graphite);
    text-decoration: none;
    transition: background 0.2s;
}

.lang-dropdown a:hover {
    background: var(--cream);
}

.lang-dropdown a.active {
    background: var(--gold);
    color: white;
}

.lang-btn-mobile.active {
    background: var(--gold);
    color: var(--graphite);
    border-color: var(--gold);
    font-weight: 600;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--graphite);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 20px;
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover {
    background: var(--graphite);
    color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Reviews carousel styles */
.review-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.review-carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 20px 0;
}

.review-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    width: 100%;
    min-width: 300px;
    max-width: 500px;
}

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

.review-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.review-stars i {
    transition: transform 0.2s ease;
}

.review-card:hover .review-stars i {
    transform: scale(1.1);
}

.review-text {
    font-style: italic;
    line-height: 1.8;
    color: #4b5563;
    position: relative;
    padding-left: 1rem;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: -1rem;
    top: -0.5rem;
    font-size: 3rem;
    color: #D4AF37;
    opacity: 0.3;
    font-family: serif;
}

.review-author-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.review-author-role {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Ensure carousel track has proper width calculation */
.review-carousel-track {
    width: max-content;
}

/* Fix for carousel navigation buttons */
.carousel-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.carousel-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Carousel indicators styling */
.carousel-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.indicator-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #D4AF37;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
}

.indicator-btn:hover {
    transform: scale(1.2);
}

.indicator-btn.bg-yellow-400 {
    background: #D4AF37;
}

/* Responsive adjustments for reviews carousel */
@media (max-width: 768px) {
    .review-carousel-track {
        gap: 16px;
        padding: 10px 0;
    }
    
    .review-card {
        min-width: 280px;
        max-width: 100%;
    }
    
    .review-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .review-author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 260px;
    }
    
    .review-carousel-track {
        gap: 12px;
    }
}

/* Enhanced Carousel controls */
.carousel-btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateX(0);
    position: absolute;
    top: 50%;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid #D4AF37;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-btn:hover:not(:disabled) {
    transform: translateX(0) scale(1.1);
    background: #D4AF37;
    color: #1a1a1a;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateX(0);
}

.carousel-btn:disabled:hover {
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.95);
    color: #666;
}

.carousel-btn.prev-btn {
    left: -60px;
}

.carousel-btn.next-btn {
    right: -60px;
}

.carousel-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.carousel-btn:hover i {
    transform: translateX(0);
}

.carousel-btn.prev-btn:hover i {
    transform: translateX(-2px);
}

.carousel-btn.next-btn:hover i {
    transform: translateX(2px);
}

/* Enhanced Carousel indicators */
.carousel-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.indicator-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.indicator-btn:hover {
    background: #D4AF37;
    transform: scale(1.2);
}

.indicator-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.indicator-btn.active {
    background: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.indicator-btn::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.indicator-btn:hover::after {
    border-color: rgba(212, 175, 55, 0.5);
}

/* Enhanced review cards */
.review-card {
    position: relative;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity, box-shadow;
    border: none;
    border-left: 4px solid #D4AF37;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-left-color: #FFD700;
}

.review-card .review-author-avatar {
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.review-card:hover .review-author-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

.review-card .review-stars {
    transition: all 0.4s ease;
}

.review-card:hover .review-stars i {
    transform: scale(1.1) translateY(-2px);
    text-shadow: 0 4px 8px rgba(212, 175, 55, 0.5);
}

.review-card .review-text {
    position: relative;
    transition: all 0.4s ease;
}

.review-card:hover .review-text {
    transform: translateX(8px);
}

/* Enhanced carousel container */
.review-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin: 0 auto;
    max-width: 900px;
}

.review-carousel-track {
    display: flex;
    gap: 0; /* Remove gap between cards */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    width: 100%; /* Ensure track takes full width */
}

.review-carousel-track:active {
    cursor: grabbing;
}

.review-carousel-track.dragging {
    cursor: grabbing;
}

/* Single review per slide - ensure each card takes full container width */
.review-carousel-track .review-card {
    flex: 0 0 100%; /* Each card takes 100% of container width */
    max-width: none; /* Override any max-width */
    margin: 0; /* Remove any margins */
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideNext {
    from {
        transform: translateX(-100%);
        opacity: 0.3;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slidePrev {
    from {
        transform: translateX(100%);
        opacity: 0.3;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced responsive styles */
@media (max-width: 1024px) {
    .review-carousel-container {
        padding: 20px;
    }
    
    .review-card {
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    .review-carousel-container {
        padding: 16px;
        margin: 0 16px;
    }
    
    .review-carousel-track {
        gap: 16px;
    }
    
    .review-card {
        min-width: 280px;
        padding: 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: -50px !important;
        right: -50px !important;
    }
}

@media (max-width: 480px) {
    .review-carousel-container {
        padding: 12px;
        margin: 0 12px;
    }
    
    .review-card {
        min-width: 260px;
        padding: 16px;
    }
    
    .review-carousel-track {
        gap: 12px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        left: -45px !important;
        right: -45px !important;
    }
    
    .carousel-indicators {
        padding: 8px;
        gap: 8px;
    }
    
    .indicator-btn {
        width: 10px;
        height: 10px;
    }
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        width: 56px;
        height: 56px;
        left: -66px !important;
        right: -66px !important;
    }
    
    .review-card {
        min-width: 300px;
    }
}

/* Accessibility improvements */
.review-carousel-container:focus-within {
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
    border-color: #D4AF37;
}

/* Loading states */
.review-carousel-track.loading {
    opacity: 0.5;
    pointer-events: none;
}

.review-carousel-track.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Performance optimizations */
.review-carousel-track {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.review-card {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Page Preloader */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Service Worker Update Notification */
.update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.95);
    color: #2C2C2C;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.3s ease;
}

.update-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.update-btn {
    background: #2C2C2C;
    color: #D4AF37;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.update-btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

.update-close {
    background: transparent;
    color: #2C2C2C;
    border: 1px solid #2C2C2C;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.update-close:hover {
    background: #2C2C2C;
    color: #D4AF37;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Offline Status Indicator */
.offline-indicator {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(44, 44, 44, 0.9);
    color: #D4AF37;
    padding: 10px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    animation: fadeIn 0.3s ease;
}

.offline-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.offline-indicator i {
    font-size: 1rem;
    animation: pulse 2s infinite;
}

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

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    margin-bottom: 3rem;
}

.preloader-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-top: 4px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    position: absolute;
}

.preloader-text {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: 400;
    color: #D4AF37;
    text-transform: uppercase;
}

.preloader-progress {
    max-width: 300px;
    margin: 0 auto;
}

.preloader-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.preloader-percentage {
    font-size: 0.9rem;
    color: #D4AF37;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 30px rgba(212, 175, 55, 0.4);
    }
}

/* Hide preloader when page is loaded */
body.loaded .preloader-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

/* Smooth entrance for main content */
body.loaded {
    animation: fadeInContent 0.6s ease forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
