/* ==========================================================================
   WHIP DETAILERS - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Premium Dark Mode, Glassmorphism, Neon Lime Accents, Local Fonts
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts Setup (100% Local for GDPR Compliance)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Outfit';
    src: url('../assets/fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../assets/fonts/Outfit-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../assets/fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-dark: #070709;
    --color-surface-1: #0e0e12;
    --color-surface-2: #16161f;
    --color-surface-3: #1f1f2a;
    
    /* White / Silver Accents */
    --color-primary: #ffffff;
    --color-primary-hover: #e5e7eb;
    --color-primary-rgb: 255, 255, 255;
    --color-secondary: #a1a1aa; /* Silver for subtle gradients */
    
    /* Text Colors */
    --color-text-main: #f3f4f6;
    --color-text-sub: #9ca3af;
    --color-text-muted: #6b7280;
    
    /* Gradients */
    --gradient-accent: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-surface: linear-gradient(180deg, rgba(22, 22, 31, 0.8) 0%, rgba(14, 14, 18, 0.95) 100%);
    
    /* Borders & Shadow Glows */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glass-focus: 1px solid rgba(var(--color-primary-rgb), 0.5);
    --shadow-neon-glow: 0 0 20px rgba(var(--color-primary-rgb), 0.15);
    --shadow-neon-glow-strong: 0 0 30px rgba(var(--color-primary-rgb), 0.3);
    
    /* Transitions & Corners */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-out;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Layout */
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title.text-left {
    text-align: left;
}

.section-description {
    color: var(--color-text-sub);
    font-size: clamp(16px, 1.8vw, 18px);
}

/* --------------------------------------------------------------------------
   5. Buttons & Global Call-to-Actions
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000000;
    box-shadow: var(--shadow-neon-glow);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-neon-glow-strong);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn-full {
    display: flex;
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. Navigation Header (Glassmorphic)
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(7, 7, 9, 0.65);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* Sticky Shrink State */
.main-header.scrolled {
    height: 65px;
    background-color: rgba(7, 7, 9, 0.9);
}

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

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.logo-whip {
    color: var(--color-primary);
}

.logo-detailers {
    color: #ffffff;
    font-weight: 400;
    font-size: 18px;
    margin-left: 2px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-mobile-btn {
    display: none !important;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-sub);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger menu toggle button for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Left-to-right dark gradient for text readability + radial fade to darken edges + bottom blend */
    background: linear-gradient(90deg, rgba(7, 7, 9, 0.9) 0%, rgba(7, 7, 9, 0.6) 45%, rgba(7, 7, 9, 0.1) 75%, rgba(7, 7, 9, 0.3) 100%),
                radial-gradient(circle at 70% 50%, rgba(7, 7, 9, 0) 0%, rgba(7, 7, 9, 0.85) 85%),
                linear-gradient(180deg, rgba(7, 7, 9, 0) 60%, rgba(7, 7, 9, 1) 100%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(85vh - var(--header-height));
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 48px; /* Prevents overlap on shorter viewports */
}

.hero-content {
    max-width: 650px;
    margin-top: auto;
    margin-bottom: auto;
}

.hero-tagline {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding: 6px 14px;
    background-color: rgba(var(--color-primary-rgb), 0.1);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    border-radius: 50px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: #e5e7eb; /* Lightened from grey to bright silver-grey */
    margin-bottom: 40px;
    max-width: 580px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: auto;
}

.stat-card {
    background: rgba(22, 22, 31, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(var(--color-primary-rgb), 0.3);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-sub);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--color-bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--gradient-surface);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--color-primary-rgb), 0.06);
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-primary);
    color: #000000;
    box-shadow: var(--shadow-neon-glow);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: #ffffff;
}

