/* =====================================================
   CANTA BOZZOLO 2026
   Premium Music Competition
===================================================== */

:root {
    --cb-night: #070914;
    --cb-night-soft: #0d1122;
    --cb-night-light: #151a30;

    --cb-gold: #d5aa48;
    --cb-gold-light: #f0d48a;
    --cb-gold-dark: #aa7e27;

    --cb-burgundy: #8b2332;

    --cb-ivory: #f8f5ee;
    --cb-white: #ffffff;

    --cb-text: #171717;
    --cb-muted: #6e6e73;
}


/* =====================================================
   BASE
===================================================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cb-ivory);
    color: var(--cb-text);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-weight: 600;
}

a {
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =====================================================
   NAVBAR
===================================================== */

.cb-header {
    position: relative;
    z-index: 1000;
}

.cb-navbar {
    min-height: 105px;

    background:
        rgba(7, 9, 20, 0.98);

    border-bottom:
        1px solid rgba(213, 170, 72, 0.22);
}

.cb-navbar-brand {
    padding: 3px 0;
}

.cb-navbar-logo {
    height: 95px;
    width: auto;
    max-width: 245px;
    object-fit: contain;
}

.cb-navbar .nav-link {
    color:
        rgba(255, 255, 255, 0.76);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    padding-left: 12px !important;
    padding-right: 12px !important;
}

.cb-navbar .nav-link:hover,
.cb-navbar .nav-link:focus {
    color: var(--cb-gold-light);
}

.cb-admin-link {
    color: var(--cb-gold) !important;
}


/* =====================================================
   BUTTON GOLD
===================================================== */

.cb-btn-gold {
    display: inline-block;

    border:
        1px solid var(--cb-gold);

    background:
        linear-gradient(
            135deg,
            var(--cb-gold-light),
            var(--cb-gold)
        );

    color:
        var(--cb-night) !important;

    padding:
        12px 27px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;

    border-radius: 2px;

    box-shadow:
        0 8px 25px
        rgba(213, 170, 72, 0.14);
}

.cb-btn-gold:hover {
    background:
        var(--cb-gold-light);

    color:
        var(--cb-night);

    transform:
        translateY(-2px);

    box-shadow:
        0 13px 30px
        rgba(213, 170, 72, 0.24);
}


/* =====================================================
   BUTTON OUTLINE
===================================================== */

.cb-btn-outline {
    display: inline-block;

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    color: white;

    padding:
        12px 27px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;

    border-radius: 2px;
}

.cb-btn-outline:hover {
    border-color:
        var(--cb-gold);

    color:
        var(--cb-gold-light);

    transform:
        translateY(-2px);
}


/* =====================================================
   HERO
===================================================== */

.cb-hero {
    position: relative;

    min-height: 660px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: white;

    background:
        radial-gradient(
            circle at 50% 5%,
            rgba(213, 170, 72, 0.19),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(139, 35, 50, 0.22),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(213, 170, 72, 0.08),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #050610,
            #0c1021 55%,
            #090b16
        );
}


/* LUCE DI PALCO */

.cb-hero::before {
    content: "";

    position: absolute;

    top: -250px;
    left: 50%;

    width: 650px;
    height: 900px;

    transform:
        translateX(-50%)
        rotate(8deg);

    background:
        linear-gradient(
            to bottom,
            rgba(240, 212, 138, 0.10),
            transparent 75%
        );

    filter:
        blur(20px);

    pointer-events: none;
}


/* BAGLIORE INFERIORE */

.cb-hero::after {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    left: 50%;
    bottom: -430px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(213, 170, 72, 0.14);

    filter:
        blur(80px);

    pointer-events: none;
}


/* CONTENUTO HERO */

.cb-hero-content {
    position: relative;

    z-index: 2;

    max-width: 950px;

    margin: 0 auto;

    padding:
        35px 20px 70px;

    text-align: center;

    transform:
        translateY(-35px);
}


/* LOGO CENTRALE */

.cb-hero-logo {
    width:
        min(440px, 85%);

    height: auto;

    margin-bottom: 25px;

    filter:
        drop-shadow(
            0 18px 40px
            rgba(0, 0, 0, 0.38)
        );
}


/* TITOLO HERO */

.cb-hero h1 {
    margin:
        0 0 25px;

    color:
        var(--cb-white);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size:
        clamp(
            3rem,
            6.5vw,
            5.8rem
        );

    font-weight: 600;

    line-height: 1.04;

    letter-spacing:
        -0.035em;

    text-shadow:
        0 5px 30px
        rgba(0, 0, 0, 0.35);
}


