body {
    scroll-behavior: smooth;
    --bs-bg-opacity: 1;
    background-color: #040404;
    width: 100%;
    overflow-x: hidden

}
html {
    scroll-behavior: smooth;
        width: 100%;
        overflow-x: hidden
}

.mine{background-color: #1b1a1a
}
a{
    color: rgba(186, 43, 77, 0.98)
}
a:hover{
    color: #785f1e
}

section {
    scroll-margin-top: 90px; /* o l’altezza della tua navbar */
}

.bg-black {background: #000000 !important;}
.bg-dark {background: #1b1a1a !important;}
.bg-yellow {background: #F4C758 !important;}
.border-y{border-bottom: solid 3px #F4C758}
/* Hero section responsive */
.hero {
    width: 100%;
    margin-top: 5px; /* per non coprire la navbar */
    position: relative;
    overflow: hidden;
}

/* Immagine adattabile */
.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Overlay con nero opaco al 20% */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 2rem;
}
.hero-text {
    position: absolute;       /* posizionamento sopra l'immagine */
    bottom: 0;                /* in basso */
    left: 0;
    width: 100%;              /* tutta la larghezza */
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;        /* puoi regolare */
    text-align: center;       /* centra il testo */
    margin: 0;                /* rimuove margini default */
    font-size: 1.2rem;        /* regola come vuoi */
}

#claim {
    font-size: clamp(1.0rem, 1.0vw, 1.0rem);
    background-color: #ffffff;
    background-image: url('../img/bra.png');
    background-repeat: no-repeat;
    background-position: calc(0% - 50px) calc(100% + 50px); /* sposta left e bottom */
    background-attachment: local;
    background-size: 300px; /* dimensione fissa */
}
/* Media query per mobile */
@media (max-width: 768px) {
    #claim {
    background-size: 150px;   /* riduce l'immagine su mobile */
    background-position: calc(0% - 20px) calc(100% + 20px); /* sposta left e bottom */

    }
    #navbarNav {
        padding:2px;

    }
    .nav-item{
        padding:5px;
    }
}


.hero-title {
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(2rem, 6vw, 4rem);
}

.border-white{
    border: 2mm solid rgb(211 220 50 / 0.6);
}
.border-yellow{
    border: 4mm solid rgb(209, 159, 37);
}

.gold {
    color: #F4C758;
}

.log{width:30%;
    transition: transform 0.3s ease;
}

.log:hover {
    transform: scale(1.1); /* ingrandisce del 10% */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-img {
        width: 100%;
        height: 300px;         /* altezza minima */
        object-fit: cover;     /* taglia l’immagine per riempire */
    }
    .hero-overlay {
        padding: 1.5rem;
    }
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
    .log{width:50%}

}
.nav-link {
    cursor: pointer;
    color:#ffffff

}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23F4C758' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.gold{color:#ffffff}

