/* ==========================================================
   CLUB NAPOLI ROMAZZURRA
   STYLE.CSS - VERSIONE 1.0
========================================================== */

/* ---------- RESET ---------- */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#071a36;
    color:#ffffff;
    line-height:1.7;
    overflow-x:hidden;
}

/* ---------- VARIABILI ---------- */

:root{

    --navy:#071a36;
    --navy-dark:#041225;
    --gold:#d4af37;
    --gold-light:#f4d56b;
    --white:#ffffff;
    --gray:#d8d8d8;

    --container:1200px;

    --shadow:0 10px 35px rgba(0,0,0,.35);

    --radius:12px;

}

/* ---------- ELEMENTI BASE ---------- */

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

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

ul{
    list-style:none;
}

section{
    position:relative;
}

.container{

    width:min(92%,var(--container));
    margin:auto;

}

.narrow{

    max-width:820px;
    text-align:center;

}

/* ---------- TITOLI ---------- */

h1,h2,h3{

    font-family:'Bebas Neue',sans-serif;
    letter-spacing:1px;
    font-weight:400;

}

h1{

    font-size:5rem;
    line-height:1;
    margin-bottom:20px;

}

h2{

    font-size:3rem;
    color:var(--gold);
    margin-bottom:25px;

}

h3{

    font-size:1.8rem;
    margin-bottom:15px;

}

p{

    font-size:1.05rem;
    color:var(--gray);

}

/* ---------- SEZIONI ---------- */

.section{

    padding:110px 0;

}

.section-dark{

    background:var(--navy-dark);

}

/* ---------- PULSANTE ---------- */

.btn{

    display:inline-block;

    margin-top:45px;

    padding:15px 38px;

    border:2px solid var(--gold);

    color:var(--gold);

    border-radius:50px;

    text-transform:uppercase;

    font-weight:700;

    letter-spacing:1px;

    transition:.35s;

}

.btn:hover{

    background:var(--gold);

    color:var(--navy);

    transform:translateY(-3px);

    box-shadow:var(--shadow);

}

/* ==========================================================
   HEADER
========================================================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:rgba(4,18,37,.96);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(212,175,55,.35);

    transition:.35s;

}

.header-container{

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/* ---------- BRAND ---------- */

.brand{

    display:flex;

    align-items:center;

    gap:18px;

}

.brand img{

    width:60px;
    height:60px;

    border-radius:50%;

    object-fit:cover;

    flex-shrink:0;

}

.brand-name{

    display:flex;

    flex-direction:column;

    line-height:1;

}

.brand-top{

    font-family:'Bebas Neue',sans-serif;

    font-size:1.8rem;

    letter-spacing:1px;

    color:#fff;

}

.brand-bottom{

    font-family:'Bebas Neue',sans-serif;

    font-size:2rem;

    color:var(--gold);

    letter-spacing:1px;

    margin-top:2px;

}

/* ---------- MENU ---------- */

nav{

    display:flex;

    align-items:center;

    gap:34px;

}

nav a{

    position:relative;

    color:#fff;

    font-size:.95rem;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:.6px;

    transition:.30s;

}

nav a:hover{

    color:var(--gold);

}

/* linea animata */

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.30s;

}

nav a:hover::after{

    width:100%;

}

/* ---------- RESPONSIVE ---------- */

@media (max-width:900px){

    .header-container{

        height:auto;

        padding:18px 0;

        flex-direction:column;

        gap:18px;

    }

    .brand{

        justify-content:center;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }

    .brand-top{

        font-size:1.5rem;

    }

    .brand-bottom{

        font-size:1.7rem;

    }

}

@media (max-width:600px){

    header{

        position:relative;

    }

    nav{

        gap:14px;

    }

    nav a{

        font-size:.82rem;

    }

    .brand img{

        width:52px;

        height:52px;

    }


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

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:160px 20px 120px;

    background:
        radial-gradient(circle at top, rgba(212,175,55,.08), transparent 45%),
        linear-gradient(180deg,#071a36 0%,#041225 100%);

    position:relative;

    overflow:hidden;

}

/* Leggera texture decorativa */

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);

    background-size:40px 40px;

    opacity:.35;

    pointer-events:none;

}

/* Alone dorato */

.hero::after{

    content:"";

    position:absolute;

    width:700px;
    height:700px;

    border-radius:50%;

    background:radial-gradient(circle,
        rgba(212,175,55,.12) 0%,
        rgba(212,175,55,0) 70%);

    top:-280px;
    right:-180px;

    pointer-events:none;

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

}

.hero h1{

    color:#ffffff;

    font-size:clamp(3.6rem,8vw,6.5rem);

    letter-spacing:2px;

    margin-bottom:20px;

    text-shadow:0 6px 18px rgba(0,0,0,.35);

}

.hero h2{

    font-family:'Montserrat',sans-serif;

    font-size:1.45rem;

    font-weight:400;

    color:#ffffff;

    line-height:1.6;

    margin-bottom:35px;

}

.hero-divider{

    width:120px;

    height:3px;

    margin:0 auto 30px;

    background:linear-gradient(to right,
        transparent,
        var(--gold),
        transparent);

}

