@charset "utf-8";
/* CSS Document */

/* ==========================================================================
   1. RESET & IMPOSTAZIONI GENERALI (UNIFICATI)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

body {
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.bg-light {
    background-color: #f8fafc;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #111;
}

.section-subtitle {
    margin-bottom: 40px;
    color: #666;
}

/* Pulsanti Generici */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #004b99;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e5b95f;
}

/* ==========================================================================
   2. HEADER & NAVBAR
   ========================================================================== */
header {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/indeximg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: background-image 1.2s ease-in-out; 
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e5b95f;
}

/* Hamburger Menu Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* ==========================================================================
   3. CAROSELLO NEWS
   ========================================================================== */
.news-section {
    background-color: #16161a;
    padding: 4rem 1.5rem;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #e5b95f;
    letter-spacing: 1px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 45px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    position: relative;
}

.carousel-track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.news-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    position: relative;
    background: #1c1c21;
    border: 1px solid #2a2a32;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}


.card-image {
    position: relative;
    width: 100%;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #121214;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
    display: block;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background-color: #e5b95f;
    color: #121214;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}


.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between; 
}

.card-date {
    font-size: 0.8rem;
    color: #888893;
    margin-bottom: 8px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-content p {
    font-size: 0.9rem;
    color: #b0b0bc;
    line-height: 1.5;
    margin-bottom: 15px;
    display: block;
    overflow: visible;
}

.card-link {
    color: #e5b95f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    cursor: pointer;
    margin-top: auto;
}
}

.card-actions {
  display: flex;
  gap: 12px;
    flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

.card-link:hover {
    color: #0066cc;
}

/* Pulsanti Frecce */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(28, 28, 33, 0.9);
    color: #e5b95f;
    border: 1px solid #3a3a45;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

.carousel-btn:hover {
    background-color: #e5b95f;
    color: #121214;
}

.prev-btn { left: 0px; }
.next-btn { right: 0px; }

/* Dots / Indicatori */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #3a3a45;
    cursor: pointer;
    transition: background-color 0.3s, width 0.3s;
}

.dot.active {
    background-color: #e5b95f;
    width: 24px;
    border-radius: 10px;
}
/* ==========================================================================
   OPTIMIZATION MOBILE CAROUSEL (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  
    .carousel-container {
        padding: 0;
        margin-bottom: 1.5rem;
    }


    .carousel-btn {
        display: none !important;
    }

   
    .carousel-track-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }

    .carousel-track {
        display: flex;
        align-items: stretch; 
        overflow-x: auto;
        transform: none !important;
        gap: 15px;
        padding-left: 15px; 
        padding-right: 15px; 
    }

    
    .news-card {
        flex: 0 0 82vw; 
        max-width: 320px;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
    }

    
    .card-image {
        height: 160px; 
        min-height: 160px;
        flex-shrink: 0;
        background-color: #121214;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: contain; 
        object-position: center;
    }

    
    .carousel-dots {
        display: flex !important; 
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        position: relative;
        z-index: 10;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #3a3a45;
        cursor: pointer;
        transition: background-color 0.3s, width 0.3s;
    }

    .dot.active {
        background-color: #e5b95f;
        width: 24px;
        border-radius: 10px;
    }

    
    .card-content {
        padding: 14px;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        justify-content: space-between;
    }

    .card-content h3 {
        font-size: 1rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }

   
    .card-content p {
        font-size: 0.825rem;
        margin-bottom: 10px;
        line-height: 1.4;
        display: block;        
        overflow: visible;     
    }
}
/* ==========================================================================
   4. CHI SIAMO
   ========================================================================== */
#chi-siamo {
    padding: 80px 20px;
    background-color: #ffffff;
    color: #333333;
}

#chi-siamo h2 {
    color: #111111;
    margin-bottom: 20px;
}

.chi-siamo-content p {
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.8;
}

/* ==========================================================================
   5. SERVIZI & OFF-CANVAS DRAWER
   ========================================================================== */
#servizi h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    color: #0f172a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.35rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-summary {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.full-details {
    display: none;
}

/* --- PANNELLO OFF-CANVAS / DRAWER --- */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.offcanvas-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.offcanvas-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
}

.drawer-title {
    font-size: 1.25rem;
    color: #0f172a;
    font-weight: 700;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color 0.2s;
}

.drawer-close:hover {
    color: #0f172a;
}

