/* --- CSS VARIABLES --- */
:root {
    --bg-dark: #121110;         
    --bg-light: #FAFAFA;        
    --bg-mid: #F0EDE6;          
    --text-cream: #E8D4B4;      
    --text-dark: #2A2825;       
    --text-muted: #5A564F;      
    --accent: #d4b886;          
    
    --font-primary: 'Poppins', sans-serif;
    --font-nav: 'Montserrat', sans-serif;
}

/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    animation: wakeUp 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* --- AMBIENT COOLING EFFECT --- */
.ambient-cooling {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 25vw; 
    pointer-events: none; 
    z-index: 50; 
    opacity: 0;
    animation: fadeCooling 3s ease forwards;
    animation-delay: 1.5s;
}

.ambient-cooling-left {
    left: 0;
    background: linear-gradient(to right, rgba(135, 206, 235, 0.25), transparent);
}

.ambient-cooling-right {
    right: 0;
    background: linear-gradient(to left, rgba(135, 206, 235, 0.25), transparent);
}

@keyframes fadeCooling {
    to { opacity: 1; }
}

@keyframes wakeUp {
    0% { filter: brightness(1.5) blur(10px); opacity: 0; }
    100% { filter: brightness(1) blur(0); opacity: 1; }
}

h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--bg-dark);
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.light-bg {
    background-color: var(--bg-light);
}

.mid-bg {
    background-color: var(--bg-mid);
}

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

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: var(--bg-dark); 
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 212, 180, 0.15);
}

.logo-container .logo {
    height: 90px; /* Increased to 90px as requested */
    object-fit: contain;
    mix-blend-mode: lighten; 
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-nav);
    color: var(--text-cream);
    font-size: 0.95rem; 
    text-transform: uppercase; 
    font-weight: 300; 
    letter-spacing: 3px; 
    position: relative;
}

/* TARGETED UNDERLINE: Only applies to links that are NOT the "Contact Us" button */
.nav-links a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-outline):hover::after {
    width: 100%;
}

/* --- BUTTONS --- */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-nav);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem; 
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 30px; 
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
    border: none;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--text-cream);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 184, 134, 0.3);
}

.btn-outline {
    border: 1px solid var(--text-cream);
    color: var(--text-cream);
}

.btn-outline:hover {
    background-color: var(--text-cream);
    color: var(--bg-dark);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    background-color: #25D366; 
    color: #ffffff;
    padding: 1rem 3rem;
    font-family: var(--font-nav);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.4s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&q=80') center/cover fixed;
    overflow: hidden;
}

.light-beam {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 70%);
    animation: rotateLight 15s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(235, 245, 250, 0.45), rgba(240, 248, 255, 0.85));
    z-index: 2;
}

@keyframes rotateLight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
    text-shadow: 0 4px 20px rgba(255,255,255,0.6);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* --- SPLIT LAYOUTS --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}
.split-layout.reverse > * {
    direction: ltr;
}

.text-content h2 {
    font-size: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.text-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.text-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

/* --- IMAGE GRIDS --- */
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.grid-img-large {
    grid-column: 1 / -1;
    height: 350px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.grid-img-small {
    height: 250px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.image-content {
    position: relative;
}

.tech-img {
    width: 85%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.tech-img-overlay {
    position: absolute;
    bottom: -10%;
    right: 0;
    width: 55%;
    border: 10px solid var(--bg-mid);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* --- BENEFITS CARDS --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.card {
    background: #FFFFFF;
    padding: 4rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent);
}

.card-icon {
    width: 50px;
    height: 50px;
    stroke: var(--accent);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--bg-dark);
    padding: 4rem 0;
}

.footer-logo {
    height: 60px;
    margin: 0 auto 1.5rem auto;
    mix-blend-mode: lighten;
}

footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s; 
    opacity: 0;
}

.slide-up {
    animation: fadeInUp 1.2s ease forwards;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 950px) {
    .split-layout, .card-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-img-overlay {
        position: relative;
        bottom: 0;
        width: 100%;
        border: none;
        margin-top: 1rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .ambient-cooling {
        display: none; 
    }
}