h1 {
    font-family: "Helvetica", serif;
    font-weight: 800;
    font-style: normal;
    font-size: clamp(2rem, 5vw, 3rem);
}
h2, h3, h4, h5 {
    font-family: "Helvetica", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

/* Sezione Chi Siamo */
.member {
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.member:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.member-img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

.member h5 {
    font-family: "Ms Madi", cursive;
    font-size: 1.9rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.member p {
    color: #fff;
    font-family: "helvetica", cursive;
    margin-bottom: 0;
    font-size: 0.9rem;
    letter-spacing: 0.2em

}

/* Responsive: regola la griglia su mobile */
@media (max-width: 768px) {
    .member-img {
        max-width: 120px;
        height: 120px;
    }
    .bg {
        background-attachment: scroll;  /* fallback mobile */
        background-position: center top; /* mostra la parte alta */
        background-size: contain ;        /* evita lo zoom eccessivo */
    }

}

.title h2{
    color: #F4C758;
    font-size: small;
    letter-spacing: 0.2em

}

#eventi a{color: #0a6ad2}

/* --- Effetto Parallasse --- */
.bg {
    background-image: url("../img/bg.jpg");
    background-attachment: scroll;
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    color: #fff; /* testo leggibile sopra lo sfondo */
    position: relative;
    z-index: 1;
    opcity:0.8
}

/* Per migliorare la leggibilità del testo sopra l’immagine */
.bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8); /* scurisci leggermente lo sfondo */
    z-index: -1;
}

/* Rimuove bordo e sfondo */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Hover: scurisci un po' l'icona */
.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon div,
.navbar-toggler:hover .navbar-toggler-icon::after {
    filter: brightness(0.8);
}

/* Struttura base */
.navbar-dark .navbar-toggler-icon {
    position: relative;
    width: 30px;
    height: 22px;
    background: none !important;
    display: inline-block;
}

/* Le tre linee */
.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon div,
.navbar-dark .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #F4C758; /* oro */
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Posizioni iniziali */
.navbar-dark .navbar-toggler-icon::before {
    top: 0;
}
.navbar-dark .navbar-toggler-icon div {
    top: 10px;
}
.navbar-dark .navbar-toggler-icon::after {
    bottom: 0;
}

/* Quando il menu è aperto: diventa una X */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 10px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 10px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon div {
    opacity: 0; /* linea centrale scompare */
}

.modal-header, .modal-footer, .modal-body {border: none;}

.custom-header {
    position: relative;
    justify-content: center;
    text-align: center;
}
.custom-header .modal-title {
    font-family: "Ms Madi", cursive;
    font-size: 2.5rem;
    width: 100%;
}
.custom-header .btn-close {
    position: absolute;
    right: 1rem;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover comune */
.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.85;
    color:#ffffff
}

/* Colori brand */
.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.instagram {
    background: radial-gradient(
            circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285aeb 90%
    );
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon.email {
    background-color: #d4af37; /* gold Aerosoul */

}

.parallax-section {
    position: relative;
    background-image: url("../img/bg.jpg"); /* o la tua immagine */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* desktop */
    color: #f5f5f5;
}

/* OVERLAY per schiarire */
.parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* ← più chiaro */
    z-index: 0;
}

/* contenuto sopra overlay */
.parallax-section > .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        background-position: center top;
    }
}

/* EVENTI */
.event-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #efefef;
    transition: all 0.3s ease;
}

.event-item:last-child {
    border-bottom: none;
}

.event-item:hover {
    border-color: #efefef;
}

/* DATA + ICONA */
.event-date {
    min-width: 70px;
    text-align: center;
    color: #c0392b; /* rosso soul */
    font-weight: 600;
}

.event-date i {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    opacity: 0.8;
}

/* INFO */
.event-info h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.event-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.75;
}


.events-container {
    max-height: 250px; /* Mostra circa 3 eventi */
    overflow-y: auto;
    padding: 1rem;
        background: #ffffff;  /*leggero sfondo “vinile” */
    border-radius: 8px;
}

.events-container::-webkit-scrollbar {
    width: 6px;
}

.events-container::-webkit-scrollbar-thumb {
   /* background-color: rgba(255,255,255,0.2);*/
    border-radius: 3px;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;

    transition: background 0.2s ease;
}

.event-item:last-child {
    border-bottom: none;
}

.event-item:hover {
    background: rgba(255,255,255,0.05); /* Hover leggero senza toccare il bordo */
}

.event-date {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
    font-weight: bold;

}

.event-date i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;

}

.event-info h5 {
    margin: 0;
    font-size: 1rem;

}

.event-info p {
    margin: 0;
    font-size: 0.85rem;

}

.event-info a {

    text-decoration: none;
}

.event-info a:hover {
    text-decoration: underline;
}

/* MINIATURE */
.event-thumb {
    flex-shrink: 0;
}

.event-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.event-thumb img:hover {
    transform: scale(1.1);
}




.hero-social .social-icon {
    transform: scale(1.1);
}

.hero-social .social-icon:hover {
    transform: scale(1.25);
    color:#ffffff
}
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* stato attivo */
#lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* immagine */
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;

    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* animazione entrata */
#lightbox.active img {
    transform: scale(1);
}

/* bottone X */
#lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
}

#lightbox-close:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Navbar nascosta inizialmente */
.navbar {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Quando attiva */
.navbar.show {
    transform: translateY(0);
}

.soundcloud-wrapper iframe {
    width: 100%;
    max-width: 100%;
    border: none;
}

.soundcloud-wrapper {
    width: 100%;
    overflow: hidden;
}

.soundcloud-wrapper iframe {
    width: 100%;
    height: 450px;
    border-radius: 12px;
}