/* =========================================
   EVRLYFE ACADEMY - Global Stylesheet
   ========================================= */

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

:root {
    --gold: #C9A84C;
    --gold-light: #E5C158;
    --dark: #0A0A0A;
    --dark-mid: #111111;
    --dark-blue: #1A1A2E;
    --text: #F5F5F5;
    --muted: #B8B8B8;
    --subtle: #666666;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

a { text-decoration: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- HEADER ---- */
header {
    background: rgba(10,10,10,0.97);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gold);
    backdrop-filter: blur(8px);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    text-decoration: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

nav a:hover, nav a.active {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: var(--dark) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: background 0.3s !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    color: var(--dark) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

/* ---- BUTTONS ---- */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--dark);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ---- SECTIONS ---- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--dark-blue);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 650px;
    margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- CARDS ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #222;
    border-left: 4px solid var(--gold);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-alt .card {
    background-color: #0f0f1f;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ---- DIVIDER ---- */
.divider {
    border: none;
    border-top: 1px solid #222;
    margin: 0;
}

.divider-gold {
    border-top-color: var(--gold);
    opacity: 0.3;
}

/* ---- EMAIL FORM ---- */
.email-form {
    display: flex;
    gap: 0.5rem;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-form input {
    flex: 1;
    min-width: 220px;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gold);
    background-color: var(--dark-blue);
    color: var(--text);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.email-form input:focus {
    border-color: var(--gold-light);
}

.email-form input::placeholder { color: var(--subtle); }

.email-form button {
    padding: 0.9rem 1.8rem;
    background-color: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.email-form button:hover {
    background-color: var(--gold-light);
    transform: translateY(-1px);
}

/* ---- FOOTER ---- */
footer {
    background-color: var(--dark-blue);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 250px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--subtle);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #333;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,168,76,0.08);
    transform: translateY(-2px);
}

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

.footer-links a {
    color: var(--subtle);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

/* ---- PAGE HERO ---- */
.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--dark) 100%);
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav { display: none; }
    nav.open { display: flex; flex-direction: column; position: fixed; top: 65px; left: 0; right: 0; background: var(--dark); padding: 2rem; border-bottom: 1px solid var(--gold); gap: 1rem; }
    nav.open a { margin-left: 0; font-size: 1.1rem; }
    .hamburger { display: flex; }
    .header-content { justify-content: space-between; }
    .section-title { font-size: 2rem; }
    .page-hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
