/* ==========================================================================
   1. GLOBAL & VARIABLES
   ========================================================================== */
:root {
    --blue: #1a73e8;
    --dark: #141414;
    --light: #ffffff;
    --border: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: var(--dark);
    background: var(--light);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */
button {
    background: transparent;
    border: 1px solid var(--light);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    color: var(--light);
}

button span { position: relative; z-index: 2; }

button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--light);
    transition: 0.4s ease-in-out;
    z-index: 1;
}

button:hover { color: var(--dark); }
button:hover::before { left: 0; }

/* ==========================================================================
   3. NAVIGATION
   ========================================================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: 0.4s ease;
}

.logo img { height: 70px; width: 70px; border-radius: 50%; object-fit: cover; }
.logo-dark { display: none; }

nav.scrolled {
    background: var(--light);
    padding: 15px 8%;
    border-bottom: 1px solid var(--border);
}

nav.scrolled .logo-light { display: none; }
nav.scrolled .logo-dark { display: block; }
nav.scrolled .nav-links a { color: var(--dark); }
/* --- THE BUTTON CHANGE --- */
nav.scrolled button { 
    border-color: var(--dark); 
    background: var(--dark); /* Makes the box black */
    color: var(--light);      /* Makes the text white */
}
nav.scrolled button::before { background: var(--light); }
nav.scrolled button:hover { color: var(--dark); }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { color: var(--light); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; cursor: pointer;}

/* ==========================================================================
   4. HERO SECTION (CENTERING FIXED)
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.hero-video-bg iframe {
    width: 115vw; height: 115vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-text {
    z-index: 2;
    color: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title span {
    display: block;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

/* Update these lines in Section 4 */
.hero-title .line-1 { font-size: 1.5rem; animation-delay: 1s; margin-bottom: 20px; }
.hero-title .line-2 { font-size: 2.5rem; font-weight: 900; animation-delay: 2.5s; margin-bottom: 20px; text-transform: uppercase; }
.hero-title .line-3 { font-size: 3.5rem; font-weight: 900; animation-delay: 4s; text-transform: uppercase; letter-spacing: -2px; }

.hero-btn {
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    animation-delay: 5.5s; /* Appears last after all text flows in */
    min-width: 200px;
}

/* Position Highlights at the Bottom Corners */
.highlight {
    position: absolute;
    bottom: 120px; /* Positions them 40px from the bottom of the hero */
    color: rgba(255, 255, 255, 0.8); 
    font-size: 0.75rem;
    font-weight: 900; /* Makes the text extra bold */
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 40;
    white-space: nowrap;
}

.highlight-left {
    left: 150px; /* Anchors to the left corner */
}

.highlight-right {
    right: 150px; /* Anchors to the right corner */
}

/* Hide on mobile to avoid overlap with the main text */
@media (max-width: 768px) {
    .highlight {
        display: none;
    }
}

/* ==========================================================================
   5. SECTIONS (Pricing & About)
   ========================================================================== */
.section-container { padding: 120px 8%; }

.section-header, .about-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.header-left, .about-branding {
    border-left: 6px solid var(--dark);
    padding-left: 30px;
}

.header-left h2, .about-branding h2 { font-size: 2.5rem; font-weight: 900; margin: 0; line-height: 1; text-transform: uppercase; }

.header-right-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.value-item { font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }

.pricing-list { border-top: 1px solid var(--border); }
.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}
.pricing-row:hover { padding-left: 15px; background: #fdfdfd; }
.row-price { font-size: 1.8rem; font-weight: 900; }

.about-content { max-width: 600px; line-height: 1.8; font-size: 1.1rem; }

/* ==========================================================================
   6. INQUIRY FORM (POP-UP)
   ========================================================================== */
.form-popup {
    display: none;
    position: fixed;
    top: 50% !important; 
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: var(--light);
    padding: 40px;
    z-index: 3000;
    width: 90%; 
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 2px solid #000;
    max-height: 90vh;
    overflow-y: auto;
    transition: max-width 0.4s ease, transform 0.2s ease;
}

.form-popup.expanded { max-width: 700px; }

.form-popup form input, 
.form-popup form select, 
.form-popup form textarea {
    width: 100%; 
    padding: 12px; 
    margin-bottom: 20px;
    border: none; 
    border-bottom: 1px solid var(--dark);
    font-family: inherit; 
    background: #f9f9f9;
    box-sizing: border-box;
}

.form-popup form textarea { min-height: 200px; resize: none; }

/* Form Button Styles (Dark Border, Slides Black) */
.form-popup form button { color: var(--dark); border: 1px solid var(--dark); }
.form-popup form button::before { background: var(--dark); }
.form-popup form button:hover { color: var(--light); }

/* ==========================================================================
   6b. FOOTER & SOCIAL MEDIA (3-COLUMN LAYOUT)
   ========================================================================== */
footer { 
    background: var(--dark); 
    color: var(--light); 
    padding: 80px 8% 40px 8%; 
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-column {
    flex: 1; /* Gives each column equal width */
}

/* LEFT COLUMN */
.footer-left { text-align: left; }

/* MIDDLE COLUMN */
.footer-middle { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.footer-middle h2 { margin-top: 0; margin-bottom: 20px; font-size: 1.8rem; }
.footer-middle button { min-width: 200px; }

/* RIGHT COLUMN */
.footer-right { text-align: right; }
.footer-email {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s;
}
.footer-email:hover { opacity: 0.7; }

/* SOCIAL MEDIA & TEXT LABELS */
.follow-text {
    display: block;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: flex-start; /* Keeps icons on the left */
}

.social-links a {
    color: var(--light);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.social-links a:hover { transform: translateY(-5px); }

/* COPYRIGHT AT THE VERY BOTTOM */
.copyright { 
    opacity: 0.4; 
    font-size: 0.7rem; 
    margin-top: 60px; 
    text-align: center; 
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* ==========================================================================
   7. MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Global & Section Layouts */
    .section-header, .about-layout { flex-direction: column; gap: 40px; }
    .header-right-values { grid-template-columns: 1fr; }
    nav { padding: 20px 5%; }

    /* 2. Hero Text Scaling */
    .line-3 { font-size: 2.5rem; }

    /* 3. Footer 3-Column to 1-Column Stack */
    .footer-grid {
        flex-direction: column; /* Stacks Left, Middle, and Right columns */
        align-items: center;
        text-align: center;
        gap: 50px; /* Space between the stacked sections */
    }

    .footer-left, 
    .footer-middle, 
    .footer-right {
        text-align: center; /* Centers text for all columns on mobile */
        width: 100%;
    }

    .social-links {
        justify-content: center; /* Centers icons on mobile */
        gap: 40px;
    }

    .social-links a {
        font-size: 2rem;
    }

    .copyright {
        text-align: center;
    }
}