/* ============================= */
/* ROOT VARIABLES */
/* ============================= */

:root {
    --bg: #0f0f0f;
    --bg-soft: #181818;
    --accent: #b08d57;
    --text: #f5f5f5;
    --text-muted: #999999;

    --spacing-lg: 120px;
    --spacing-md: 60px;
    --spacing-sm: 30px;

    --radius: 4px;
}

/* ============================= */
/* GLOBAL RESET */
/* ============================= */

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

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

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1a1a1a;
    background: transparent;
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 2px;
}

.navbar nav a {
    margin-left: 30px;
    padding: 8px 14px;
    font-size: 15px;
    letter-spacing: 1px;
    border: 1px solid transparent;
    color: var(--text);
    transition: 0.3s ease;
}

.navbar nav a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8% 200px 8%;
    text-align: center;
    position: relative;
    background: radial-gradient(
        circle at 50% 40%,
        rgba(176, 141, 87, 0.08),
        transparent 60%
    );
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
}

.subtext {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 32px;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: 0.3s ease;
}

.primary {
    background-color: var(--accent);
    color: #000;
    position: relative;
    overflow: hidden;
}

.primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transition: 0.6s ease;
}

.primary:hover::before {
    left: 100%;
}

.primary:hover {
    opacity: 0.85;
}

.secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.secondary:hover {
    background-color: var(--accent);
    color: #000;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 42px;
    }

    .cta-group {
        flex-direction: column;
    }

    .navbar nav a {
        margin-left: 20px;
    }
}


/* ============================= */
/* PHILOSOPHY SECTION */
/* ============================= */

.philosophy {
    padding: 160px 8%;
    background-color: var(--bg-soft);
    position: relative;
}

.philosophy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%);
}

.philosophy-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.philosophy-item {
    text-align: center;
    position: relative;
    transition: 0.4s ease;
}

.philosophy-item span {
    display: block;
    font-size: 48px;
    font-weight: 700;
    opacity: 0.05;
    margin-bottom: -20px;
}

.philosophy-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    position: relative;
    z-index: 2;
}

.divider {
    width: 1px;
    height: 60px;
    background-color: #2a2a2a;
}

/* ============================= */
/* RESPONSIVE PHILOSOPHY */
/* ============================= */

@media (max-width: 992px) {

    .philosophy-container {
        flex-direction: column;
        gap: 40px;
    }

    .divider {
        display: none;
    }
}

/* ============================= */
/* ECOSYSTEM SECTION */
/* ============================= */

.ecosystem {
    padding: var(--spacing-lg) 8%;
    background-color: var(--bg);
}

.ecosystem-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.ecosystem-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 10px;
}

.ecosystem-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.eco-card {
    display: block;
    background-color: var(--bg-soft);
    padding: 60px 40px;
    border: 1px solid #242424;
    text-decoration: none;
    transition: 0.35s ease;
    position: relative;
}

.eco-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(176, 141, 87, 0.15);
    cursor: pointer;
}

.eco-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.eco-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.eco-indicator {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--accent);
}

.eco-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 1px;
    border: 1px solid var(--accent);
    color: var(--accent);
    transition: 0.3s ease;
}

.eco-btn:hover {
    background-color: var(--accent);
    color: #000;
    transform: translateY(-2px);
}

/* INITIAL BUTTON, SMALLER:

.eco-btn {
    font-size: 13px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    transition: 0.3s ease;
}

.eco-btn:hover {
    color: var(--accent);
}

 /*

/* Highlight middle card subtly */
.featured {
    border-color: var(--accent);
}

/* ============================= */
/* RESPONSIVE ECOSYSTEM */
/* ============================= */

@media (max-width: 1100px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================= */
/* MOBILE REFINEMENT */
/* ============================= */

@media (max-width: 768px) {

    /* GLOBAL PADDING */
    section {
        padding: 80px 6%;
    }

    /* NAVBAR */
    .navbar {
        padding: 20px 6%;
    }

    .navbar nav {
        display: none; /* We keep it minimal for now */
    }

    .logo {
        font-size: 20px;
    }

    /* HERO */
    .hero {
        text-align: center;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .subtext {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 16px;
        font-size: 15px;
    }


    /* PHILOSOPHY */
    .philosophy-container {
        flex-direction: column;
        gap: 50px;
    }

    .philosophy-item h3 {
        font-size: 20px;
    }

    /* ECOSYSTEM */
    .ecosystem-header h2 {
        font-size: 32px;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .eco-card {
        padding: 40px 25px;
    }

    .eco-content h3 {
        font-size: 24px;
    }

    .eco-content p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-doctrine {
        gap: 20px;
        margin-top: 40px;
    }  

    .hero-doctrine span {
        font-size: 11px;
    }

}


/* NAVBAR SCROLL EFFECT */

.navbar.scrolled {
    background-color: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #1f1f1f;
    transition: 0.3s ease;
}


/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    background-color: var(--bg);
    padding: 100px 8% 40px 8%;
    border-top: 1px solid #1f1f1f;
    text-align: center;
}

.footer-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 40px auto;
}

.footer-bottom {
    border-top: 1px solid #1f1f1f;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer mobile */

@media (max-width: 768px) {

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

}

/* ============================= */
/* SCROLL ANIMATION */
/* ============================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

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


/* ============================= */
/* HERO DOCTRINE */
/* ============================= */

.hero-doctrine {
    margin-top: 90px;
    text-align: center;
}

.doctrine-line {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 25px auto;
    opacity: 0.5;
}

.doctrine-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.65;
}


.doctrine-items span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}