/* ===================================
   RetroMotion - Main Stylesheet
   Plain CSS (converted from Tailwind)
=================================== */

/* CSS Variables */
:root {
    /* Colors */
    --burgundy: hsl(351, 45%, 28%);
    --burgundy-light: hsl(351, 35%, 40%);
    --burgundy-dark: hsl(351, 50%, 18%);
    --cream: hsl(35, 30%, 92%);
    --cream-light: hsl(30, 25%, 97%);
    --gold: hsl(38, 60%, 50%);
    --gold-light: hsl(42, 70%, 65%);
    --chocolate: hsl(25, 35%, 25%);
    --charcoal: hsl(220, 10%, 15%);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Shadows */
    --shadow-elegant: 0 4px 30px hsla(351, 45%, 20%, 0.1);
    --shadow-card: 0 8px 40px hsla(351, 45%, 20%, 0.08);
    
    /* Spacing */
    --container-max: 1280px;
    --section-padding: 6rem;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-light);
    color: var(--burgundy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================================
   Navigation
=================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(92, 47, 56, 0.95);
    padding: 0.75rem 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    z-index: 10;
}

.logo-img {
    height: 113px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(247, 245, 242, 0.8);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(247, 245, 242, 0.3);
    border-radius: 9999px;
}

.lang-btn {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(247, 245, 242, 0.7);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--cream-light);
}

.lang-btn.active {
    background-color: var(--gold);
    color: var(--burgundy);
}

/* Mobile Navigation */
.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    z-index: 110;
    color: var(--cream-light);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background-color: var(--burgundy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.hidden {
    transform: translateX(100%);
    pointer-events: none;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--cream-light);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--gold);
}

.desktop-nav {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-controls {
        display: flex;
    }
}

/* ===================================
   Hero Section
=================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        hsla(351, 50%, 18%, 0.7) 0%,
        hsla(351, 50%, 18%, 0.4) 50%,
        hsla(351, 50%, 18%, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1rem;
    text-align: center;
}

.hero-logo {
    height: 15rem;
    width: auto;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .hero-logo {
        height: 22.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-logo {
        height: 26.25rem;
    }
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: rgba(247, 245, 242, 0.9);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-tagline {
        font-size: 1.875rem;
    }
}

.hero-services {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: rgba(247, 245, 242, 0.7);
    margin-bottom: 3rem;
    max-width: 42rem;
}

@media (min-width: 768px) {
    .hero-services {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.btn-elegant {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--burgundy);
    color: var(--cream-light);
    border: 1px solid var(--burgundy);
    transition: all 0.4s ease;
}

.btn-elegant:hover {
    background-color: transparent;
    color: var(--burgundy);
}

.btn-elegant-outline {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: hsla(38, 60%, 50%, 0.85);
    color: var(--burgundy);
    border: 1px solid var(--gold);
    transition: all 0.4s ease;
}

.btn-elegant-outline:hover {
    background-color: var(--gold);
    color: var(--burgundy);
}

/* Outline button for light backgrounds */
.btn-elegant-outline-dark {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--gold);
    color: var(--burgundy);
    border: 1px solid var(--gold);
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-elegant-outline-dark:hover {
    background-color: var(--burgundy);
    color: var(--gold);
    border-color: var(--burgundy);
}

/* Vehicle buttons container */
.vehicle-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.vehicle-buttons .btn-elegant {
    margin-top: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 1.5s infinite ease-in-out;
}

.scroll-indicator span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(247, 245, 242, 0.6);
    margin-bottom: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 2rem;
    background-color: rgba(247, 245, 242, 0.4);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   Section Styles
=================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-divider {
    width: 6rem;
    height: 1px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold) 50%,
        transparent 100%
    );
}

.section-divider.light {
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold) 50%,
        transparent 100%
    );
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: hsl(351, 20%, 40%);
    max-width: 42rem;
    margin: 0 auto;
}

.section-subtitle.light {
    color: rgba(247, 245, 242, 0.8);
}

/* ===================================
   Services Section
=================================== */
.services {
    padding: var(--section-padding) 0;
    background-color: var(--cream-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: linear-gradient(
        135deg,
        var(--cream) 0%,
        var(--cream-light) 100%
    );
    box-shadow: var(--shadow-card);
    padding: 2rem;
    text-align: center;
    border-radius: 0.125rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px hsla(351, 45%, 28%, 0.15);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: hsla(351, 45%, 28%, 0.1);
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--burgundy);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--burgundy);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon svg {
    color: var(--cream-light);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(351, 20%, 40%);
}

