/* ==========================================================================
   Dr. Allen P. VanOverbeke, DMD - Custom Premium Stylesheet (WOW FACTOR EDITION)
   Theme: Luxurious Clinical Wellness (Deep Forest Emerald, Metallic Gold, Off-White)
   ========================================================================== */

/* --- Design Tokens & Variables --- */
:root {
    /* Color Palette */
    --color-primary: hsl(170, 35%, 12%);       /* Deep Forest Emerald */
    --color-primary-light: hsl(170, 30%, 20%);
    --color-primary-dark: hsl(170, 45%, 7%);
    
    /* Metallic Gold Gradients */
    --gradient-gold: linear-gradient(135deg, #dfba73 0%, #c5a059 50%, #e8d09b 100%);
    --gradient-gold-hover: linear-gradient(135deg, #e8d09b 0%, #dfba73 50%, #c5a059 100%);
    --color-gold: #dfba73;
    --color-gold-light: #f3e5c8;
    --color-gold-dark: #b6924b;
    
    --color-text-dark: hsl(210, 15%, 12%);
    --color-text-light: hsl(30, 15%, 98%);
    --color-text-muted: hsl(210, 8%, 52%);
    
    --color-bg-light: hsl(30, 15%, 98%);        /* Soft Warm White */
    --color-bg-dark: hsl(170, 25%, 5%);         /* Deep Charcoal Teal */
    --color-card-bg: rgba(255, 255, 255, 0.65);
    --color-card-border: rgba(170, 145, 100, 0.12);
    
    --color-success: hsl(150, 45%, 45%);       /* Clinical Mint Green */
    --color-error: hsl(5, 75%, 55%);
    
    /* Typography */
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Shadows */
    --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.02);
    --shadow-medium: 0 16px 40px rgba(12, 28, 23, 0.08);
    --shadow-gold: 0 8px 30px rgba(182, 146, 75, 0.25);
    --shadow-glass: 0 8px 32px 0 rgba(12, 28, 23, 0.05);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(12, 28, 23, 0.8);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px);
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* --- Custom Desktop Cursor (WOW Factor) --- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(182, 146, 75, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

.custom-cursor.hovering {
    width: 12px;
    height: 12px;
    background-color: var(--color-success);
}

.custom-cursor-follower.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--color-success);
    background-color: rgba(0, 200, 120, 0.06);
}

/* Hide default cursor on desktops */
@media (min-width: 1025px) {
    body {
        cursor: none;
    }
    a, button, .service-card, .gallery-item, .time-slot, input, textarea, label {
        cursor: none;
    }
}

/* --- Scroll Progress Bar --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 1100;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-gold);
}

/* --- Background Ambient Glow Blobs --- */
.bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.12;
    animation: floatBlob 24s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background-color: var(--color-gold);
    top: 15%;
    right: -15%;
}

.blob-2 {
    width: 700px;
    height: 700px;
    background-color: var(--color-primary-light);
    bottom: 25%;
    left: -15%;
    animation-delay: -6s;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background-color: var(--color-success);
    top: 55%;
    right: 15%;
    animation-delay: -12s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 60px) scale(1.15); }
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-2-valign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.text-center { text-align: center; }
.text-light { color: var(--color-text-light) !important; }
.text-gold { color: var(--color-gold) !important; }
.text-muted { color: var(--color-text-muted) !important; }

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-primary-dark);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gradient-gold-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(182, 146, 75, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-gold-dark);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
    margin-top: 16px;
}

.btn-text:hover {
    color: var(--color-primary);
    transform: translateX(6px);
}

/* --- Scroll Entrance Animations --- */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-200 { animation-delay: 0.25s; }
.delay-400 { animation-delay: 0.5s; }

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

/* --- Navigation Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(170, 145, 100, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(12, 28, 23, 0.96);
    border-bottom: 1px solid rgba(170, 145, 100, 0.2);
    box-shadow: var(--shadow-medium);
}

.main-header.scrolled .logo-text {
    color: var(--color-text-light);
}
.main-header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}
.main-header.scrolled .nav-link:hover {
    color: var(--color-gold);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.logo-subtext {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4.5px;
    color: var(--color-gold-dark);
    margin-top: -2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    position: relative;
    background-color: var(--color-primary);
    overflow: hidden;
    color: var(--color-text-light);
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 186, 115, 0.18) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(12, 28, 23, 0.3) 0%, rgba(12, 28, 23, 0.65) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.badge-legacy {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(223, 186, 115, 0.12);
    border: 1px solid rgba(223, 186, 115, 0.25);
    color: var(--color-gold-light);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: 4rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-glow {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(182, 146, 75, 0.2));
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 44px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 56px;
}

.hero-actions .btn-secondary {
    color: var(--color-text-light);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-actions .btn-secondary:hover {
    border-color: var(--color-gold);
    background: var(--gradient-gold);
    color: var(--color-primary-dark);
}

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 28px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* Hero Image Stack */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.image-stack {
    position: relative;
    width: 90%;
}

