/* ================================================
   READY — Brotherhood on the Pitch
   Dark Navy + Gold Theme
   Mobile-first responsive design
   ================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --c-primary: #12122b;
    --c-secondary: #1c1c3a;
    --c-accent: #ffb800;
    --c-accent-light: #ffd666;
    --c-accent-dark: #cc9300;
    --c-dark: #090915;
    --c-text: #ffffff;
    --c-text-muted: #b0b0d0;
    --c-white: #ffffff;
    --c-warm-bg: #f8f5f0;
    --c-warm-bg-alt: #f0ece4;
    --c-card-dark: rgba(255, 255, 255, 0.04);
    --c-card-border: rgba(255, 184, 0, 0.15);

    /* Typography */
    --ff-display: 'Playfair Display', serif;
    --ff-body: 'Montserrat', sans-serif;

    /* Spacing */
    --s-section: clamp(4rem, 10vw, 8rem);
    --s-gap: clamp(1rem, 3vw, 2rem);

    /* Transitions */
    --t-base: 0.3s ease;
    --t-slow: 0.6s ease;

    /* Radius */
    --r-sm: 0.5rem;
    --r-md: 1rem;
    --r-lg: 1.5rem;
    --r-full: 50%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-base);
}

ul {
    list-style: none;
}

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

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--r-sm);
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--t-base);
    text-align: center;
    justify-content: center;
}

.btn--primary {
    background: var(--c-accent);
    color: var(--c-primary);
}

.btn--primary:hover {
    background: var(--c-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.3);
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header__label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 0.75rem;
}

.section-header__title {
    font-family: var(--ff-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-style: italic;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--c-white);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--t-base);
}

.navbar--scrolled {
    background: rgba(18, 18, 43, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo-text {
    font-family: var(--ff-display);
    font-size: 2.25rem;
    letter-spacing: 0.1em;
    color: var(--c-accent);
}

.navbar__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.navbar__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--c-white);
    transition: all var(--t-base);
    border-radius: 2px;
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar__menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.navbar__link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--c-text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-accent);
    transition: width var(--t-base);
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--c-white);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--c-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transition: right var(--t-base);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    .navbar__menu.open { right: 0; }
}

@media (min-width: 769px) { .navbar__toggle { display: none; } }

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--c-dark);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(18, 18, 43, 0.4) 0%, rgba(9, 9, 21, 0.9) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.25rem;
}

.hero__title {
    font-family: var(--ff-display);
    font-size: clamp(4rem, 15vw, 10rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--c-white);
    line-height: 0.85;
    margin-bottom: 1rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.hero__tagline {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--c-accent);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--c-text-muted);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.hero__stats-dot { color: var(--c-accent); font-size: 0.7rem; }

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.75rem;
    background: var(--c-accent);
    color: var(--c-dark);
    font-weight: 700;
    border-radius: var(--r-sm);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--t-base);
}

.hero__cta:hover { background: var(--c-white); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); }
.hero__cta i { font-size: 1.25rem; animation: bounceDown 2s infinite; }

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

.hero__scroll-indicator { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll-mouse { width: 30px; height: 50px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 15px; display: flex; justify-content: center; padding-top: 10px; }
.hero__scroll-wheel { width: 4px; height: 10px; background: var(--c-accent); border-radius: 2px; animation: scrollWheel 2s infinite; }

@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(15px); } }

/* ================================================
   STORY
   ================================================ */
.story {
    padding: var(--s-section) 0;
    background: var(--c-secondary);
}

.story__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

@media (min-width: 992px) { .story__content { grid-template-columns: 1.2fr 1fr; gap: 6rem; } }

.story__image { border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); }
.story__image img { width: 100%; object-fit: cover; transition: transform var(--t-slow); }
.story__image:hover img { transform: scale(1.05); }

.story__text { font-size: 1.2rem; line-height: 1.8; color: var(--c-text-muted); margin-bottom: 2rem; }
.story__text strong { color: var(--c-accent); font-weight: 700; }
.story__text em { color: var(--c-white); font-style: normal; font-weight: 600; }

.timeline { position: relative; padding: 3rem 0; margin-bottom: 5rem; }
.timeline__line { position: absolute; left: 1rem; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.1); }
@media (min-width: 768px) { .timeline__line { left: 50%; transform: translateX(-50%); } }

.timeline__item { position: relative; padding-left: 4rem; margin-bottom: 3.5rem; }
@media (min-width: 768px) {
    .timeline__item { padding-left: 0; width: 50%; padding-right: 4rem; }
    .timeline__item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 4rem; }
}

.timeline__dot {
    position: absolute; left: 0.4rem; top: 0.4rem; width: 1.5rem; height: 1.5rem;
    border-radius: var(--r-full); background: var(--c-dark); border: 3px solid var(--c-accent); z-index: 1;
}
@media (min-width: 768px) {
    .timeline__dot { left: auto; right: -0.75rem; }
    .timeline__item:nth-child(even) .timeline__dot { right: auto; left: -0.75rem; }
}

