/* CSS Variables & Reset */
:root {
    /* Colors (HSL values) */
    --background: 36 33% 96%;
    --foreground: 0 0% 12%;
    --primary: 38 38% 59%;
    --primary-foreground: 0 0% 100%;
    --secondary: 36 20% 94%;
    --secondary-foreground: 0 0% 12%;
    --muted: 36 15% 90%;
    --muted-foreground: 0 0% 40%;
    --card: 0 0% 100%;
    --border: 36 15% 88%;
    --input: 36 15% 88%;

    /* Custom Colors */
    --gold-hover: 38 38% 50%;
    --charcoal: 0 0% 12%;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius: 0.375rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(30, 30, 30, 0.04);
    --shadow-md: 0 4px 20px rgba(30, 30, 30, 0.08);
    --shadow-lg: 0 8px 30px rgba(30, 30, 30, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-8 {
    margin-top: 2rem;
}

.w-full {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 140%;
    padding-bottom: 140%;
    border-radius: 45%;
    background-color: hsl(var(--foreground));
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.15);
    color: hsl(var(--background));
}

.btn:hover::before {
    transform: translate(-50%, -75%);
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--gold-hover)));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
    background-color: hsl(var(--gold-hover));
}

.btn-primary:hover {
    background: linear-gradient(135deg, hsl(var(--gold-hover)), hsl(var(--primary)));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border-color: hsl(var(--foreground));
    color: hsl(var(--foreground));
    background-color: transparent;
}

.btn-outline:hover {
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
}

.btn-ghost {
    background-color: transparent;
    color: hsl(var(--foreground));
    padding: 0.5rem 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.btn-ghost:hover {
    color: hsl(var(--primary));
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 50;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--border));
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--foreground));
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.8);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: 1px solid transparent;
}

.btn-header-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    padding: 0.3rem 1.25rem;
    height: auto;
    text-align: center;
    min-height: 44px;
}

.btn-header-cta .btn-text-main {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-header-cta .btn-text-sub {
    font-size: 0.6rem;
    opacity: 0.8;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.nav-link:hover {
    color: hsl(var(--foreground));
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: hsl(var(--background));
    padding: 1rem;
    border-bottom: 1px solid hsl(var(--border));
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 40;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    padding: 0.75rem;
    font-weight: 500;
    border-bottom: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    border-radius: var(--radius);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding-left: 1.25rem;
    /* Slight shift for mobile */
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary) / 0.3) 100%);
    position: relative;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding-bottom: 4rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at top right, hsl(var(--primary) / 0.05), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

/* Mobile: Images first, then content */
.hero-image-wrapper {
    order: 1;
    width: 100%;
}

.hero-content {
    order: 2;
    width: 100%;
}

/* Desktop: Content on right, images on left */
@media (min-width: 1024px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
    }
}

.overline {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, hsl(var(--foreground)) 0%, hsl(var(--primary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
}

.hero-image-container {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: hsl(var(--muted));
    box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
    .hero-image-container {
        aspect-ratio: 4/5;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    /* Hide default image when slider is active */
}

/* Slider Styles */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    /* Removed absolute positioning and opacity */
}

/* Removed .slide.active styles as we use transform now */

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

.slider-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    pointer-events: none;
    /* Allow clicks to pass through container */
}

.slider-auth-nav {
    display: flex;
    gap: 0.75rem;
    pointer-events: auto;
    /* Re-enable pointer events for buttons */
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--foreground);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background: #fff;
    transform: scale(1.05);
}

.slider-indicators {
    display: flex;
    gap: 0.5rem;
    pointer-events: auto;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: hsl(var(--gold-hover));
    transform: scale(1.2);
}

.hero-decoration {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 8rem;
    height: 8rem;
    border: 1px solid hsl(var(--primary) / 0.3);
    border-radius: var(--radius);
    z-index: -1;
}

/* Featured Video Section */
.video-section {
    padding: 0 0 4rem;
    /* Zero top padding */
    background: hsl(var(--background));
    position: relative;
}

/* ... existing styles ... */

