/* ========================================
   Smith Vineyard - Premium Dark Luxury
   Plum + Amber Color Palette
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Plum Palette */
    --plum-50: #F5F0F7;
    --plum-100: #E8DDEB;
    --plum-200: #D4BDD6;
    --plum-300: #BA93BC;
    --plum-400: #9B6A9D;
    --plum-500: #7D4F7E;
    --plum-600: #633D64;
    --plum-700: #4E304F;
    --plum-800: #3A243B;
    --plum-900: #2D1B3D;
    --plum-950: #1A0F21;
    
    /* Amber / Gold Palette */
    --amber-50: #FFF9E8;
    --amber-100: #FFEFB8;
    --amber-200: #FFE080;
    --amber-300: #FFD04A;
    --amber-400: #C9A84C;
    --amber-500: #B8943F;
    --amber-600: #9A7A32;
    --amber-700: #7D6228;
    --amber-800: #5F4B1F;
    --amber-900: #423416;
    
    /* Background Colors */
    --bg-primary: #0D0810;
    --bg-secondary: #1A0F21;
    --bg-tertiary: #2D1B3D;
    --bg-card: #1E1228;
    --bg-card-hover: #271735;
    
    /* Text Colors */
    --text-primary: #F5F0F7;
    --text-secondary: #D4BDD6;
    --text-muted: #9B6A9D;
    --text-dark: #2D1B3D;
    
    /* Accent Colors */
    --gold: #C9A84C;
    --gold-light: #E8D5A3;
    --gold-dark: #9A7A32;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* ========================================
   Custom Cursor
   ======================================== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.2s ease;
    opacity: 0;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    opacity: 0;
}

@media (max-width: 767px) {
    .cursor-dot, .cursor-ring {
        display: none;
    }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(13, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--gold-light);
}

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

.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 100px;
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-base);
}

.nav-cta-btn:hover {
    background: var(--gold);
    color: var(--plum-950);
}

.nav-cta-btn:hover svg {
    stroke: var(--plum-950);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-light);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 967px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(13, 8, 16, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        transition: right var(--transition-base);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 8, 16, 0.95) 0%,
        rgba(26, 15, 33, 0.85) 50%,
        rgba(45, 27, 61, 0.75) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(125, 79, 126, 0.1) 0%, transparent 50%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(13, 8, 16, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-3xl);
    width: 100%;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.greeting-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.greeting-text {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    max-width: 800px;
}

.headline-line {
    display: block;
}

.headline-accent {
    color: var(--gold-light);
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2vw, 1.375rem);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--plum-950);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(212, 189, 214, 0.3);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--plum-950);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Floating Stat Cards */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(30, 18, 40, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.05) 100%);
    border-radius: var(--radius-sm);
    color: var(--gold);
    flex-shrink: 0;
}

.stat-card-icon svg {
    width: 24px;
    height: 24px;
}

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ========================================
   Section Shared Styles
   ======================================== */
.section-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.label-line {
    width: 32px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.section-label {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 500;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.title-accent {
    color: var(--gold-light);
    font-style: italic;
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 60%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.about-image-accent img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 48px rgba(201, 168, 76, 0.3);
}

.experience-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--plum-950);
    line-height: 1;
}

.experience-text {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--plum-900);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.3;
}

.about-content {
    padding: var(--space-lg) 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-sm);
    color: var(--gold);
    flex-shrink: 0;
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-content {
    display: flex;
    flex-direction: column;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.value-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   Products Section
   ======================================== */
.products {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-label {
    justify-content: center;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.08);
    transition: all var(--transition-base);
}

.product-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--plum-950);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
}

.product-info {
    padding: var(--space-lg);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-fast);
}

.product-link:hover {
    color: var(--gold-light);
    gap: var(--space-sm);
}

.product-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.product-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Specialties Section
   ======================================== */
.specialties {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.specialties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.specialties-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.specialties-header .section-label {
    justify-content: center;
}

.specialties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .specialties-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.specialty-card {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 168, 76, 0.08);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.specialty-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.specialty-card:hover::before {
    opacity: 1;
}

.specialty-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.1);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.specialty-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, rgba(201, 168, 76, 0.04) 100%);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-md);
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.specialty-icon svg {
    width: 28px;
    height: 28px;
}

.specialty-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.specialty-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.gallery-header .section-label {
    justify-content: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, 250px);
    }
    
    .gallery-item-large {
        grid-column: 1 / 8;
        grid-row: 1 / 3;
    }
    
    .gallery-item-wide {
        grid-column: 8 / 13;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 8, 16, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gold-light);
}

/* ========================================
   Visit Section
   ======================================== */
.visit {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .visit-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.visit-info {
    padding: var(--space-lg) 0;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-sm);
    color: var(--gold);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.detail-value a {
    color: var(--gold-light);
    transition: color var(--transition-fast);
}

.detail-value a:hover {
    color: var(--gold);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

@media (min-width: 1024px) {
    .visit-map {
        height: 100%;
        min-height: 500px;
    }
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.contact-content {
    padding: var(--space-lg) 0;
}

.contact-text {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: var(--space-lg);
}

.contact-form-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 639px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-input {
    background: rgba(45, 27, 61, 0.5);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--gold);
    background: rgba(45, 27, 61, 0.8);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: var(--plum-900);
    color: var(--text-primary);
}

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

/* Form Success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    gap: var(--space-md);
}

.form-success.active {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.05) 100%);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--space-4xl) 0 var(--space-xl);
    background: var(--bg-primary);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-light);
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a,
.footer-contact li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    line-height: 1.6;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold);
}

.footer-contact a {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-hidden.delay-1 { transition-delay: 0.1s; }
    .reveal-hidden.delay-2 { transition-delay: 0.2s; }
    .reveal-hidden.delay-3 { transition-delay: 0.3s; }
    .reveal-hidden.delay-4 { transition-delay: 0.4s; }
}

/* ========================================
   Utility & Responsive
   ======================================== */
@media (max-width: 767px) {
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        width: 100%;
    }
    
    .about-image-accent {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: var(--space-md);
    }
    
    .about-experience-badge {
        width: 100px;
        height: 100px;
        top: -15px;
        right: 10px;
    }
    
    .experience-number {
        font-size: 1.5rem;
    }
}

/* Selection Color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: var(--gold-light);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}