.hero p{

    color:var(--gold-light);

    font-size:1rem;

    font-weight:700;

    letter-spacing:4px;

    text-transform:uppercase;

}

/* Pulsante Hero */

.hero .btn{

    margin-top:50px;

    font-size:.95rem;

    min-width:230px;

}

/* Animazione */

.hero-content{

    animation:heroFade 1.2s ease;

}

@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Responsive */

@media (max-width:768px){

    .hero{

        padding-top:120px;

        min-height:auto;

    }

    .hero h2{

        font-size:1.15rem;

    }

    .hero p{

        letter-spacing:2px;

        font-size:.9rem;

    }

    .hero-divider{

        width:90px;

    }

}

/* ==========================================================
   SEZIONI INTERNE
========================================================== */

.section h2{

    text-align:center;

    margin-bottom:30px;

}

.section p{

    max-width:760px;

    margin:0 auto 25px;

    text-align:center;

    font-size:1.08rem;

}

/* ==========================================================
   ANNIVERSARIO
========================================================== */

#anniversario{

    position:relative;

    overflow:hidden;

}

#anniversario::before{

    content:"40";

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    font-family:'Bebas Neue',sans-serif;

    font-size:20rem;

    color:rgba(212,175,55,.05);

    pointer-events:none;

    user-select:none;

}

#anniversario h2,
#anniversario p{

    position:relative;

    z-index:2;

}

/* ==========================================================
   EVENTI
========================================================== */

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:60px;

}

.card{

    background:#0b2346;

    border:1px solid rgba(212,175,55,.15);

    border-radius:16px;

    padding:40px 30px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.18);

}

.card:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:0 18px 45px rgba(0,0,0,.35);

}

.card h3{

    color:var(--gold);

    margin-bottom:18px;

}

.card p{

    margin:0;

    color:#d9d9d9;

}

/* ==========================================================
   GALLERY
========================================================== */

#gallery{

    text-align:center;

}

.gallery-placeholder{

    margin-top:50px;

    padding:70px;

    border:2px dashed rgba(212,175,55,.30);

    border-radius:18px;

    color:var(--gold-light);

    font-weight:600;

    letter-spacing:1px;

    background:rgba(255,255,255,.02);

}

/* ==========================================================
   DIVISORE DECORATIVO
========================================================== */

.section h2::after{

    content:"";

    display:block;

    width:80px;

    height:3px;

    margin:18px auto 0;

    background:var(--gold);

    border-radius:5px;

}

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

@media(max-width:950px){

    .cards{

        grid-template-columns:1fr;

        gap:25px;

    }

    .card{

        max-width:550px;

        margin:auto;

    }

    #anniversario::before{

        font-size:12rem;

    }

}

@media(max-width:600px){

    .section{

        padding:80px 0;

    }

    .section h2{

        font-size:2.4rem;

    }

    .section p{

        font-size:1rem;

    }

    .gallery-placeholder{

        padding:40px 20px;

    }

}

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

footer{

    background:var(--navy-dark);

    border-top:1px solid rgba(212,175,55,.20);

    padding:70px 20px 40px;

    text-align:center;

}

.footer-content{

    display:flex;

    flex-direction:column;

    align-items:center;

}

.footer-content img{

    width:90px;

    height:90px;

    border-radius:50%;

    margin-bottom:20px;

    object-fit:cover;

    border:3px solid rgba(212,175,55,.25);

}

footer h3{

    color:var(--gold);

    font-size:2rem;

    margin-bottom:10px;

}

footer p{

    color:#cfcfcf;

    margin-bottom:12px;

}

.footer-divider{

    width:90px;

    height:2px;

    background:var(--gold);

    margin:22px auto;

    border-radius:5px;

}

.motto{

    color:var(--gold-light);

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:25px;

}

/* ==========================================================
   SELEZIONE TESTO
========================================================== */

::selection{

    background:var(--gold);

    color:var(--navy);

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--navy-dark);

}

::-webkit-scrollbar-thumb{

    background:rgba(212,175,55,.55);

    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold);

}

/* ==========================================================
   FOCUS ACCESSIBILITÀ
========================================================== */

a:focus-visible,
button:focus-visible{

    outline:3px solid var(--gold);

    outline-offset:4px;

    border-radius:6px;

}

/* ==========================================================
   ANIMAZIONE SEZIONI
========================================================== */

.section{

    animation:fadeUp .8s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

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

@media (max-width:768px){

    h1{

        font-size:3.4rem;

    }

    h2{

        font-size:2.3rem;

    }

    h3{

        font-size:1.5rem;

    }

    p{

        font-size:1rem;

    }

    .btn{

        width:100%;

        max-width:320px;

        text-align:center;

    }

    footer{

        padding:60px 20px 35px;

    }

}

@media (max-width:480px){

    .container{

        width:94%;

    }

    .section{

        padding:70px 0;

    }

    .brand{

        gap:12px;

    }

    .brand-top{

        font-size:1.3rem;

    }

    .brand-bottom{

        font-size:1.5rem;

    }

    .hero h1{

        font-size:2.8rem;

    }

    .hero h2{

        font-size:1rem;

    }

    .motto{

        letter-spacing:2px;

        font-size:.9rem;

    }

}

/* ==========================================================
   FINE STYLE.CSS v1.0
========================================================== */