.main-image-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(223, 186, 115, 0.25);
}

.hero-img-main {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.image-stack:hover .hero-img-main {
    transform: scale(1.04);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: rgba(12, 28, 23, 0.85);
    border: 1.5px solid var(--color-gold);
    backdrop-filter: var(--glass-blur);
    padding: 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-gold);
    animation: floating 4.5s ease-in-out infinite;
}

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

.badge-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-light);
    margin-top: 6px;
    font-weight: 700;
}

/* --- Section Styling Base --- */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 72px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-gold-dark);
    font-weight: 700;
    margin-bottom: 28px;
}

.section-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-text {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    opacity: 0.95;
}

/* --- About & Legacy Section --- */
.about-section {
    background-color: var(--color-bg-light);
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-frame {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* Monogram Placeholder for About Section */
.placeholder-frame {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(223, 186, 115, 0.2);
}

.placeholder-crest {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.crest-letter {
    font-family: var(--font-serif);
    font-size: 8.5rem;
    font-weight: 400;
    line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(182, 146, 75, 0.3));
}

.crest-sub {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-top: -8px;
    text-transform: uppercase;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-border {
    position: absolute;
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    pointer-events: none;
    animation: rotate 24s linear infinite;
    opacity: 0.8;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.legacy-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(182, 146, 75, 0.1);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pillar-icon svg {
    stroke: var(--color-gold-dark);
}

.pillar-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

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

/* --- Services Section --- */
.services-section {
    background-color: #f1f4f3; /* Soft clinical teal tint */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--color-text-light);
    border: 1px solid var(--color-card-border);
    padding: 56px 40px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(182, 146, 75, 0.25);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(12, 28, 23, 0.03);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--gradient-gold);
    color: var(--color-primary-dark);
    transform: rotateY(360deg);
}

.service-card-title {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- Technology Section (Dark Theme Accent) --- */
.tech-section {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
}

.tech-list {
    list-style: none;
    margin-top: 40px;
}

.tech-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 28px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.tech-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.25rem;
}

.tech-image-container {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1.5px solid rgba(223, 186, 115, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.tech-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1.35;
    transition: var(--transition-smooth);
}

.tech-image-container:hover .tech-img {
    transform: scale(1.03);
}

.tech-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 200, 150, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* --- Office Gallery Section --- */
.gallery-section {
    background-color: var(--color-bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 1.25;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(12, 28, 23, 0.95) 0%, rgba(12, 28, 23, 0) 100%);
    padding: 36px 28px;
    opacity: 0;
    transform: translateY(25px);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-text-light);
}

.gallery-view-btn {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
}

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

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

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    overflow: hidden;
    position: relative;
}

.testimonials-bg-glow {
    position: absolute;
    bottom: -15%;
    left: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 186, 115, 0.12) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

.testimonials-slider-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 50px;
    opacity: 0.25;
    transform: scale(0.94);
    transition: var(--transition-smooth);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1.6rem;
    margin-bottom: 28px;
    text-align: center;
    text-shadow: 0 0 12px rgba(223, 186, 115, 0.4);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    line-height: 1.65;
    text-align: center;
    margin-bottom: 36px;
    font-style: italic;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-gold-light);
}

.author-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    letter-spacing: 0.8px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 56px;
}

.slider-arrow {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background: var(--gradient-gold);
    border-color: var(--color-gold);
    color: var(--color-primary-dark);
}

.slider-dots {
    display: flex;
    gap: 14px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--color-gold);
    transform: scale(1.4);
}

/* --- Booking & Contact Section --- */
.booking-section {
    background-color: #f1f4f3;
}

.booking-card {
    background-color: var(--color-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1.5px solid rgba(223, 186, 115, 0.25);
    box-shadow: 0 30px 60px rgba(12, 28, 23, 0.15);
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}

.booking-intro {
    padding: 72px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.booking-text {
    margin-top: 20px;
    margin-bottom: 44px;
    line-height: 1.75;
}

.booking-contact-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.b-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.b-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.b-info-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text-light);
}

/* Form Container */
.booking-form-container {
    padding: 72px;
    background-color: var(--color-primary-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.form-step-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

/* Form Fields & Floating Labels */
.form-group {
    position: relative;
    margin-bottom: 32px;
}

.form-control {
    width: 100%;
    padding: 18px 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-light);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(223, 186, 115, 0.1);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
    font-size: 0.95rem;
}

textarea.form-control {
    height: auto;
}

textarea ~ .form-label {
    top: 24px;
    transform: none;
}

/* Floating label behavior */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    background-color: var(--color-primary-dark);
    padding: 2px 8px;
}

.form-control.touched:invalid {
    border-color: var(--color-error);
}

.form-control.touched:invalid ~ .error-msg {
    display: block;
}

.error-msg {
    display: none;
    color: var(--color-error);
    font-size: 0.75rem;
    margin-top: 6px;
    font-weight: 600;
}