.service-card-text {
    color: var(--color-text-sub);
    font-size: 15px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Before/After Comparison Slider Section
   -------------------------------------------------------------------------- */
.before-after-section {
    padding: 100px 0;
    background-color: #0b0b0e;
}

.slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-glass);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1; /* Standard square ratio since generated images are 1:1 */
    user-select: none;
    -webkit-user-select: none;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* The Before image sits on top, dynamically sized */
.before-image {
    width: 50%;
    z-index: 2;
}

/* We force the image in the top-sized container to always be equal to the slider's full width */
.before-image img {
    width: 900px; /* Base width matching slider container max-width */
    max-width: none;
    height: 100%;
}

.after-image {
    width: 100%;
    z-index: 1;
}

/* Labels */
.label-tag {
    position: absolute;
    top: 24px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    border-radius: 50px;
    border: var(--border-glass);
    z-index: 5;
}

.label-before {
    left: 24px;
}

.label-after {
    right: 24px;
}

/* Slider Bar and Button Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
    box-shadow: var(--shadow-neon-glow);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.handle-line {
    flex-grow: 1;
    width: 2px;
    background-color: var(--color-primary);
}

.handle-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #000000;
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow-neon-glow-strong), 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.slider-handle:hover .handle-button,
.slider-handle:active .handle-button {
    background-color: var(--color-primary);
    color: #000000;
    transform: scale(1.1);
}

.handle-arrow {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   10. Benefits Section
   -------------------------------------------------------------------------- */
.benefits-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.benefits-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-glass);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

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

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 20px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

.benefits-list h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.benefits-list p {
    color: var(--color-text-sub);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   11. Pricing Packages Section
   -------------------------------------------------------------------------- */
.packages-section {
    padding: 100px 0;
    background-color: #0b0b0e;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.package-card {
    background: var(--gradient-surface);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Featured / Highlighted Package */
.package-card.featured {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-neon-glow);
    background: linear-gradient(180deg, rgba(22, 22, 31, 0.9) 0%, rgba(7, 7, 9, 0.98) 100%);
}

.package-card.featured:hover {
    box-shadow: var(--shadow-neon-glow-strong);
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: var(--shadow-neon-glow);
}

.package-header {
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}

.package-name {
    font-size: 22px;
    margin-bottom: 12px;
    color: #ffffff;
}

.package-price {
    font-size: 18px;
    color: var(--color-text-sub);
    margin-bottom: 8px;
}

.price-val {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.package-card.featured .price-val {
    color: var(--color-primary);
}

.package-meta {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Features List */
.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.package-features li {
    font-size: 15px;
    color: var(--color-text-sub);
    position: relative;
    padding-left: 24px;
}

.package-features li::before {
    content: '•';
    color: var(--color-primary);
    font-size: 20px;
    position: absolute;
    left: 4px;
    top: -2px;
}

.package-features strong {
    color: #ffffff;
}

/* Special Standalone Packages */
.special-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.package-card-sm {
    background: var(--gradient-surface);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card-sm:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.package-card-sm h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.package-card-sm p {
    color: var(--color-text-sub);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   12. Simulated Instagram Section
   -------------------------------------------------------------------------- */
.gallery-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.insta-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    border: var(--border-glass);
}

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

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

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

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

.insta-icon {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.4);
}

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

/* --------------------------------------------------------------------------
   13. Contact Form & Map Section
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    background-color: #0b0b0e;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-container {
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    gap: 60px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-intro-text {
    color: var(--color-text-sub);
    font-size: 15px;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-surface-2);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-detail-item h5 {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

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

/* Contact Form */
.contact-form-block {
    background-color: var(--color-surface-1);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-sub);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 15px;
    color: #ffffff;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(var(--color-primary-rgb), 0.15);
}

/* Dropdown arrow fix */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 48px;
}

.form-group select option {
    background-color: var(--color-surface-2);
}

/* GDPR Checkbox Style */
.form-gdpr {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 8px;
}

.form-gdpr input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    accent-color: var(--color-primary);
    margin-top: 3px;
    cursor: pointer;
}

