/* =============================================
   Stage Ready Gear — main.css
   ============================================= */

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

:root {
    --black:      #0f0f0f;
    --near-black: #1a1a1a;
    --dark-gray:  #2c2c2c;
    --mid-gray:   #555;
    --light-gray: #e8e6e0;
    --off-white:  #f5f3ee;
    --white:      #ffffff;
    --gold:       #c9a84c;
    --gold-dark:  #a8863a;
    --red-accent: #c0392b;

    --font-sans: 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Courier New', monospace;

    --header-h: 64px;
    --radius:   6px;
    --shadow:   0 2px 12px rgba(0,0,0,0.08);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--near-black);
    background: var(--white);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main { flex: 1; }

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 4rem 0; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--dark-gray); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

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

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--black);
}

/* ---- Header ---- */
.site-header {
    background: var(--black);
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--dark-gray);
}

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

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.logo-primary { color: var(--white); }
.logo-accent   { color: var(--gold); }

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

.nav-link {
    color: var(--light-gray);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---- Hero ---- */
.hero {
    background: var(--near-black);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-heading {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-heading .accent { color: var(--gold); }

.hero-sub {
    font-size: 1.15rem;
    color: var(--light-gray);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Features ---- */
.features { background: var(--off-white); }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* ---- CTA band ---- */
.cta-band {
    background: var(--black);
    color: var(--white);
    text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p  { color: var(--light-gray); margin-bottom: 1.5rem; }

/* ---- Page hero (interior pages) ---- */
.page-hero {
    background: var(--near-black);
    color: var(--white);
    padding: 3.5rem 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero-sub { color: var(--light-gray); font-size: 1.1rem; margin: 0; }

/* ---- About ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.about-text h2 { margin-top: 2rem; }
.about-text h2:first-child { margin-top: 0; }

.about-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
}
.info-card h3 { margin-bottom: 0.75rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

.info-list { list-style: none; }
.info-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--light-gray); font-size: 0.95rem; color: var(--dark-gray); }
.info-list li:last-child { border-bottom: none; }

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--near-black);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--near-black);
    background: var(--white);
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* ---- Messages ---- */
.messages { padding: 1rem 0; }
.message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.message--success { background: #e6f4ea; color: #1e4d2b; border-left: 3px solid #2e7d32; }
.message--error   { background: #fdecea; color: #5c1010; border-left: 3px solid var(--red-accent); }

/* ---- Footer ---- */
.site-footer {
    background: var(--black);
    color: var(--light-gray);
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-tagline { font-size: 0.85rem; color: var(--mid-gray); margin: 0.2rem 0 0; }

.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: var(--light-gray); font-size: 0.9rem; transition: color 0.15s; }
.footer-nav a:hover { color: var(--gold); }

.footer-copy { font-size: 0.8rem; color: var(--mid-gray); margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--black);
        padding: 1rem 1.5rem 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--dark-gray);
    }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .site-header { position: relative; }

    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .hero { padding: 4rem 0; }
    .hero-actions { flex-direction: column; align-items: center; }
}