.drawer-body {
    padding: 2rem 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.drawer-body p {
    color: #334155;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.drawer-body h4 {
    color: #0f172a;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.1rem;
}

.drawer-body ul {
    margin-left: 1.25rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

.drawer-body li {
    margin-bottom: 0.5rem;
}

.teachers-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.teacher-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.teacher-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2563eb;
    flex-shrink: 0;
}

.teacher-info {
    flex-grow: 1;
}

.teacher-name {
    font-size: 1.05rem;
    color: #0f172a;
    margin: 0;
    font-weight: 700;
}

.teacher-role {
    display: block;
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.teacher-cv {
    font-size: 0.875rem !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   6. SHOWCASE ALLIEVI
   ========================================================================== */
.showcase-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.showcase-section {
    background-color: #16161a;
    padding: 80px 20px;
    color: #ffffff;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tagline {
    color: #e5b95f;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.showcase-header .section-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.showcase-header .section-subtitle {
    color: #a0a0ab;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.showcase-card {
    background-color: #1c1c21;
    border: 1px solid #2a2a32;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.showcase-card:hover {
    transform: translateY(-8px);
    border-color: #e5b95f;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.media-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-card:hover .media-container img {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.showcase-card:hover .overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
}

.play-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(229, 185, 95, 0.9);
    color: #121214;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    padding-left: 3px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.showcase-card:hover .play-icon {
    transform: scale(1.15);
    background-color: #ffffff;
}

.media-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(18, 18, 20, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-info {
    padding: 22px;
}

.showcase-category {
    color: #e5b95f;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.showcase-info h3 {
    font-size: 1.25rem;
    margin: 8px 0 6px 0;
    color: #ffffff;
}

.showcase-info p {
    color: #888893;
    font-size: 0.9rem;
}

.showcase-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-showcase {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid #e5b95f;
    color: #e5b95f;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-showcase:hover {
    background-color: #e5b95f;
    color: #121214;
    box-shadow: 0 0 15px rgba(229, 185, 95, 0.4);
}

/* ==========================================================================
   7. DOVE SIAMO
   ========================================================================== */
.dove-siamo {
    background-color: #f9f9fb;
    padding: 60px 20px;
    color: #2c3e50;
}

.dove-siamo-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.dove-siamo-info {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.dove-siamo-info h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a252f;
    position: relative;
}

.dove-siamo-info h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #c0392b;
    margin-top: 8px;
    border-radius: 2px;
}

.dove-siamo-info .subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item strong {
    display: block;
    font-size: 1.05rem;
    color: #1a252f;
    margin-bottom: 4px;
}

.info-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.info-item a {
    color: #c0392b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item a:hover {
    text-decoration: underline;
}

.dove-siamo-map {
    flex: 1;
    min-height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f2f5;
    color: #2c3e50;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.social-icon.facebook:hover { background-color: #1877f2; }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285aebe6 90%); }
.social-icon.youtube:hover { background-color: #ff0000; }

/* ==========================================================================
   8. FORM CONTATTI / MUSICA
   ========================================================================== */
.music-form {
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fafafa;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    background-color: #fff;
}

.music-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

/* ==========================================
   STILI FOOTER ESPANSO & ALLINEATO
   ========================================== */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 20px;
    margin-top: 60px;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}


.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-left h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    color: #ffffff;
}

.footer-left p {
    margin: 0 0 15px 0;
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* Stili del Logo */
.footer-logo-container {
    margin-top: 5px;
}

.footer-logo {
    max-width: 140px;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.03);
}


.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-right h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-drawer-btn {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-drawer-btn:hover {
    color: #ffffff;
}


@media (max-width: 768px) {
    .site-footer,
    .footer-content,
    .footer-left,
    .footer-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-content {
        gap: 30px !important;
    }

    .footer-links-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .footer-links-list li {
        width: 100% !important;
        text-align: center !important;
    }

    .footer-drawer-btn {
        text-align: center !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }

    .footer-logo-container {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .footer-logo {
        margin: 0 auto !important;
    }
}

/* ==========================================
   STILI COOKIE OVERLAY (Blocco schermo)
   ========================================== */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner {
    background: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
}

.cookie-banner h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.cookie-banner p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-banner .link-btn {
    background: none;
    border: none;
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.btn-accept {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-accept:hover {
    background-color: #218838;
}

/* ==========================================================================
   10. MEDIA QUERIES RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .news-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    /* Navbar Hamburger */
    .hamburger {
        display: flex;
    }

    .navbar {
        position: relative;
        padding: 15px 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links.active {
        max-height: 300px;
        opacity: 1;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero-content h1 { font-size: 2.2rem; }
    .showcase-section { padding: 50px 15px; }
    .showcase-header .section-title { font-size: 2rem; }
    .dove-siamo-container { flex-direction: column; }
    .dove-siamo-info { padding: 25px; }
    .dove-siamo-map { height: 300px; }
}

@media (max-width: 600px) {
    .news-card {
        flex: 0 0 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .music-form {
        padding: 20px 15px;
    }

    .offcanvas-drawer {
        max-width: 100%;
    }
}


@media (max-width: 768px) {
    .news-card {
        flex: 0 0 100%; 
        width: 100%;
    }

}