/* TESTO HERO */

.cb-hero-subtitle {
    max-width: 650px;

    margin:
        0 auto 35px;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 1.02rem;
    font-weight: 400;

    line-height: 1.9;
}


/* PULSANTI HERO */

.cb-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}


/* =====================================================
   SEZIONI GENERALI
===================================================== */

.cb-section {
    padding:
        110px 0;
}

.cb-section-dark {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--cb-night),
            var(--cb-night-soft)
        );

    color: white;
}


/* PICCOLO TITOLO ORO */

.cb-section-label {
    margin-bottom: 17px;

    color:
        var(--cb-gold-dark);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.69rem;
    font-weight: 700;

    letter-spacing: 0.28em;
    text-transform: uppercase;
}


/* TITOLI SEZIONI */

.cb-section-title {
    margin-bottom: 25px;

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size:
        clamp(
            2.5rem,
            4.5vw,
            4.1rem
        );

    font-weight: 600;

    line-height: 1.12;

    letter-spacing:
        -0.025em;
}


/* TESTO INTRO */

.cb-section-intro {
    max-width: 700px;

    color:
        var(--cb-muted);

    font-size: 1rem;

    line-height: 1.95;
}


/* =====================================================
   FEATURES
===================================================== */

.cb-feature {
    position: relative;

    padding-top: 20px;
}

.cb-feature-number {
    color:
        rgba(170, 126, 39, 0.35);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 3.8rem;
    font-weight: 500;

    line-height: 1;
}

.cb-feature h3 {
    margin:
        15px 0;

    font-size: 1.6rem;
}

.cb-feature p {
    color:
        var(--cb-muted);

    line-height: 1.85;
}


/* =====================================================
   EDIZIONE 2026
===================================================== */

.cb-edition-text {
    max-width: 670px;

    margin:
        0 auto;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 1rem;

    line-height: 1.95;
}


/* =====================================================
   NEWS HOME
===================================================== */

.cb-news-section {
    background:
        var(--cb-ivory);
}


/* CARD */

.cb-news-card {
    height: 100%;

    background: white;

    border:
        1px solid
        rgba(7, 9, 20, 0.07);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.cb-news-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 22px 55px
        rgba(7, 9, 20, 0.10);
}


/* IMMAGINE */

.cb-news-image-link {
    display: block;

    text-decoration: none;
}

.cb-news-image {
    position: relative;

    height: 250px;

    overflow: hidden;

    background:
        var(--cb-night);
}

.cb-news-image > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.cb-news-card:hover
.cb-news-image > img {
    transform:
        scale(1.04);
}


/* QUANDO NON C'È UNA FOTO */

.cb-news-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 50px;

    background:
        radial-gradient(
            circle at center,
            rgba(213, 170, 72, 0.14),
            transparent 40%
        ),
        var(--cb-night);
}

.cb-news-image-placeholder img {
    width: 75%;
    height: auto;

    object-fit: contain;

    opacity: 0.85;
}


/* CORPO CARD */

.cb-news-card-body {
    padding:
        28px 28px 30px;
}


/* DATA */