/* Gallery Page Styles */
.gallery-hero {
    padding-top: calc(var(--header-height) + 2rem);
    /* Reduced top spacing */
    padding-bottom: 0.5rem;
    /* Minimal bottom spacing */
    background-color: hsl(var(--secondary) / 0.3);
}

.video-wrapper {
    max-width: 300px;
    /* Reduced further for elegance */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;

    /* Royal/Featured Card Styling */
    background-color: #FFFFF0;
    /* Ivory Background */
    border: 1px solid rgba(197, 160, 89, 0.4);
    /* Thin Antique Gold */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Softer shadow */

    position: relative;
    height: auto;
    /* Allow strict height adaptation */
    padding: 1rem;
    /* Reduced padding */
}

/* ... existing video css ... */

.gallery-overlay,
.gallery-caption,
.gallery-item::after {
    display: none !important;
    /* Remove all overlays and captions */
}

.gallery-item:hover {
    transform: scale(1.1);
    /* Increased zoom for more "pop" */
    box-shadow:
        0 0 0 1px rgba(197, 160, 89, 0.5),
        0 20px 40px rgba(0, 0, 0, 0.12);
    /* Lifted shadow */
    z-index: 10;
}

.gallery-item:hover .gallery-image {
    transform: none;
    /* Disable inner image scale to keep border consistent */
}

.video-wrapper video {
    width: 100%;
    height: auto;
    /* Remove aspect-ratio enforcement so video defines its own frame */
    object-fit: contain;
    /* Ensure full visibility */
    display: block;
    border-radius: 0.5rem;
    /* Inner radius */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Subtle shadow on the video itself */
}

/* Plans Section */
.plans-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary) / 0.2) 50%, hsl(var(--background)) 100%);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

.plans-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

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

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

.plans-grid-single {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .plans-grid-single {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.event-map-container {
    background: linear-gradient(to bottom, hsl(var(--card)), hsl(var(--secondary) / 0.3));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    height: auto;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-map-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: hsl(var(--primary) / 0.3);
}

.map-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    transition: color 0.3s ease;
}

.event-map-container:hover .map-title {
    color: hsl(var(--primary));
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-map-container:hover .map-wrapper {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.map-address {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    text-align: center;
    transition: color 0.3s ease;
}

.event-map-container:hover .map-address {
    color: hsl(var(--foreground));
}

.plan-card {
    background: linear-gradient(to bottom, hsl(var(--card)), hsl(var(--secondary) / 0.3));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--gold-hover)));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

.plan-card.featured {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--primary) / 0.1));
    border: 2px solid hsl(var(--primary) / 0.4);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.badge {
    position: absolute;
    top: -1px;
    left: -1px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--gold-hover)));
    color: hsl(var(--primary-foreground));
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.25rem;
    border-radius: 1rem 0 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
    z-index: 10;
}

.plan-card:hover .badge,
.badge:hover {
    background: linear-gradient(135deg, #10b981, hsl(var(--primary)));
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.plan-price {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.8);
    margin-bottom: 0.75rem;
}

.icon-check {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: hsl(var(--secondary) / 0.3);
    position: relative;
    overflow: hidden;
}

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

/* Removed media query that created 2 columns */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid hsl(var(--primary) / 0.2);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
    display: block;
}

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

    .stat-number {
        font-size: 3rem;
    }
}

.stat-label {
    font-size: 0.8rem;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.about-images {
    display: none;
    /* Ensure hidden if HTML partially remains */
}



/* Register Section */
.register-section {
    padding: 4rem 0;
    background-color: hsl(var(--light-tint));
}

.register-container {
    max-width: 42rem;
    margin: 0 auto;
}

.register-form {
    background: linear-gradient(to bottom, hsl(var(--card)), hsl(var(--secondary) / 0.2));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .register-form {
        padding: 3rem;
    }
}

.form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: hsl(var(--foreground));
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 1px hsl(var(--primary));
}

