:root {
    --primary: #ffffff;
    --accent: #4ade80;
    --accent-hover: #22c55e;
    --bg-overlay: rgba(0, 0, 0, 0.25); /* Lighter overlay — let the video live */
    --glass-bg: rgba(10, 10, 14, 0.70);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

body, html {
    font-family: var(--font-main);
    color: var(--primary);
    background-color: transparent;
    scroll-behavior: smooth;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.bg-dark {
    background-color: #0f0f13;
    background-image: radial-gradient(circle at top right, rgba(74, 222, 128, 0.05), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 40%);
}

/* ===========================================================
   CONTENT SECTIONS — no more heavy dark bars.
   Sections are now fully transparent, letting the video show.
   Only a very soft inner shadow at the edges keeps it subtle.
   =========================================================== */
.content-section {
    width: 100%;
    padding: 5rem 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background: transparent;
    position: relative;
}

/* ===========================================================
   LOCALIZED TEXT GLOW — the key technique.
   A pseudo-element places a radial dark halo directly behind
   the text/title only, fading to fully transparent outward.
   =========================================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
    display: inline-block;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 800;
    display: inline-block;
}

.page-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #d4d4d8;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Center the inline-block title elements in their parent */
.page-container > .page-title,
.page-container > .page-subtitle,
.content-section .section-title {
    display: inline-block;
}
/* Wrapper to center inline-block children */
.title-wrapper {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

/* ===========================================================
   FIXED BACKGROUND VIDEO
   =========================================================== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100svh;
    z-index: -2;
    background: #000;
}
#bg-video {
    width: 100vw; height: 100svh; object-fit: cover;
}
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-overlay);
    z-index: -1;
}

/* ===========================================================
   LOGO IMAGE IN NAVBAR
   =========================================================== */
.logo { text-decoration: none; display: flex; align-items: center; }
.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

/* ===========================================================
   NAVBAR — fix hamburger z-index and visibility
   =========================================================== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5% 1.5rem; /* extra bottom padding for the fade */
    background: transparent;
    border-bottom: none;
    z-index: 1000;
}
.navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
}
.hamburger span { width: 25px; height: 3px; background: white; border-radius: 2px; transition: 0.3s; display: block; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: var(--primary); text-decoration: none; font-weight: 500; font-size: 1.05rem;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-links a.nav-cta {
    background: var(--accent);
    color: #000;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}
.nav-links a.nav-cta:hover {
    background: var(--accent-hover, #22c55e);
    transform: translateY(-1px);
    color: #000;
}

/* ===========================================================
   MAIN CONTENT WRAPPERS
   =========================================================== */
.main-content {
    flex: 1;
    padding-top: 80px;
    display: flex; flex-direction: column; align-items: center;
    width: 100%;
}
.hero {
    flex: 1; display: flex; justify-content: center; align-items: center; padding: 20px;
    width: 100%; min-height: calc(100svh - 80px);
}
.page-container {
    width: 100%;
    max-width: 1200px;
    padding: 3rem 2rem;
}

/* ===========================================================
   GLASSMORPHISM CARDS — kept for actual content containers
   =========================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out forwards;
}
.glass-card.info-card { text-align: left; margin-bottom: 2rem; }

/* Service cards — clean, readable but not gimmicky */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.service-card {
    background: rgba(6, 6, 9, 0.55);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(74, 222, 128, 0.12);
}
.service-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); }
.service-price { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--accent); }
.service-desc { color: #ffffff; line-height: 1.6; margin-bottom: 1.5rem; }
.service-list { list-style: none; color: #e4e4e7; margin-bottom: 1.5rem; }
.service-list li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }
.service-list li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: bold; }

/* Fix iOS phone number link styling globally */
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

/* ===========================================================
   TYPOGRAPHY
   =========================================================== */
.badge { display: inline-block; padding: 6px 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem; }
.title { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 0.5rem; }
.subtitle { font-size: 1.2rem; color: #e4e4e7; margin-bottom: 2rem; }

/* Features */
.feature-item { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 1.05rem; }

/* Buttons */
.cta-button { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    height: 52px; 
    white-space: nowrap; 
    padding: 0 2rem; 
    background: var(--primary); 
    color: #000; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 1.1rem; 
    transition: all 0.3s ease; 
    text-align: center; 
    cursor: pointer; 
    border: none; 
    letter-spacing: 0.5px; 
}
.cta-button:hover { transform: translateY(-2px); background: #f4f4f5; box-shadow: 0 6px 20px rgba(255,255,255,0.3); }
.cta-button.outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.cta-button.outline:hover { background: var(--primary); color: #000; }

/* Lock background scrolling when modal is open */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* ===========================================================
   FORMS & MODAL
   =========================================================== */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .form-row { flex-direction: row; }
    .form-row > * { flex: 1; }
}
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e4e4e7;
}
.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.7);
}
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: rgba(10, 10, 14, 0.88);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.modal-close:hover { opacity: 1; }

/* ===========================================================
   FOOTER — new layout
   =========================================================== */