.cb-news-date {
    margin-bottom: 13px;

    color:
        var(--cb-gold-dark);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.66rem;
    font-weight: 700;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* TITOLO */

.cb-news-title {
    margin-bottom: 15px;

    font-size: 1.55rem;

    line-height: 1.25;
}

.cb-news-title a {
    color:
        var(--cb-night);

    text-decoration: none;
}

.cb-news-title a:hover {
    color:
        var(--cb-gold-dark);
}


/* RIASSUNTO */

.cb-news-summary {
    margin-bottom: 25px;

    color:
        var(--cb-muted);

    font-size: 0.9rem;

    line-height: 1.75;
}


/* LINK */

.cb-news-read,
.cb-news-all-link {
    color:
        var(--cb-night);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-decoration: none;

    text-transform: uppercase;
}

.cb-news-read span,
.cb-news-all-link span {
    display: inline-block;

    margin-left: 6px;

    color:
        var(--cb-gold-dark);

    transition:
        transform 0.25s ease;
}

.cb-news-read:hover,
.cb-news-all-link:hover {
    color:
        var(--cb-gold-dark);
}

.cb-news-read:hover span,
.cb-news-all-link:hover span {
    transform:
        translateX(5px);
}


/* NESSUNA NEWS */

.cb-news-empty {
    padding:
        60px 30px;

    background: white;

    border:
        1px solid
        rgba(7, 9, 20, 0.07);

    text-align: center;
}

.cb-news-empty h3 {
    font-size: 1.8rem;
}

.cb-news-empty p {
    max-width: 550px;

    margin:
        15px auto 0;

    color:
        var(--cb-muted);

    line-height: 1.8;
}


/* =====================================================
   CTA FINALE
===================================================== */

.cb-cta {
    position: relative;

    overflow: hidden;

    padding:
        115px 20px;

    text-align: center;

    color: white;

    background:
        radial-gradient(
            circle at center,
            rgba(213, 170, 72, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #050610,
            #0d1122
        );
}

.cb-cta::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -400px;
    left: 50%;

    transform:
        translateX(-50%);

    border:
        1px solid
        rgba(213, 170, 72, 0.22);

    border-radius: 50%;
}

.cb-cta .container {
    position: relative;

    z-index: 2;
}

.cb-cta h2 {
    max-width: 900px;

    margin:
        0 auto 25px;

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size:
        clamp(
            2.8rem,
            5vw,
            4.8rem
        );

    font-weight: 600;

    line-height: 1.1;
}

.cb-cta p {
    max-width: 620px;

    margin:
        0 auto 35px;

    color:
        rgba(255, 255, 255, 0.67);

    line-height: 1.9;
}


/* =====================================================
   FOOTER
===================================================== */

.cb-footer {
    margin-top: 0;

    padding:
        80px 0 25px;

    background:
        #04050b;

    color: white;

    border-top:
        1px solid
        rgba(213, 170, 72, 0.18);
}

.cb-footer-logo-link {
    display:
        inline-block !important;
}

.cb-footer-logo {
    width: 230px;
    height: auto;

    margin-bottom: 18px;
}

.cb-footer-tagline {
    color:
        var(--cb-gold-light);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 1rem;
    font-weight: 500;

    letter-spacing: 0.03em;
}

.cb-footer-description {
    max-width: 350px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.88rem;

    line-height: 1.8;
}

.cb-footer h6 {
    margin-bottom: 22px;

    color:
        var(--cb-gold-light);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.cb-footer a {
    display: block;

    margin-bottom: 11px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 0.84rem;

    text-decoration: none;
}

.cb-footer a:hover {
    color:
        var(--cb-gold-light);
}

.cb-footer .btn {
    display: inline-block;

    color:
        var(--cb-night);
}


/* FOOTER INFERIORE */

.cb-footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 65px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    color:
        rgba(255, 255, 255, 0.38);

    font-size: 0.73rem;
}

.cb-footer-bottom div {
    display: flex;

    gap: 20px;
}

.cb-footer-bottom a {
    margin: 0;

    font-size: 0.73rem;
}


/* =====================================================
   FORM
===================================================== */

.form-control:focus,
.form-check-input:focus {
    border-color:
        var(--cb-gold);

    box-shadow:
        0 0 0 0.2rem
        rgba(213, 170, 72, 0.15);
}


/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 991px) {

    .cb-navbar {
        min-height: 85px;
    }

    .cb-navbar-logo {
        height: 76px;
    }

    .cb-navbar .navbar-collapse {
        padding:
            20px 0 25px;
    }

    .cb-navbar .nav-link {
        padding:
            10px 0 !important;
    }

    .cb-hero {
        min-height: 610px;
    }

    .cb-hero-content {
        padding:
            30px 20px 60px;

        transform:
            translateY(-20px);
    }

    .cb-section {
        padding:
            80px 0;
    }

}


/* =====================================================
   RESPONSIVE MOBILE
===================================================== */

@media (max-width: 767px) {

    .cb-navbar-logo {
        height: 65px;

        max-width: 190px;
    }

    .cb-hero {
        min-height: 570px;
    }

    .cb-hero-content {
        padding:
            30px 15px 55px;

        transform:
            translateY(-10px);
    }

    .cb-hero-logo {
        width: 290px;

        margin-bottom: 25px;
    }

    .cb-hero h1 {
        font-size: 3rem;

        letter-spacing:
            -0.03em;
    }

    .cb-hero-subtitle {
        font-size: 0.94rem;

        line-height: 1.75;
    }

    .cb-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .cb-hero-actions .btn {
        width: 100%;
    }

    .cb-section {
        padding:
            70px 0;
    }

    .cb-section-title {
        font-size: 2.5rem;
    }

    .cb-news-image {
        height: 220px;
    }

    .cb-news-card-body {
        padding: 24px;
    }

    .cb-cta {
        padding:
            85px 20px;
    }

    .cb-footer {
        padding-top: 60px;
    }

    .cb-footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .cb-footer-bottom div {
        flex-wrap: wrap;
    }

}