/* Custom Checkboxes styling */
.checkbox-group {
    margin-bottom: 32px;
}

.checkbox-group-title {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.checkbox-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 32px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    user-select: none;
    transition: var(--transition-fast);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.08);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--gradient-gold);
    border-color: var(--color-gold-dark);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-primary-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container:hover {
    color: var(--color-gold-light);
}

.form-actions {
    margin-top: 40px;
}

.form-actions .btn {
    width: 100%;
}

/* Success Screen */
.success-screen {
    padding: 40px 20px;
    animation: fadeIn 0.6s ease forwards;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-success);
    color: var(--color-text-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 28px;
    box-shadow: 0 8px 30px rgba(0, 200, 120, 0.4);
}

.success-title {
    margin-bottom: 18px;
}

.success-message {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

#resetContactBtn {
    margin-top: 24px;
    width: auto;
}

/* --- Contact & Location Section --- */
.contact-section {
    background-color: var(--color-bg-light);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 56px;
}

.c-detail-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.c-detail-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.c-detail-item h4 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.c-detail-item p {
    color: var(--color-text-dark);
    opacity: 0.85;
}

.hours-table-container h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.hours-table {
    width: 100%;
    max-width: 480px;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hours-table td {
    padding: 14px 0;
    font-size: 0.95rem;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

/* Map Design */
.luxury-map-placeholder {
    height: 100%;
    min-height: 480px;
    background-color: var(--color-primary-dark);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(223, 186, 115, 0.25);
    box-shadow: var(--shadow-medium);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 28, 23, 0.65);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
}

.map-marker {
    position: relative;
    margin-bottom: 28px;
}

.marker-dot {
    width: 18px;
    height: 18px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: block;
    border: 2.5px solid var(--color-text-light);
    box-shadow: 0 0 15px rgba(223, 186, 115, 0.6);
}

.marker-pulse {
    position: absolute;
    top: -11px;
    left: -11px;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.map-card {
    background-color: rgba(12, 28, 23, 0.92);
    border: 1px solid var(--color-gold);
    backdrop-filter: var(--glass-blur);
    padding: 28px;
    border-radius: var(--border-radius-md);
    text-align: center;
    max-width: 360px;
    box-shadow: var(--shadow-gold);
    color: var(--color-text-light);
}

.map-card h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.map-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.map-card .btn {
    width: 100%;
}

.map-graphic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.35;
    z-index: 1;
}

/* --- Footer Section --- */
.main-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding-top: 100px;
    border-top: 1px solid rgba(170, 145, 100, 0.2);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand .logo-text {
    color: var(--color-text-light);
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-top: 24px;
    margin-bottom: 28px;
}

.footer-yelp-stars {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-gold);
}

.footer-links h4, .footer-compliance h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    color: var(--color-gold-light);
}

.footer-links ul, .footer-compliance ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a, .footer-compliance a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover, .footer-compliance a:hover {
    color: var(--color-gold);
    transform: translateX(6px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- Modals & Overlays --- */
.modal-overlay, .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 28, 23, 0.88);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active, .lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Service Modal Card */
.modal-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 750px;
    padding: 56px;
    position: relative;
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-medium);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close, .lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2.8rem;
    cursor: pointer;
    color: var(--color-primary);
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover, .lightbox-close:hover {
    color: var(--color-gold-dark);
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.modal-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-dark);
    font-weight: 700;
    margin-bottom: 28px;
}

.modal-body {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    line-height: 1.75;
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-features-title {
    font-family: var(--font-sans);
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--color-primary);
}

.modal-features-list {
    list-style: none;
    margin-bottom: 36px;
}

.modal-features-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 1rem;
}

.modal-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold-dark);
    font-weight: 700;
    font-size: 1.15rem;
}

/* Lightbox Specifics */
.lightbox-close {
    color: var(--color-text-light);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    font-family: var(--font-serif);
    color: var(--color-text-light);
    font-size: 1.4rem;
    text-align: center;
}

/* --- Responsive Design Media Queries --- */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
    .grid-2, .grid-2-valign {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .image-stack {
        width: 80%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-intro {
        padding: 56px;
    }
    
    .booking-form-container {
        padding: 56px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-info-grid {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-primary-dark);
        padding: 56px;
        transform: translateX(-100%);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }
    
    .nav-link {
        color: var(--color-text-light);
        font-size: 1.25rem;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .circular-frame {
        width: 320px;
        height: 320px;
    }
    
    .testimonial-slide {
        padding: 0 12px;
    }
    
    .testimonial-quote {
        font-size: 1.35rem;
    }
    
    .booking-intro, .booking-form-container {
        padding: 40px 24px;
    }
    
    .luxury-map-placeholder {
        min-height: 380px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .modal-card {
        padding: 40px 24px;
        max-width: 95%;
    }
    
    .modal-title {
        font-size: 1.95rem;
    }
}