.timeline__year { font-family: var(--ff-display); font-size: 2rem; color: var(--c-accent); letter-spacing: 0.05em; line-height: 1; }
.timeline__desc { font-size: 1.1rem; color: var(--c-text-muted); margin-top: 0.5rem; }
@media (min-width: 768px) {
    .timeline__item:nth-child(even) .timeline__content { text-align: left; }
    .timeline__item:nth-child(odd) .timeline__content { text-align: right; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stats__item { padding: 3rem 1.5rem; background: var(--c-card-dark); border: 1px solid var(--c-card-border); border-radius: var(--r-md); transition: all var(--t-base); }
.stats__item:hover { transform: translateY(-8px); border-color: var(--c-accent); background: rgba(255,184,0,0.05); }
.stats__number { font-family: var(--ff-display); font-size: clamp(3.5rem, 8vw, 5rem); color: var(--c-accent); line-height: 1; }
.stats__plus { font-family: var(--ff-display); font-size: 2.5rem; color: var(--c-accent); }
.stats__label { display: block; font-size: 1rem; color: var(--c-text-muted); margin-top: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ================================================
   BROTHERS
   ================================================ */
.brothers { padding: var(--s-section) 0; background: var(--c-primary); }
.brothers__subtitle { text-align: center; max-width: 700px; margin: -1rem auto 4rem; font-size: 1.2rem; color: var(--c-text-muted); line-height: 1.8; }
.brothers__collage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .brothers__collage {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brothers__photo { border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--c-dark); }
.brothers__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: all var(--t-slow); }
.brothers__photo:hover img { transform: scale(1.08); filter: grayscale(0); }
.brothers__photo--lg { grid-column: span 2; aspect-ratio: 16/9; }
@media (min-width: 768px) { .brothers__photo--lg { grid-column: span 1; aspect-ratio: 1; } }

.brothers__quote {
    text-align: center; font-size: 1.5rem; font-weight: 300; font-style: italic; color: var(--c-white);
    line-height: 1.6; max-width: 800px; margin: 0 auto; position: relative; padding: 2.5rem 0;
}
.brothers__quote::before {
    content: '\201C'; position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%);
    font-family: var(--ff-display); font-size: 6rem; color: var(--c-accent); opacity: 0.2;
}

/* ================================================
   MOMENTS
   ================================================ */
.moments { padding: var(--s-section) 0; background: var(--c-secondary); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1440px) { .gallery { grid-template-columns: repeat(5, 1fr); } }

.gallery__item { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--c-dark); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.gallery__overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(9, 9, 21, 0.9) 100%);
    display: flex; align-items: flex-end; padding: 2rem; opacity: 0; transition: opacity var(--t-base);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__item:hover img { transform: scale(1.1); }
.gallery__caption { font-size: 1.1rem; font-weight: 600; color: var(--c-white); }

/* ================================================
   CONTACT
   ================================================ */
.contact { padding: var(--s-section) 0; background: var(--c-primary); }
.contact__subtitle { text-align: center; max-width: 600px; margin: -1rem auto 4rem; color: var(--c-text-muted); font-size: 1.2rem; }
.contact__cards { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto 4rem; }
@media (min-width: 768px) { .contact__cards { grid-template-columns: repeat(3, 1fr); } }

.contact__card {
    display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3.5rem 2rem;
    background: var(--c-card-dark); border: 1px solid var(--c-card-border); border-radius: var(--r-md); transition: all var(--t-base);
}
a.contact__card:hover { transform: translateY(-10px); border-color: var(--c-accent); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); background: rgba(255,184,0,0.05); }
.contact__card-icon { width: 4.5rem; height: 4.5rem; border-radius: var(--r-full); background: rgba(255, 184, 0, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.contact__card-icon i { font-size: 2rem; color: var(--c-accent); }
.contact__card-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--c-text-muted); margin-bottom: 0.5rem; }
.contact__card-value { font-weight: 700; color: var(--c-white); font-size: 1.1rem; }

.contact__cta { text-align: center; }

/* ================================================
   FOOTER
   ================================================ */
.footer { padding: 5rem 0 2rem; background: var(--c-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.footer__content { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); margin-bottom: 2rem; flex-wrap: wrap; gap: 2rem; }
.footer__logo { font-family: var(--ff-display); font-size: 2.5rem; color: var(--c-accent); letter-spacing: 0.1em; }
.footer__tagline { font-size: 1rem; color: var(--c-text-muted); margin-top: 0.5rem; }
.footer__social-link { width: 3.5rem; height: 3.5rem; background: rgba(255, 255, 255, 0.03); color: var(--c-text-muted); font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-full); transition: all var(--t-base); }
.footer__social-link:hover { background: var(--c-accent); color: var(--c-dark); transform: rotate(360deg); }
.footer__bottom { text-align: center; }
.footer__bottom p { font-size: 0.9rem; color: var(--c-text-muted); }

/* ================================================
   ANIMATIONS & MISC
   ================================================ */
.back-to-top {
    position: fixed; bottom: 2.5rem; right: 2.5rem; width: 4rem; height: 4rem;
    border-radius: var(--r-full); background: var(--c-accent); color: var(--c-dark);
    border: none; cursor: pointer; font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(2rem); transition: all var(--t-base); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

[data-animate] { opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
[data-animate].animated { opacity: 1; transform: translate(0, 0); }
[data-delay="1"] { transition-delay: 0.2s; }
[data-delay="2"] { transition-delay: 0.4s; }
[data-delay="3"] { transition-delay: 0.6s; }

@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .brothers__collage { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
}
