:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #d946ef;
    --accent-secondary: #8b5cf6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Dynamic background */
.glow-bg {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    transition: transform 0.3s ease-out;
}

.glow-bg::after {
    content: '';
    position: absolute;
    bottom: -100%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    z-index: 10;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    display: block;
    margin-top: -5px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.nav a:hover {
    color: var(--accent);
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-btn {
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(217, 70, 239, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(217, 70, 239, 0.4);
}

/* Glass Card */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat .number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Services Section */
.services {
    padding: 6rem 5%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 10;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.services h2 span {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
    border-color: rgba(217, 70, 239, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Location Details Section */
.location-details {
    padding: 4rem 5%;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.loc-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.loc-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.loc-card p, .loc-card ul {
    color: var(--text-muted);
    line-height: 1.6;
}

.loc-card ul {
    padding-left: 1.2rem;
}

.loc-card li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.seo-text {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    margin: 2rem 0 !important;
    line-height: 1.6;
}

.footer .sub-text {
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h1 span {
        font-size: 2.8rem;
    }
    
    .nav {
        display: none;
    }
}

/* --- Hero Video Background --- */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content, .scroll-indicator {
    position: relative;
    z-index: 2;
}

/* GSAP Initial States */
.hero-name-line, .hero-eyebrow, .hero-subtitle, .hero-btn {
    opacity: 0;
    visibility: hidden; /* Prevent flash of unstyled content */
}

/* --- Custom Lightbox --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* For mobile browsers with dynamic UI */
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 36px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.lightbox-open {
    overflow: hidden !important;
}

/* Portfolio Card Clickable */
.portfolio-card img {
    cursor: zoom-in;
}
