/*
Theme Name: GeneratePress Child
Theme URI: 
Description: Custom child theme for GeneratePress - Wasser Investigations Inc.
Author: 
Author URI: 
Template: generatepress
Version: 1.0.0
*/

/* ==========================================================================
   CUSTOM STYLES (extracted from HTML files)
   ========================================================================== */

:root {
    /* Official Brand Colors (Concept #1) */
    --brand-petrol: #004F59;
    --brand-slate: #7899A0;
    --brand-petrol-dark: #002B31;

    /* Global Default (Light Mode) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --text-main: #1A1C1E;
    --text-muted: #4A4E52;
    --accent: #004F59;
    --accent-dim: #00363D;
    --accent-muted: var(--brand-slate);
    --white: #FFFFFF;
    --border: rgba(0, 79, 89, 0.1);
    --mono: 'JetBrains Mono', monospace;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Local Hero/Light Section Variables */
    --hero-bg: var(--bg-primary);
    --hero-bg-alt: var(--bg-secondary);
    --hero-text: var(--text-main);
    --hero-text-muted: var(--text-muted);
    --hero-border: var(--border);

    /* Midnight Tactical (Restored to Teal) */
    --dark-bg: var(--brand-petrol-dark);
    --dark-bg-alt: rgba(0, 0, 0, 0.15);
    --dark-text: #E0E2E4;
    --dark-text-muted: #8A8E92;
    --dark-accent: #00A3B5;
    --dark-border: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Grain Overlay --- */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url("https://www.transparenttextures.com/patterns/stardust.png");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4 {
    font-family: 'Prata', serif;
    font-weight: 400;
    line-height: 1.1;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* --- Header & Navigation --- */
header {
    position: sticky;
    top: 0; left: 0; width: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-content {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.desktop-nav { flex: 1; display: flex; justify-content: center; }
.desktop-nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.desktop-nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition);
}
.desktop-nav ul li a:hover { color: var(--brand-petrol); }

.desktop-cta { display: inline-block; }

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-accent { background-color: var(--brand-petrol); color: var(--white); }
.btn-accent:hover { background-color: var(--text-main); color: var(--white); transform: translateY(-2px); }

/* --- Global Sections --- */
section { padding: 120px 0; position: relative; }

/* --- Hero Section --- */
.hero {
    display: flex;
    min-height: calc(100vh - 90px);
    background: var(--hero-bg);
    overflow: hidden;
    color: var(--text-main);
    padding: 0;
}

.hero-left {
    flex: 0 0 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 8% 80px max(40px, calc((100vw - 1400px) / 2 + 40px));
    position: relative;
    z-index: 2;
}

.hero-right {
    flex: 0 0 35%;
    background: var(--bg-secondary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border);
}

.hero-right::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    border: 1px solid rgba(0, 79, 89, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    color: var(--text-main);
    font-size: clamp(2.8rem, 5.5vw, 5.8rem);
    margin-bottom: 48px;
    letter-spacing: -2px;
    max-width: 950px;
}

.hero .redacted {
    background: var(--text-main);
    color: var(--text-main);
    padding: 0 8px;
    border-radius: 2px;
    transition: background 0.4s, color 0.4s;
    display: inline-block;
}
.hero .redacted:hover {
    background: transparent;
    color: var(--brand-petrol);
}

.strategy-content {
    max-width: 600px;
    text-align: left;
    position: relative;
}

.strategy-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.5;
}

.meta-label {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-petrol);
    margin-bottom: 16px;
    display: block;
    font-weight: 600;
}

.micro-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    font-weight: 500;
}

/* --- Intelligence Strip (Light Mode) --- */
.intel-strip {
    background: var(--bg-secondary);
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.intel-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.intel-stat {
    border-right: 1px solid var(--border);
    padding-right: 60px;
}

.intel-stat h2 { font-size: 4.5rem; color: var(--text-main); letter-spacing: -2px; }
.intel-content h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--brand-petrol); }
.intel-content p { color: var(--text-muted); font-size: 1.05rem; }

/* --- Featured Section (Light Mode) --- */
.featured-surveillance {
    background: var(--bg-primary);
    color: var(--text-main);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.featured-content h2 { margin-bottom: 30px; color: var(--text-main); }
.featured-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; }

.featured-visual {
    aspect-ratio: 4/5;
    background: var(--bg-secondary);
    border-radius: 4px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-visual svg { opacity: 0.15; transform: scale(1.5); stroke: var(--brand-petrol); }

/* --- Services Overview (Midnight Tactical - Dark Mode) --- */
.services-section {
    background: var(--dark-bg);
    color: var(--dark-text);
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 calc(100% - 5vw));
    padding: 180px 0;
    margin: -5vw 0;
    z-index: 5;
}