textarea.form-input {
    resize: none;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

.contact-item {
    padding: 1.5rem;
}

.icon-circle {
    width: 3rem;
    height: 3rem;
    background-color: hsl(var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-link,
.contact-text {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.contact-link:hover {
    color: hsl(var(--primary));
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 500px;
    margin: 0 auto 4rem;
    background: linear-gradient(to bottom, hsl(var(--card)), hsl(var(--secondary) / 0.3));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: hsl(var(--primary) / 0.3);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--gold-hover)));
    opacity: 0.8;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: hsl(var(--foreground));
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form .form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: hsl(var(--background) / 0.5);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.contact-form .form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    background-color: hsl(var(--background));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.location-info {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.location-info .icon-circle {
    margin: 0 auto 0.75rem;
}

.map-placeholder {
    aspect-ratio: 2/1;
    background: linear-gradient(to bottom right, hsl(var(--muted)), hsl(var(--secondary)));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Maps Container Responsive Styles */
.maps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .maps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.map-item {
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-item:hover {
    transform: translateY(-5px);
}

.map-item h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--primary));
    transition: color 0.3s ease;
}

.map-item:hover h3 {
    color: hsl(var(--gold-hover));
}

.map-item iframe {
    border: 0;
    width: 100%;
    height: 290px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.map-item:hover iframe {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: hsl(var(--primary) / 0.3);
}

.map-item p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    transition: color 0.3s ease;
}

.map-item:hover p {
    color: hsl(var(--foreground));
}

@media (max-width: 480px) {
    .map-item h3 {
        font-size: 1rem;
    }

    .map-item iframe {
        height: 250px;
    }

    .map-item p {
        font-size: 0.8rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, hsl(var(--charcoal)), hsl(0 0% 8%));
    color: hsl(var(--background));
    padding: 4rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.3), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    color: hsl(var(--background));
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: hsl(var(--background) / 0.7);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: hsl(var(--background));
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid hsl(var(--background) / 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.social-link:hover {
    border-color: hsl(var(--background) / 0.5);
}

.social-link .icon {
    width: 1rem;
    height: 1rem;
    color: currentColor;
}

.footer-bottom {
    border-top: 1px solid hsl(var(--background) / 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: hsl(var(--background) / 0.5);
}

/* Gallery Page Styles */
.gallery-hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 0.5rem;
    background-color: hsl(var(--secondary) / 0.3);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.gallery-section {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

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

    /* Center the 13th item (orphan in 2-col grid) */
    .gallery-item:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 0.75rem);
        justify-self: center;
    }
}

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

    /* Center the 13th item (orphan in 3-col grid) */
    .gallery-item:last-child {
        grid-column: 2;
        width: auto;
        justify-self: stretch;
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    /* Consistent 1:1 crop */
    overflow: hidden;
    border-radius: 8px;
    /* Soft rounded corners */
    cursor: pointer;

    /* Luxury Editorial Frame */
    border: 12px solid #FFFFF0;
    /* Bright Ivory Border */
    box-shadow:
        0 0 0 1px rgba(197, 160, 89, 0.5),
        /* Thin Antique Gold Frame */
        0 15px 35px rgba(0, 0, 0, 0.08);
    /* Gentle Floating Shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Soft Warm-Golden Cinematic Grade */
    filter: contrast(1.05) brightness(1.02) sepia(0.15) saturate(0.95);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-caption {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

.cta-section {
    padding: 4rem 0;
    background-color: hsl(var(--light-tint));
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Specific delay for gallery items if they don't have individual delays */
.gallery-item.reveal-on-scroll {
    transform: translateY(50px) scale(0.9);
}

.gallery-item.reveal-on-scroll.is-visible {
    transform: translateY(0) scale(1);
}

/* ========================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ======================================== */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {

    /* Container & Spacing */
    .container {
        padding: 0 1rem;
    }

    /* Typography */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .overline {
        font-size: 0.7rem;
    }

    /* Header */
    .logo {
        font-size: 1rem;
    }

    .header {
        height: 70px;
    }

    :root {
        --header-height: 70px;
    }

    /* Buttons */
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.75rem;
        width: auto;
    }

    .hero-actions {
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: auto;
        padding: 0.65rem 1.25rem;
    }

    /* Hero Section */
    .hero-section {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 2rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-image-container {
        aspect-ratio: 1/1;
    }

    /* Slider Controls - Touch Optimized */
    .slider-controls {
        padding: 1rem;
    }

    .slider-arrow {
        width: 2.25rem;
        height: 2.25rem;
    }

    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    /* Plans Section */
    .plans-section {
        padding: 2.5rem 0;
    }

    .plans-grid {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .plan-card {
        padding: 1.75rem;
    }

    .plan-title {
        font-size: 1.25rem;
    }

    .plan-tagline {
        font-size: 0.8rem;
    }

    .plan-price {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .plan-features {
        margin-bottom: 1.5rem;
    }

    .plan-features li {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .icon-check {
        width: 1rem;
        height: 1rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        left: 1.5rem;
    }

    /* About Section */
    .about-section {
        padding: 2.5rem 0;
    }

    .about-grid {
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .about-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-image-wrapper.mt-8 {
        margin-top: 0;
    }

    /* Contact Section */
    .contact-section {
        padding: 2.5rem 0;
    }

    .contact-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .icon-circle {
        width: 2.5rem;
        height: 2.5rem;
    }

    .icon {
        width: 1rem;
        height: 1rem;
    }

    .contact-label,
    .contact-link,
    .contact-text {
        font-size: 0.8rem;
    }

    .map-placeholder {
        aspect-ratio: 1.5/1;
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-nav {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .footer-nav a {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 2.25rem;
        height: 2.25rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Gallery Page */
    .gallery-hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 2rem;
    }

    .gallery-section {
        padding: 2.5rem 0;
    }

    .gallery-grid {
        gap: 1rem;
    }

    .gallery-caption {
        font-size: 1.1rem;
        padding: 0;
    }

    .gallery-overlay {
        padding: 1.25rem;
    }

    .cta-section {
        padding: 2.5rem 0;
    }

    /* Form Elements */
    .register-section {
        padding: 2.5rem 0;
    }

    .register-form {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .form-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* Mobile Devices (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {

    /* Container */
    .container {
        padding: 0 1.25rem;
    }

    /* Typography */
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Hero Section */
    .hero-section {
        padding-top: calc(var(--header-height) + 1.5rem);
    }

    .hero-grid {
        gap: 2.5rem;
    }

    .hero-image-container {
        aspect-ratio: 4/3;
    }

    /* Buttons - Full width on medium mobile */
    .hero-actions .btn {
        width: 100%;
    }

    /* Plans */
    .plan-card {
        padding: 2rem;
    }

    /* Stats Grid - 3 columns on medium mobile */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* About Images - Keep 2 columns */
    .about-images {
        grid-template-columns: 1fr 1fr;
    }

    /* Gallery */
    .gallery-caption {
        font-size: 1.25rem;
    }
}

/* Tablet Devices (768px - 1023px) - Fine-tuning */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-grid {
        gap: 3rem;
    }

    .plan-card {
        padding: 2.25rem;
    }

    .about-grid {
        gap: 3rem;
    }
}

/* Touch Device Optimizations - All Mobile/Tablet */
@media (max-width: 1023px) {

    /* Ensure all interactive elements are touch-friendly (44px minimum) */
    .nav-link,
    .mobile-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 44px;
    }

    .slider-arrow {
        min-width: 44px;
        min-height: 44px;
    }

    .indicator {
        min-width: 12px;
        min-height: 12px;
        padding: 0;
    }

    /* Improve tap targets */
    .mobile-menu-btn {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }

    /* Prevent text selection on touch */
    .slider-arrow,
    .indicator,
    .btn {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    /* Smoother animations on mobile */
    .plan-card:hover {
        transform: translateY(-4px);
    }

    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 1.5rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-image-container {
        aspect-ratio: 16/9;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Very Small Devices (< 320px) */
@media (max-width: 319px) {
    .container {
        padding: 0 0.75rem;
    }

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

    .section-title {
        font-size: 1.35rem;
    }

    .logo {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.75rem;
    }

    .plan-card {
        padding: 1.5rem;
    }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.modal-content {
    background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--secondary) / 0.5));
    border: 1px solid hsl(var(--primary) / 0.3);
    padding: 3rem;
    border-radius: 1.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--gold-hover)));
}

.modal-icon-wrapper {
    width: 5rem;
    height: 5rem;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    position: relative;
}

.modal-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid hsl(var(--primary) / 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.success-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.modal-message {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.toast #toastMessage {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}