footer {
    position: relative;
    text-align: center;
    padding: 4rem 2rem 2rem;
    border-top: none;
    background: transparent;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    mask-image: linear-gradient(to top, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 70%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-logo { height: 50px; width: auto; object-fit: contain; border-radius: 8px; opacity: 0.85; }
.footer-brand p { color: #a1a1aa; font-size: 0.9rem; line-height: 1.6; }
.footer-copy { color: #52525b; font-size: 0.82rem; line-height: 1.7; }
.footer-copy a { color: #71717a; text-decoration: underline; }

/* ===========================================================
   CINEMATIC HERO
   =========================================================== */
.hero-cinematic, .hero-about {
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: 0 6% 8%;
}
.hero-about {
    padding-bottom: 12%; /* Lift the about content slightly higher so the CTA is above fold */
}
.hero-content {
    max-width: 780px;
    position: relative;
}

/* Per-line halo — each line of text gets its own tight dark backing.
   Works by setting inline + box-decoration-break:clone so the background
   resets at every line break, accumulating only where characters live. */
.line-halo {
    display: inline;
    padding: 0 24px;
    background-color: transparent;
    background-image: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.72) 24px, 
        rgba(0, 0, 0, 0.72) calc(100% - 24px), 
        transparent 100%
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height: inherit;
    border-radius: 0;
}


.hero-title {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    /* Soft shadow to keep text readable on any frame */
    text-shadow: 0 2px 40px rgba(0,0,0,0.6), 0 0 80px rgba(0,0,0,0.4);
}
.hero-accent { color: var(--accent); }
.hero-sub {
    font-size: 1.15rem;
    color: #d4d4d8;
    line-height: 1.25;
    margin-bottom: 2rem;
    text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}
.stat-label {
    font-size: 0.75rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

/* ===========================================================
   SERVICE CARD ACTIONS — side-by-side View Details + Book
   =========================================================== */
.service-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.service-card-actions .cta-button {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
}
/* "View Details" ghost button */
.detail-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    white-space: nowrap;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--primary);
    font-family: var(--font-main);
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.detail-btn:hover {
    border-color: var(--accent);
    background: rgba(74, 222, 128, 0.07);
    color: var(--accent);
}

/* ===========================================================
   SERVICE DETAIL MODAL content styles
   =========================================================== */
.svc-modal-title { margin-bottom: 0.25rem; }
.svc-modal-price { color: var(--accent); font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.svc-modal-desc  { color: #d4d4d8; line-height: 1.7; margin-bottom: 1.25rem; }
.svc-modal-list  { list-style: none; margin-bottom: 1rem; }
.svc-modal-list li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; color: #e4e4e7; border-bottom: 1px solid rgba(255,255,255,0.05); }
.svc-modal-list li::before { content: '✓'; color: var(--accent); position: absolute; left: 0; font-weight: bold; }
.details-note {
    font-size: 0.85rem;
    color: #a1a1aa;
    font-style: italic;
    padding-top: 0.75rem;
    border-top: 1px solid var(--glass-border);
}

/* ===========================================================
   GOOGLE MAPS WRAPPER
   =========================================================== */
.map-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    line-height: 0;
}
.map-wrapper iframe {
    filter: invert(92%) hue-rotate(180deg) brightness(0.85) contrast(1.05);
    display: block;
}


/* ===========================================================
   FEATURED CARD
   =========================================================== */
.service-card--featured {
    border-color: rgba(74,222,128,0.3);
    background: rgba(10, 18, 12, 0.65);
    position: relative;
}
.featured-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 0.75rem;
}

/* Phone CTA on booking page */
.phone-cta {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: opacity 0.2s;
    text-shadow: 0 2px 20px rgba(74,222,128,0.3);
}
.phone-cta:hover { opacity: 0.8; }



/* ===========================================================
   MOBILE RESPONSIVENESS
   =========================================================== */
@media (max-width: 768px) {
    .content-section { padding: 2rem 0; }
    .page-container { padding: 1rem 0.5rem; }
    .glass-card { padding: 1.25rem 1rem; border-radius: 16px; width: 100%; }
    .service-card { padding: 1.25rem 1rem; border-radius: 14px; }
    .grid-container { gap: 1rem; }

    .form-row { gap: 0.75rem; }
    .booking-form { gap: 0.75rem; }
    .form-group { gap: 0.25rem; }
    .form-control { padding: 0.75rem; }

    /* About grid stacks on mobile */

    /* Force buttons to wrap on very small screens if they can't fit */
    .service-card-actions { flex-direction: column; }
    .service-card-actions .cta-button, .service-card-actions .detail-btn { width: 100%; }

    /* Hero cinematic adjusts to bottom-left layout */
    .hero-cinematic, .hero-about { padding: 0 5% 10%; align-items: flex-end; }
    .hero-about { padding-bottom: 25svh; }
    .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); letter-spacing: -1px; }
    .hero-stats { gap: 1rem; }
    .stat-divider { height: 28px; }

    /* Hamburger MUST show */
    .hamburger { display: flex !important; }
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100svh;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        border: none;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    .nav-links.active { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0); 
    }
    .nav-links a { font-size: 1.5rem; font-weight: 700; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .title { font-size: 2.2rem; }
    .page-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }

    .hero-actions { flex-direction: column; }
    .hero-actions .cta-button { text-align: center; }


}

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

@media (min-width: 1024px) {
    .services-grid-2x2 {
        grid-template-columns: 1fr 1fr;
    }
}