.services-section h2 { color: var(--white); text-align: center; margin-bottom: 80px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--dark-bg-alt);
    border: 1px solid var(--dark-border);
    padding: 50px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark-text);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    background: var(--white);
    color: var(--text-main);
    transform: translateY(-8px);
}

.service-card h4 { font-size: 1.6rem; margin-bottom: 15px; transition: color 0.3s; color: var(--white); }
.service-card:hover h4 { color: var(--brand-petrol); }
.service-card p { font-size: 1rem; color: var(--dark-text-muted); transition: color 0.3s; }
.service-card:hover p { color: var(--text-muted); }

.service-card.wide { grid-column: span 2; }

/* --- Why Choose (Light Mode) --- */
.why-choose {
    background: var(--bg-primary);
    color: var(--text-main);
    padding-top: 180px;
}

/* --- Methodology Timeline (Light Mode) --- */
#process {
    background: var(--bg-secondary);
    color: var(--text-main);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

#process h2 { color: var(--brand-petrol); text-align: center; margin-bottom: 80px; }

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px; top: 0; bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 64px;
}

.timeline-dot {
    position: absolute;
    left: 10px; top: 12px;
    width: 20px; height: 20px;
    background: var(--brand-petrol);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 79, 89, 0.1);
}

.timeline-item h3 { font-size: 1.6rem; color: var(--brand-petrol); margin-bottom: 10px; }
.timeline-item p { color: var(--text-muted); font-size: 1.05rem; }

/* --- Testimonials (Midnight Tactical - Dark Mode) --- */
.testimonials {
    background: var(--brand-petrol-dark);
    padding: 180px 0;
    text-align: center;
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 calc(100% - 5vw));
    margin: -5vw 0;
    z-index: 6;
}

.testimonials blockquote {
    font-family: 'Prata', serif;
    font-size: 2.4rem;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--white);
}

/* --- Geographic Operations (Light Mode) --- */
.geo-operations {
    background: var(--bg-primary);
    color: var(--text-main);
    padding-top: 180px;
}

.geo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.geo-content h2 { color: var(--text-main); margin-bottom: 30px; }
.geo-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; }

.location-marker {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-marker span { font-family: var(--mono); font-size: 12px; color: var(--brand-petrol); }

.geo-visual {
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.geo-visual svg { opacity: 0.3; transform: scale(1.5); stroke: var(--brand-petrol); }

/* --- Final CTA (Dark Mode) --- */
#contact-cta {
    background: var(--brand-petrol-dark);
    padding: 180px 0 140px;
    text-align: center;
    color: var(--dark-text);
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
    margin-top: -5vw;
}

#contact-cta h2 { color: var(--white); margin-bottom: 30px; }
#contact-cta p { color: var(--dark-text-muted); font-size: 1.25rem; margin-bottom: 48px; max-width: 700px; margin-inline: auto; }

/* --- Footer --- */
footer {
    background: #000;
    color: var(--dark-text-muted);
    padding: 100px 0 40px;
    border-top: 1px solid var(--dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 100px;
    margin-bottom: 80px;
    align-items: start;
}

.footer-logo img {
    height: 130px;
    width: auto;
    max-width: none;
    margin-bottom: 20px;
    display: block;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    padding: 5px;
    -webkit-appearance: none;
    appearance: none;
}
.mobile-menu-btn:focus { outline: none; box-shadow: none; }
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 40px 30px;
    border-top: 1px solid var(--border);
}
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.mobile-menu ul li a {
    display: block;
    padding: 14px 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}
.mobile-menu ul li a:hover { color: var(--brand-petrol); }
.mobile-menu.open { display: block; }

/* ==========================================================================
   Scroll Reveal Animation - Safe Version
   ========================================================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .desktop-nav { display: none !important; }
    .desktop-cta { display: none !important; }
    .mobile-menu-btn { display: flex !important; }
    .hero { flex-direction: column; }
    .hero-left, .hero-right { flex: 0 0 100%; padding: 80px 40px; }
    .hero-right { height: 400px; border-top: 1px solid var(--border); border-left: none; }
    .intel-grid, .featured-grid, .services-grid, .footer-grid, .geo-grid { grid-template-columns: 1fr; }
    .service-card.wide { grid-column: span 1; }
    .timeline { padding: 0 20px; }
    .intel-stat { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 40px; margin-bottom: 40px; }
    .services-section, .testimonials, #contact-cta { clip-path: none; margin: 0; padding: 120px 0; }
    .why-choose, .geo-operations { padding-top: 120px; }
    .footer-grid { gap: 40px; }
    .container { padding: 0 20px; }
}