.view-gallery {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: hsla(351, 45%, 28%, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===================================
   Fleet Section
=================================== */
.fleet {
    padding: var(--section-padding) 0;
    background-color: var(--cream);
}

.collection-showcase {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.showcase-image {
    max-width: 56rem;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid hsla(38, 60%, 50%, 0.3);
    transition: transform 0.5s ease-out;
    cursor: pointer;
}

.showcase-image:hover {
    transform: scale(1.02);
}

.vehicles-list {
    border-top: 1px solid hsla(351, 20%, 40%, 0.1);
}

.vehicle-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid hsla(351, 20%, 40%, 0.1);
}

@media (min-width: 1024px) {
    .vehicle-card {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
    
    .vehicle-card.reverse {
        flex-direction: row-reverse;
    }
}

.vehicle-image {
    flex: 1;
    overflow: hidden;
    border-radius: 0.125rem;
}

.vehicle-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-content {
    flex: 1;
}

.vehicle-year {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.vehicle-name {
    font-size: 2rem;
    color: var(--burgundy);
    margin: 0.5rem 0 0.5rem;
}

@media (min-width: 768px) {
    .vehicle-name {
        font-size: 2.5rem;
    }
}

.vehicle-price {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1rem;
}

.vehicle-divider {
    width: 4rem;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 1.5rem;
}

.vehicle-history {
    font-size: 1.125rem;
    line-height: 1.7;
    color: hsl(351, 20%, 40%);
}

.vehicle-content .btn-elegant {
    margin-top: 2rem;
}

/* ===================================
   Contact Section
=================================== */
.contact {
    background-color: var(--burgundy);
}

.contact-video-banner {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
}

.contact-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-video-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1rem;
    text-align: center;
}

.contact-video-content h2 {
    font-size: 2.5rem;
    color: var(--cream-light);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-video-content h2 {
        font-size: 3rem;
    }
}

.contact-container {
    padding: 6rem 1rem;
}

.contact .section-header h2 {
    color: var(--cream-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-wrapper {
    background-color: rgba(247, 245, 242, 0.05);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border-radius: 0.125rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(247, 245, 242, 0.7);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--cream-light);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(247, 245, 242, 0.3);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(247, 245, 242, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--gold);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background-color: var(--burgundy);
    color: var(--cream-light);
}

.form-group textarea {
    resize: none;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--gold);
}

.checkbox-group label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(247, 245, 242, 0.7);
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--gold);
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: var(--gold-light);
}

.form-message {
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: hsla(38, 60%, 50%, 0.2);
}

.info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold);
}

.info-content h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(247, 245, 242, 0.7);
    margin-bottom: 0.25rem;
}

.info-content p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--cream-light);
}

.social-links {
    padding-top: 1rem;
}

.social-links h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(247, 245, 242, 0.7);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(247, 245, 242, 0.3);
    color: var(--cream-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--gold);
    background-color: var(--gold);
    color: var(--burgundy);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===================================
   Footer
=================================== */
.footer {
    padding: 3rem 0;
    background-color: var(--burgundy-dark);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    height: 113px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-links {
        align-items: flex-end;
    }
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: rgba(247, 245, 242, 0.6);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--gold);
}

.copyright {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: rgba(247, 245, 242, 0.6);
}

/* ===================================
   Cookie Banner
=================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 1rem 1.5rem;
}

.cookie-content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid hsla(38, 60%, 50%, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}

.cookie-icon {
    padding: 0.5rem;
    background-color: hsla(38, 60%, 50%, 0.1);
    border-radius: 50%;
}

.cookie-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gold);
}

.cookie-text h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--cream);
    margin-bottom: 0.25rem;
}

.cookie-text p {
    font-size: 0.875rem;
    color: rgba(247, 245, 242, 0.7);
}

.cookie-text a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--gold-light);
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-btn-decline {
    padding: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: rgba(247, 245, 242, 0.8);
    border: 1px solid rgba(247, 245, 242, 0.3);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.cookie-btn-decline:hover {
    border-color: rgba(247, 245, 242, 0.5);
    color: var(--cream);
}

.cookie-btn-accept {
    padding: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    background-color: var(--gold);
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.cookie-btn-accept:hover {
    background-color: var(--gold-light);
}

/* ===================================
   Gallery Modal
=================================== */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    background-color: rgba(50, 28, 33, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(247, 245, 242, 0.1);
    color: var(--cream-light);
    transition: background-color 0.3s ease;
}

.gallery-close:hover {
    background-color: rgba(247, 245, 242, 0.2);
}

.gallery-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.gallery-header {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.gallery-year {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.gallery-name {
    font-size: 1.5rem;
    color: var(--cream-light);
}

@media (min-width: 768px) {
    .gallery-name {
        font-size: 2rem;
    }
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(247, 245, 242, 0.1);
    color: var(--cream-light);
    transition: background-color 0.3s ease;
}

.gallery-nav:hover {
    background-color: rgba(247, 245, 242, 0.2);
}

.gallery-nav svg {
    width: 1.5rem;
    height: 1.5rem;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-main {
    max-height: 70vh;
    max-width: 90vw;
}

.gallery-main img {
    max-height: 70vh;
    max-width: 100%;
    border-radius: 0.125rem;
    object-fit: contain;
}

.gallery-thumbnails {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    max-width: 90vw;
    overflow-x: auto;
}

.gallery-thumbnail {
    width: 3rem;
    height: 4rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.125rem;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    opacity: 1;
}

.gallery-thumbnail.active {
    opacity: 1;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: rgba(247, 245, 242, 0.6);
}

/* ===================================
   Animations
=================================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.visible {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility */
.hidden {
    display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy);
    border-radius: 4px;
}
