/* --- 1. RESET & VARIABLES (Apple Style) --- */
:root {
    --bg-body: #000000;          /* Pure Black */
    --glass-panel: rgba(255, 255, 255, 0.08); /* Frosted Glass Layer */
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f5f5f7;        /* Apple Off-White */
    --text-muted: #86868b;       /* Apple Grey */
    --accent: #d4af37;           /* Gold Accent */
    --accent-glow: rgba(212, 175, 55, 0.3);
    
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1); /* Smooth Physics */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Remove blue flash on mobile tap */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased; /* Crisp text on Mac */
    line-height: 1.6;
    overflow-x: hidden;
    
    /* App-like feel: Prevent text selection generally */
    user-select: none;
    -webkit-user-select: none;
}

/* Allow text selection only where useful */
.contact-details p, .info-box p, .sub-text {
    user-select: text;
    -webkit-user-select: text;
}

/* Custom Selection Color (Gold) */
::selection {
    background: var(--accent);
    color: #000;
}

/* Links: No Underlines */
a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


/* --- 2. FLOATING NAVBAR (Glass Island) --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 12px 30px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s var(--ease-apple);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    padding: 10px 25px;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    color: #fff;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 30px; }

.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}
.nav-links a:hover { color: #fff; }

.btn-book {
    background: #fff;
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.8rem !important;
}
.btn-book:hover {
    background: var(--accent); 
    box-shadow: 0 0 20px var(--accent-glow);
}

.hamburger { display: none; color: #fff; font-size: 1.2rem; cursor: pointer; }


/* --- 3. HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1633681926022-84c23e8cb2d6?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #000 10%, rgba(0,0,0,0.4) 60%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: floatUp 1.2s var(--ease-apple);
}

.tagline {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.sub-text {
    font-size: 1.3rem;
    color: #d1d1d1;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.cta-button {
    background: #0071e3;
    color: #fff;
    padding: 15px 35px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.2s var(--ease-apple), background 0.3s;
    border: 1px solid transparent;
}
.cta-button:hover {
    background: #0077ed;
    transform: scale(1.05);
}

.cta-button.outline {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}
.cta-button.outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

.stats-container {
    z-index: 2;
    display: flex;
    justify-content: space-around;
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px 40px;
    margin-top: 60px;
    width: 90%;
    max-width: 900px;
    animation: floatUp 1.5s var(--ease-apple);
}
.stat-box { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: #ccc; text-transform: uppercase; letter-spacing: 1px; }


/* --- 4. SECTIONS (General) --- */
.section-padding { padding: 100px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
    color: #fff;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -50px;
    margin-bottom: 60px;
}
.split-layout { display: flex; align-items: center; gap: 50px; }
.text-side { flex: 1; }
.image-side { flex: 1; }
.glass-frame {
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
}
.glass-frame img { width: 100%; border-radius: 2px; display: block; }
.signature { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.5rem; 
    margin-top: 30px; 
    color: var(--accent); 
    font-style: italic;
}


/* --- 5. SERVICES GRID --- */
.services { background: #050505; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--glass-panel);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    transition: transform 0.4s var(--ease-apple), background 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}
.service-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; color: #fff; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }


/* --- 6. GALLERY & BEFORE/AFTER SLIDER --- */
.gallery-section { background: #000; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- NEW SLIDER STYLES --- */
.ba-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    height: 400px; /* Fixed height for consistency */
    background: #111;
    border: 1px solid #333;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.ba-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* The AFTER image (Background) */
.img-after {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

/* The BEFORE image (Overlay) */
.img-before-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 50%; /* Default starting position */
    height: 100%;
    overflow: hidden;
    border-right: 3px solid var(--accent); /* The divider line */
    z-index: 2;
    will-change: width;
}

.img-before {
    display: block;
    height: 100%;
    object-fit: cover;
    /* IMPORTANT: This prevents squishing. Width is handled by JS but this is fallback */
    min-width: 100%; 
}

/* The Range Input (Invisible Controller) */
.ba-range {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: e-resize;
    margin: 0;
}

/* The Handle Circle */
.ba-handle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Regular Gallery Item (if not using slider) */
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(30%);
}


/* --- 7. REVIEWS --- */
.reviews-section { background: #080808; }
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.review-card {
    background: var(--dark-grey);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #333;
    text-align: center;
}
.review-card .stars { color: var(--accent); margin-bottom: 15px; font-size: 0.8rem; }
.review-card p { font-style: italic; color: #ccc; margin-bottom: 20px; }
.client-name { font-weight: 700; color: #fff; font-size: 0.9rem; }


/* --- 8. CONTACT & FOOTER --- */
.info-section {
    background: #080808;
    padding: 80px 5%;
    border-top: 1px solid #111;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.info-box {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.info-box h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.contact-details p { margin-bottom: 15px; color: #ccc; font-size: 1.1rem; }
.contact-details i { width: 30px; color: var(--accent); }
.contact-details a { color: #fff; border-bottom: 1px solid #333; }

.map-placeholder {
    flex: 1;
    min-width: 300px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
}

footer {
    border-top: 1px solid #222;
    padding: 40px 0;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    background: #000;
}


/* --- 9. ANIMATIONS --- */
@keyframes floatUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* --- 10. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar { width: 95%; top: 15px; padding: 15px 20px; }
    
    .hamburger { display: block; }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 0;
        border-radius: 20px;
        border: 1px solid var(--glass-border);
        text-align: center;
        display: none; 
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .hero h1 { font-size: 2.5rem; letter-spacing: -1px; }
    .hero-buttons { flex-direction: column; width: 100%; padding: 0 40px; }
    .stats-container { flex-direction: column; gap: 20px; padding: 20px; }
    .split-layout { flex-direction: column; }
    
    /* Make slider slightly shorter on mobile */
    .ba-card { height: 300px; }
}