/* ==========================================================================
   Modern CSS Architecture
   ========================================================================== */
:root {
    /* Premium Agency Palette */
    --clr-bg: #0a0a0c;        /* Pitch black/dark slate */
    --clr-bg-alt: #131418;    /* Slightly lighter slab */
    --clr-text: #f0f0f0;      /* Crisp white */
    --clr-text-muted: #9fa2a8;
    
    --clr-accent: #00e5ff;    /* Vibrant Cyan / Electric Blue */
    --clr-accent-dim: rgba(0, 229, 255, 0.15);
    
    --clr-surface: #1e1f26;   /* Card surface */
    --clr-border: #2c2e36;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--clr-bg);
}

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

img { width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }

.wrapper {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography Extensions */
.text-gradient {
    background: linear-gradient(90deg, #fff 0%, var(--clr-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-accent { color: var(--clr-accent); }

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    font-size: 1rem;
    gap: 10px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-accent);
    color: #000;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}

.btn-solid-white {
    background: #fff;
    color: #000;
}

.btn-solid-white:hover {
    background: var(--clr-accent);
    transform: translateY(-3px);
}

.btn-blur {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.btn-blur:hover {
    background: rgba(255,255,255,0.2);
}

/* ==========================================================================
   Header Navbar (Glassy)
   ========================================================================== */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    width: 95%; max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo { 
    height: 90px; 
    background-color: #ffffff; 
    padding: 8px 16px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.logo-text {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: #fff;
}

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

.tel-link {
    color: #fff;
    font-weight: 600;
}

.hamburger {
    display: none;
    width: 30px; height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.hamburger .line { width: 100%; height: 2px; background: #fff; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh; min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute; inset: -5%;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.1s linear; /* Interacted via JS parallax */
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(110deg, rgba(10,10,12,0.7) 0%, rgba(10,10,12,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.glow-orb {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 3;
    opacity: 0.4;
    animation: orb-float 15s infinite alternate ease-in-out;
}

.orb-1 {
    background: var(--clr-accent);
    top: -10%; left: -10%;
}

.orb-2 {
    background: #4361ee;
    bottom: -20%; right: -10%;
    animation-delay: -5s;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

.pulse-badge {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 var(--clr-accent-dim); }
    100% { box-shadow: 0 0 20px 5px rgba(0, 229, 255, 0); border-color: rgba(0,229,255,1); }
}

.animated-gradient {
    background: linear-gradient(90deg, #fff 0%, var(--clr-accent) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shine 4s linear infinite;
}

@keyframes text-shine {
    to { background-position: 200% center; }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    z-index: 5;
    animation: bounce 2s infinite ease-in-out;
}

.scroll-indicator:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #000;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 15px); }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    color: #fff;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--clr-accent-dim);
    color: var(--clr-accent);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.display-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: white;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex; gap: 20px;
}

.glass-metric {
    position: absolute;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.metric-1 { bottom: 10%; right: 10%; }
.metric-2 { top: 20%; right: 15%; }

.metric-icon {
    width: 50px; height: 50px;
    background: var(--clr-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    font-size: 1.5rem;
}

.metric-text strong { display: block; font-size: 1.2rem; }
.metric-text span { font-size: 0.9rem; color: var(--clr-text-muted); }

/* ==========================================================================
   Bento Box Layout (Services)
   ========================================================================== */
.bento-section {
    padding: 120px 0;
    background-color: var(--clr-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    color: #fff;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem; color: var(--clr-text-muted);
    max-width: 600px; margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
    gap: 24px;
}

.bento-card {
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background: var(--clr-surface);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-tall { grid-column: span 1; grid-row: span 2; }
.bento-wide { grid-column: span 2; grid-row: span 1; }

.bento-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    z-index: 1; transition: transform 0.6s ease;
}

.bento-card:hover .bento-bg {
    transform: scale(1.08);
}

.bento-glass-content {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius-md);
    z-index: 2;
    color: #fff;
    display: flex; flex-direction: column; align-items: flex-start;
}

.bento-glass-content.horizontal {
    flex-direction: row; gap: 30px; align-items: center;
}

.icon-circle {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--clr-accent);
}

.icon-circle .bento-inline-icon {
    display: block;
    flex-shrink: 0;
}

.bento-glass-content.horizontal .icon-circle { margin-bottom: 0; flex-shrink: 0; }

.bento-glass-content h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; }
.bento-glass-content p { color: var(--clr-text-muted); font-size: 0.95rem; }

/* Single-row bento cells: tighter glass panel so copy fits over photo */
.bento-glass-content--compact {
    padding: 18px 20px;
    bottom: 14px;
    left: 14px;
    right: 14px;
}
.bento-glass-content--compact .icon-circle {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.bento-glass-content--compact h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    line-height: 1.2;
}
.bento-glass-content--compact p {
    font-size: 0.82rem;
    line-height: 1.35;
    margin: 0;
}

.arrow-link {
    position: absolute; top: 30px; right: 30px;
    width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateX(-10px); transition: all 0.3s ease;
}

.bento-card:hover .arrow-link { opacity: 1; transform: translateX(0); }

/* Solid Color Cards */
.solid-bg { position: absolute; inset: 0; z-index: 1; }
.solid-bg.dark-blue { background: var(--clr-surface); }
.solid-bg.accent { background: var(--clr-accent); }
.solid-bg.dark-slate { background: #1a1c22; }

.bento-content {
    position: relative; z-index: 2; padding: 40px; color: #fff; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
}

.bento-content.text-dark { color: #000; }

.bento-icon { font-size: 3rem; margin-bottom: 20px; opacity: 0.8; }
.solid-bg.dark-slate + .bento-content .bento-icon { color: var(--clr-accent); }
.solid-bg.dark-blue + .bento-content .bento-icon { color: #fff; }

/* ==========================================================================
   Split Layout (About)
   ========================================================================== */
.split-section {
    display: flex;
    min-height: 100vh;
    background: var(--clr-bg-alt);
    align-items: center;
    overflow: hidden;
}

.split-image {
    flex: 1; height: 100vh;
}

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

.split-content {
    flex: 1; padding: 100px;
    color: #fff;
}

.brand-element {
    font-size: 0.85rem; font-weight: 700; letter-spacing: 3px; color: var(--clr-accent); margin-bottom: 30px;
}

.split-content h2 {
    font-family: var(--font-heading); font-size: 4rem; line-height: 1.1; margin-bottom: 40px;
}

.lead-text {
    font-size: 1.4rem; font-weight: 300; margin-bottom: 25px; line-height: 1.5; color: #fff;
}

.split-content p { color: var(--clr-text-muted); font-size: 1.1rem; margin-bottom: 50px; }

.stats-row {
    display: flex; gap: 40px; border-top: 1px solid var(--clr-border); padding-top: 40px;
}

.counter {
    font-family: var(--font-heading); font-size: 2.5rem; color: #fff; margin-bottom: 10px;
}
.stat-item p { margin-bottom: 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   Contact Area
   ========================================================================== */
.contact-section {
    padding: 120px 0;
    background: #050505;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-form-container {
    padding-right: 20px;
}

.massive-text {
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(to bottom, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition-fast);
}

.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    background: rgba(255,255,255,0.08);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 18px;
    border: none;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 450px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-modern {
    background: #000; color: #fff; padding: 100px 0 40px; border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    display: flex; justify-content: space-between; margin-bottom: 80px;
}

.footer-brand img { width: 10vw; margin-bottom: 30px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; color: var(--clr-text-muted); }

.footer-links { display: flex; gap: 80px; }

.link-col h4 {
    font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 25px; letter-spacing: 1px;
}

.link-col p { color: var(--clr-text-muted); line-height: 1.8; }
.hover-link { display: block; color: var(--clr-text-muted); margin-bottom: 15px; font-weight: 500; }
.hover-link:hover { color: var(--clr-accent); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--clr-text-muted); font-size: 0.9rem;
}

.socials { display: flex; gap: 20px; }
.socials a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.socials a:hover { background: var(--clr-accent); border-color: var(--clr-accent); color: #000; }

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-up { opacity: 0; transform: translateY(60px); transition: 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(60px); transition: 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1); }

.in-view { opacity: 1; transform: translate(0) scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ==========================================================================
   Responsive Architecture
   ========================================================================== */
@media (max-width: 1200px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
    .bento-large { grid-column: span 3; }
    .bento-wide { grid-column: span 3; }
    .split-content { padding: 60px; }
    .display-title { font-size: 4.5rem; }
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-tall { grid-column: span 2; grid-row: span 1; }
    .bento-large { grid-column: span 2; grid-row: span 1;}
    .bento-wide { grid-column: span 2; }
    
    .split-section { flex-direction: column; }
    .split-image { height: 50vh; width: 100%; }
    
    .footer-top { flex-direction: column; gap: 50px; }
    .massive-text { font-size: 4rem; }
    
    .glass-metric { display: none; } /* Hide floating elements on tablet for cleanliness */
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions .btn, .tel-link { display: none; }
    .hamburger { display: flex; }
    .display-title { font-size: 3.5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-tall, .bento-wide { grid-column: span 1; }
}
