/* ===== VARIABLES & BRAND COLORS ===== */
:root {
    /* Core Brand Colors */
    --deep-clay: #C2541A;
    --dusty-graphite: #5C6E74;
    --graphite-black: #1D1D1D;
    --concrete-gray: #7A7A7A;
    --light-cement: #F4F4F4;

    /* Theme Colors */
    --bg-color: #0d0d0d;
    --surface-color: #171717;
    --text-primary: #ffffff;
    --text-muted: var(--concrete-gray);
    --accent: var(--deep-clay);

    /* Typography */
    --font-display: 'Syncopate', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor used */
}

html {
    scroll-behavior: smooth;
}

body.dark-theme {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(194, 84, 26, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline.hover-state {
    width: 60px;
    height: 60px;
    background-color: rgba(194, 84, 26, 0.1);
    border-color: var(--accent);
}

/* ===== HEADER & NAV ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--bg-color);
    background: var(--text-primary);
    padding: 5px 10px;
}

.logo-mark.sm {
    font-size: 0.8rem;
    padding: 3px 6px;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.main-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.hover-underline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-primary:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
}

/* ===== HERO SECTION ===== */
.hero-fullscreen {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.clay-sphere {
    width: 60vw;
    height: 60vw;
    background: var(--deep-clay);
    top: -20%;
    right: -10%;
}

.graphite-sphere {
    width: 50vw;
    height: 50vw;
    background: var(--dusty-graphite);
    bottom: -10%;
    left: -20%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

.overline {
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 5px;
    margin-bottom: 2rem;
}

.glitch-title {
    font-family: var(--font-display);
    font-size: 8vw;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
}

.offset {
    margin-left: 10vw;
}

.hero-description {
    margin-top: 3rem;
    margin-left: 10vw;
    font-size: 1.2rem;
    max-width: 500px;
    color: var(--light-cement);
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 50px;
    height: 1px;
    background-color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    100% {
        left: 100%;
    }
}

/* ===== STATEMENT SECTION ===== */
.statement-section {
    padding: 150px 0;
}

.massive-text {
    font-family: var(--font-display);
    font-size: 4vw;
    line-height: 1.2;
    margin-bottom: 5rem;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--dusty-graphite);
    margin-bottom: 1rem;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--concrete-gray);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 100px 0;
    background-color: var(--surface-color);
    overflow: hidden;
}

.outlined-text {
    font-family: var(--font-display);
    font-size: 6vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 4rem;
}

.gallery-track-container {
    width: 100%;
    padding: 0 5%;
}

.gallery-track {
    display: flex;
    gap: 5vw;
}

.gallery-item {
    flex: 0 0 45vw;
}

.item-image {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.item-image img {
    width: 100%;
    height: 120%;
    /* For parallax effect */
    object-fit: cover;
}

.item-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.item-content p {
    color: var(--text-muted);
}

/* ===== FOOTER CTA ===== */
.footer-cta {
    padding: 150px 0 50px;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 100px;
}

.subscribe-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-muted);
    color: var(--text-primary);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.subscribe-form button {
    border-left: none;
}

.main-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== ANIMATIONS UTILS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .main-nav,
    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .gallery-item {
        flex: 0 0 90vw;
        margin-top: 0 !important;
        margin-bottom: 3rem;
    }

    .gallery-track {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile nav open state */
@media (max-width: 768px) {
    .main-nav.nav-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(8, 8, 8, 0.97);
        z-index: 999999;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
    }
    .main-nav.nav-open a,
    .main-nav.nav-open li a {
        font-size: 1.4rem;
        color: var(--text-primary);
        text-decoration: none;
        padding: 0.5rem 1rem;
        display: block;
        text-align: center;
        letter-spacing: 0.1em;
    }
    .main-nav.nav-open .btn-primary {
        margin-top: 1rem;
    }
    /* Hamburger animate to X */
    .mobile-menu-btn {
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1000000;
        position: relative;
        background: none;
        border: none;
        padding: 8px;
    }
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: transform 0.3s, opacity 0.3s;
        transform-origin: center;
    }
    .mobile-menu-btn.is-active span:first-child {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.is-active span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }
}