/* =========================================
   BASE RESET & VARIABLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #070707;
    --bg-darker: #0f0f0f;
    --text-main: #d1d1d1;
    --text-muted: #888888;
    --accent: #d35400; /* Raw industrial rust/orange */
    --border: #222222;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Subpage padding fix to prevent content from hiding under fixed header */
body.subpage {
    padding-top: 90px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   FIXED TOP NAVIGATION
   ========================================= */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.top-nav .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 2px;
}

.desktop-nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--accent);
}

/* Highlights the current active page tab */
.desktop-nav a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

.desktop-nav .contact-btn {
    background-color: var(--accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    border-bottom: none !important; /* Prevents active line on button */
}

.desktop-nav .contact-btn:hover {
    background-color: #a04000;
    color: #fff;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
}

.section-heading {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    display: inline-block;
}

.text-center .section-heading {
    border-left: none;
    border-bottom: 4px solid var(--accent);
    padding-left: 0;
    padding-bottom: 5px;
}

.statement {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1.3;
}

.quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.bg-darker { background-color: var(--bg-darker); }
.text-center { text-align: center; }
.mt-small { margin-top: 20px; }
.mt-large { margin-top: 60px; }
.mb-small { margin-bottom: 20px; }
.mb-large { margin-bottom: 60px; }

/* Grid Systems (Mobile First) */
.grid-2-col, .grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* =========================================
   SPLIT HERO SECTION & AUTO-SLIDER
   ========================================= */
.hero-split {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Stacks on mobile */
    padding-top: 70px; /* Accounts for fixed nav */
}

.hero-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: var(--bg-dark);
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.hero-split .title {
    font-size: 4rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero-split .subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 300;
}

.hero-split .intro {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.scroll-indicator {
    margin-top: 40px;
    font-family: var(--font-heading);
    letter-spacing: 3px;
    font-size: 1.2rem;
}

.scroll-indicator .line {
    width: 2px;
    height: 60px;
    background-color: var(--accent);
    margin-top: 10px;
}

/* The Auto-Changing Image Strip */
.hero-strip {
    height: 50vh; /* Shorter on mobile */
    position: relative;
    overflow: hidden;
    background: #111;
}

.strip-slider img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: crossfade 15s infinite;
}

/* Staggering the animation times for 3 images */
.strip-slider img:nth-child(2) { animation-delay: 0s; }
.strip-slider img:nth-child(3) { animation-delay: 5s; }
.strip-slider img:nth-child(4) { animation-delay: 10s; }

@keyframes crossfade {
    0%, 25% { opacity: 1; }
    33%, 100% { opacity: 0; }
}

.overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(7,7,7,1) 0%, rgba(7,7,7,0) 20%);
    z-index: 10;
}

/* =========================================
   CARDS & STRATEGIES
   ========================================= */
.card {
    background-color: #111;
    border: 1px solid var(--border);
    padding: 20px;
}

.card img {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
}

.card h4 { font-size: 1.8rem; margin-bottom: 10px; }

.strategy-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    border-left: 2px solid var(--border);
    padding-left: 20px;
}

.strategy-item .num {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.8;
}

.strategy-item h4 { font-size: 2.2rem; margin: 10px 0; }

/* =========================================
   FLOW, PHASES & GALLERY
   ========================================= */
.journey-flow {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 15px;
    font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 2px;
}

.journey-flow .arrow { color: var(--accent); }

.phase-card { border: 1px solid var(--border); }
.phase-card img { width: 100%; border-bottom: 3px solid var(--accent); }
.phase-card h3 { font-size: 2rem; padding: 20px 20px 10px 20px; }
.phase-card ul { list-style: none; padding: 0 20px 20px 20px; }
.phase-card li { padding: 10px 0; border-bottom: 1px dotted var(--border); color: var(--text-muted); }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-grid img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(30%); transition: filter 0.3s;
}

.gallery-grid img:hover { filter: grayscale(0%); }

/* =========================================
   END SCREEN
   ========================================= */
.end-screen { background-color: #050505; }
.final-statement { font-size: 3.5rem; color: var(--accent); line-height: 1.2; }
.qr-code { width: 200px; height: 200px; margin: 0 auto; border: 4px solid var(--border); padding: 10px; background: white; }

/* =========================================
   MEDIA QUERIES (DESKTOP / IPAD)
   ========================================= */
@media (min-width: 900px) {
    
    /* Splits the hero section perfectly on desktop */
    .hero-split {
        flex-direction: row;
        height: 100vh;
        padding-top: 0;
    }
    
    /* Text on Left */
    .hero-text {
        width: 75%; 
        padding-left: 80px;
        padding-right: 40px;
    }
    
    /* Image Strip on Right */
    .hero-strip {
        width: 25%; 
        height: 100%;
        border-left: 2px solid var(--border);
    }

    /* Gradient fades from the left side of the strip into the text area */
    .overlay-gradient {
        background: linear-gradient(to right, rgba(7,7,7,1) 0%, rgba(7,7,7,0) 30%);
    }
    
    .hero-split .title { font-size: 6rem; }

    .grid-2-col { grid-template-columns: 1fr 1fr; align-items: center; }
    .grid-3-col { grid-template-columns: repeat(3, 1fr); }

    .strategy-item { flex-direction: row; align-items: center; gap: 60px; padding-left: 40px; }
    .strategy-item.reverse {
        flex-direction: row-reverse; border-left: none; border-right: 2px solid var(--border);
        padding-left: 0; padding-right: 40px; text-align: right;
    }
    .strategy-item img { width: 50%; border: 1px solid var(--border); }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .top-nav { padding: 15px 20px; }
    .desktop-nav { display: none; }
}