.gdpr-label {
    font-size: 13px;
    color: var(--color-text-sub);
    line-height: 1.5;
}

/* Trigger buttons disguised inside text labels */
.legal-trigger-inline {
    display: inline;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.legal-trigger-inline:hover {
    color: var(--color-primary-hover);
}

/* Form Status Message */
.form-status-message {
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    min-height: 22px;
}

.form-status-message.success {
    color: var(--color-primary);
}

.form-status-message.error {
    color: #ff4d4d;
}

/* --------------------------------------------------------------------------
   14. Footer Layout
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--color-surface-1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-links nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-btn {
    font-size: 14px;
    color: var(--color-text-sub);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.footer-links .divider {
    color: var(--color-text-muted);
    user-select: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   15. Legal Overlays & Native Dialogs (GDPR Clean)
   -------------------------------------------------------------------------- */
.legal-dialog {
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    background-color: var(--color-surface-2);
    color: var(--color-text-main);
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    margin: auto;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* Dialog open animation */
.legal-dialog[open] {
    animation: dialogShow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Backdrop blur overlay natively built-in */
.legal-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dialog-header h3 {
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
}

.dialog-close {
    font-size: 32px;
    line-height: 1;
    color: var(--color-text-sub);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dialog-close:hover {
    color: var(--color-primary);
}

.dialog-body {
    padding: 32px;
    overflow-y: auto;
    max-height: calc(80vh - 85px); /* dynamic spacing minus header */
}

.dialog-body h4 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: #ffffff;
}

.dialog-body h5 {
    font-size: 15px;
    margin: 16px 0 8px;
    color: var(--color-primary);
}

.dialog-body p {
    color: var(--color-text-sub);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.dialog-body a {
    color: var(--color-primary);
    text-decoration: underline;
}

.dialog-body a:hover {
    color: var(--color-primary-hover);
}

.dialog-body strong {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. CSS Scroll Animation Classes
   -------------------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Delay modifiers for lists & grids */
.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.45s; }

/* Keyframe for Dialog Native Pop */
@keyframes dialogShow {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --------------------------------------------------------------------------
   17. Responsive Media Queries
   -------------------------------------------------------------------------- */

/* Tablet Screens (max 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-container {
        justify-content: center;
        gap: 50px;
    }

    .hero-stats {
        position: static;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-image-wrapper {
        order: 2;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Screens & Navigation Menu toggle (max 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Responsive slide down menu drawer */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(14, 14, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 50px 24px calc(40px + env(safe-area-inset-bottom));
        gap: 28px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 22px;
        font-weight: 600;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    .nav-mobile-btn {
        display: inline-flex !important;
        margin-top: auto; /* Pushes the button to the bottom of the drawer */
        width: 100%;
        max-width: 320px;
        padding: 16px;
    }
    
    .nav-actions {
        margin-right: 20px;
    }
    
    .nav-actions .btn {
        display: none !important;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Hero mobile layout spacing and text contrast */
    .hero-container {
        justify-content: flex-start;
        gap: 32px;
        padding-top: 15px;
        padding-bottom: 30px;
    }

    .hero-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-stats {
        margin-top: 0 !important;
        gap: 12px;
    }

    .hero-tagline {
        margin-top: 0;
        margin-bottom: 24px; /* Increased from 12px to 24px to leave space before the main heading */
    }

    .hero-bg-img {
        object-position: 55% center !important;
    }

    .hero-overlay {
        /* Even darker gradient for high text readability without blur, fading to solid black at the bottom */
        background: linear-gradient(180deg, 
            rgba(7, 7, 9, 0.95) 0%, 
            rgba(7, 7, 9, 0.85) 55%, 
            rgba(7, 7, 9, 1.0) 100%) !important;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-block {
        padding: 32px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }

    /* Force the Before/After relative width to adjust on mobile */
    .before-image img {
        width: 100vw; /* scales with screen sizes */
    }
}
