/*
Theme Name: Patrick Gasperini Theme
Theme URI: https://dandyadv.com
Author: DandyAdv
Description: Tema custom per Guida Alpina Patrick Gasperini
Version: 1.0
Text Domain: patrick-theme
*/





/* ==========================================================================
   1. FONTS & ROOT
   ========================================================================== */
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Regular.ttf'); font-weight: 400; } 
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Light.ttf'); font-weight: 300; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Bold.ttf'); font-weight: 700; }
@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-Black.ttf'); font-weight: 900; }

:root {
    --primary-orange: #ef7d00;
    --footer-blue: #002731;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* UTILITIES */
.fw-black { font-weight: 900; }
.fw-regular { font-weight: 400 !important; }
.text-orange { color: var(--primary-orange) !important; }
.bg-footer-blue { background-color: var(--footer-blue); }
.fw-bold { font-weight: 700; }

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.navbar {
    transition: transform 0.4s ease-in-out, background-color 0.3s ease;
    will-change: transform;

}


.navbar-hidden { transform: translateY(-100%); }

.nav-scrolled {
    background-color: var(--footer-blue) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 15px;
    transition: color 0.3s ease;
}



/* Sovrascrittura forzata per lo stato Active e Hover dei link della Navbar */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .current-menu-item > a,
.navbar-dark .navbar-nav .current-page-ancestor > a,
body .navbar-dark .navbar-nav .nav-link.active {
    color: #f36f21 !important; /* Il tuo colore arancione */
    font-weight: bold;
}




.navbar .navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.4rem;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar .navbar-toggler-icon {
    width: 28px;
    height: 28px;
}

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

.navbar .navbar-collapse {
    border: none;
}

@media (min-width: 992px) {
    .navbar .navbar-toggler {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        background: rgba(0, 39, 49, 0.70);
        backdrop-filter: blur(7px);
        border-radius: 0 0 12px 12px;
        padding: 1rem 1rem 1.5rem;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding-left: calc(1rem + (50vw - 50%));
        padding-right: calc(1rem + (50vw - 50%));
    }

    .navbar .navbar-collapse .navbar-nav {
        margin-top: 0.5rem;
    }

    .navbar .navbar-collapse .nav-link {
        padding: 0.75rem 0;
    }
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start;
    padding-top: 150px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.143);
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 5.5rem);
    line-height: 0.85;
    letter-spacing: 2px;
    margin-top: 20px;
    z-index: 2;
}

.hero-text {
    max-width: 480px;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 40px;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
        margin-top: 15px;
    }

    .hero-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        margin-top: 10px;
        letter-spacing: 1px;
    }

    .hero-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
}

/* CAROSELLO HERO (THUMBS) */
.thumbSwiper { 
    width: 100%; 
    padding-bottom: 30px;
    overflow: hidden;
}
.thumbSwiper .swiper-slide { width: 33.33% !important; }

.thumbSwiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.thumbSwiper .swiper-scrollbar {
    background: rgba(255, 255, 255, 0.2) !important;
    height: 8px !important;
    border-radius: 10px !important;
    bottom: 0 !important;
}

.thumbSwiper .swiper-scrollbar-drag {
    background: #ffffff !important;
    border-radius: 10px !important;
    cursor: pointer;
}

@media (max-width: 768px) {
    .thumbSwiper { 
        padding-bottom: 20px;
        padding-right: 0;
        padding-left: 0;
    }
    
    .thumbSwiper .swiper-slide { 
        width: 50% !important; 
    }
}

@media (max-width: 480px) {
    .thumbSwiper { 
        padding-bottom: 15px;
        padding-right: 0;
        padding-left: 0;
    }
    
    .thumbSwiper .swiper-slide { 
        width: 100% !important; 
    }
    
    .thumbSwiper .swiper-slide img {
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   4. SEARCH BAR (FLOATING)
   ========================================================================== */
.search-bar-wrapper {
    position: relative;
    z-index: 30;
    margin-top: -65px;
    margin-bottom: 80px;
}

.search-bar-box {
    background: white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    border-radius: 6px !important;
    padding: 25px;
}

.small-btn {
    font-size: 0.85rem !important;
    font-weight: 500;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 8px 25px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
}

.small-btn:hover {
    background-color: #d16d00 !important; /* Un arancio più scuro */
    color: white !important;              /* Forza il testo a rimanere bianco */
    transform: translateY(-2px);         /* Piccolo effetto sollevamento */
    box-shadow: 0 5px 15px rgba(239, 125, 0, 0.3);
}

/* Box spostato più in alto rispetto alla linea di confine */
.wrapper-footer-overlap {
    margin-top: 0 !important;
    /* Aumentato per "tirarlo su": ora metà box abbondante starà sul bianco */
    margin-bottom: -40px; 
    position: relative;
    z-index: 10;
}

.wrapper-footer-overlap .search-bar-box {
    /* Ombra più accentuata verso l'alto: -25px la spinge decisamente sul bianco */
    box-shadow: 0 -25px 50px rgba(0, 0, 0, 0.15) !important;
    border: none;
    /* Opzionale: aggiungi un raggio di curvatura maggiore se vuoi un look più moderno */
    border-radius: 6px !important; 
}

/* Responsive: su mobile il box è più alto, quindi alziamo il tiro */
@media (max-width: 768px) {
    .wrapper-footer-overlap {
        margin-bottom: -20px; /* Riducendo il negativo, il footer "scivola" sotto meno profondamente */
    }
    .wrapper-footer-overlap .search-bar-box {
        box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.12) !important;
    }
}

/* ==========================================================================
   5. CATEGORY CARDS
   ========================================================================== */
.category-card {
    position: relative;
    width: 100%;
    /* Questo crea la forma verticale automatica basata sulla larghezza di Bootstrap */
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    border-radius: 6px; /* Angoli arrotondati per un look moderno */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Scurisce l'immagine per far leggere il testo */
    z-index: 2;
    transition: background 0.3s ease;
}

.category-title {
    position: relative;
    z-index: 3;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Effetti Hover */
.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.1); /* Si schiarisce al passaggio del mouse */
}

/* Ottimizzazione per Mobile */
@media (max-width: 576px) {
    .category-card {
        aspect-ratio: 4 / 3; /* Su mobile stretto le facciamo leggermente più basse per non occupare tutto lo schermo */
        margin-bottom: 10px;
    }
}
/* ==========================================================================
   6. CHI SONO (SEZIONE 3 COLONNE UGUALI)
   ========================================================================== */

/* Spazio personalizzato tra le colonne su schermi grandi */
@media (min-width: 1200px) {
    .gx-xl-custom {
        --bs-gutter-x: 8rem; /* Aumentato a 8rem per ancora più spazio bianco */
    }
}

.section-title-small {
    font-size: 1.8rem;
    
}

.text-standard {
    font-size: 1rem; /* Leggermente corretto per leggibilità */
    line-height: 1.6;
    text-align: left;
    hyphens: none !important;
    opacity: 1 !important;
}

.sub-guida { 
    font-size: 0.9rem; 
    font-weight: 400; 
    color: black; 
}

.sub-guida span { 
    text-transform: uppercase; 
}

.orange-bar {
    width: 30px;
    height: 5px;
    background-color: var(--primary-orange);
    border-radius: 50px !important;
}

.link-conosciamoci {
    font-size: 0.95rem;
    font-weight: 400 !important;
    font-style: normal !important;
    color: var(--primary-orange);
    text-decoration: none;
    transition: opacity 0.3s;
}

/* Aggiunge spazio sotto il link solo su schermi piccoli (mobile/tablet) */
@media (max-width: 991.98px) {
    .link-conosciamoci {
        display: inline-block;
        margin-bottom: 3rem;
    }
}

.link-conosciamoci:hover {
    opacity: 0.7;
}

.img-chi-sono {
    width: 100%;
    height: 80% !important;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
}

.img-logos-chi-sono {
    height: 54px; /* Più visibili su desktop, tablet e mobile */
    width: auto;
}

/* Limitazione larghezza per schermi UltraWide */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px; 
    }
    
}




/* ==========================================================================
   12. PAGINA CHI SONO - DETTAGLI SPECIFICI
   ========================================================================== */

/* Stile per i Focus Professionali (Icone + Testo) */
.skill-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.skill-item:hover {
    background: #ffffff;
    border-color: #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.skill-item i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(239, 125, 0, 0.1); /* Sfondo arancio leggero per l'icona */
    border-radius: 10px;
}


/* Badge Esperienza Professionale (Aggiornato) */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: var(--primary-orange);
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(239, 125, 0, 0.3);
    z-index: 5;
}

.experience-badge .num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
}

.experience-badge .txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Bio / Storia Text */
.story-text .text-standard {
    margin-bottom: 1.5rem;
    color: #444;
}

.story-text strong {
    color: var(--footer-blue);
    font-weight: 700;
}

/* Border styling per la citazione (Blockquote) */
.border-orange {
    border-color: var(--primary-orange) !important;
}

/* Responsive adjustments per Chi Sono */
@media (max-width: 991.98px) {
    .about-img-wrapper {
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .experience-badge {
        right: 15px;
        bottom: -15px;
        padding: 15px 20px;
    }

    .experience-badge .num {
        font-size: 1.4rem;
    }
}

/* Utilità per allineamento icone nelle liste competenze */
.trek-list .bi-check-circle-fill {
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Correzione allineamento icone nei Focus Professionali */
.skill-item.d-flex.align-items-center i {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(2px); /* Sposta l'icona leggermente in basso per allinearla al testo */
}

/* Correzione per le liste puntate (Trek-list) */
.trek-list li i {
    line-height: 1;
    margin-top: 3px; /* Allinea il pallino alla prima riga di testo */
}



/* ==========================================================================
   7. SEZIONE eventi
   ========================================================================== */
.bg-eventi {
    background-image: linear-gradient(rgba(0, 39, 49, 0.7), rgba(0, 39, 49, 0.7)), 
                      url('img/10-proposte-sfondo.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.eventi-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden; /* Evita scroll orizzontali dovuti allo swiper */
}

/* Forza la visualizzazione di una sola card su schermi mobili/piccoli */
@media (max-width: 768px) {
    .eventi-section .swiper-slide {
        width: 100% !important;
    }

    /* Allinea frecce e barra alla larghezza della card */
    .eventi-nav-wrapper {
        width: 100%;
        padding: 0 5px;
        justify-content: space-between;
        align-items: center;
    }

    /* La scrollbar diventa flessibile per occupare tutto lo spazio tra le frecce */
    .swiper-scrollbar-eventi {
        width: 100% !important;
        flex-grow: 1;
        margin: 0 15px !important;
    }
}

/* Card Verticali come da layout */
.eventi-card-new {
    position: relative;
    height: 450px; /* Altezza simile alle category-cards iniziali */
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}



/* Opzionale: Se il titolo a destra "eventi" è ancora troppo grande */
.display-4 {
    font-size: 3rem !important; /* Riduce leggermente il font se va ancora a capo male */
}

.eventi-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.eventi-card-new:hover img {
    transform: scale(1.1);
}

.eventi-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    letter-spacing: 0.5px;
}

.eventi-overlay h4 {
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
}



/* Navigazione Swiper */
.swiper-scrollbar-eventi {
    width: 120px !important;
    height: 3px !important;
    background: rgba(255,255,255,0.2) !important;
    position: relative !important;
}

.swiper-scrollbar-eventi .swiper-scrollbar-drag {
    background: #ffffff !important;
}

/* Wrapper posizionamento */
.eventi-nav-wrapper {
    margin-top: 20px;
    display: flex !important; /* Forza la visibilità */
    z-index: 10;
}

/* La Barra Bianca */
.swiper-scrollbar-eventi {
    width: 150px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    position: relative !important; /* Fondamentale */
    margin: 0 10px; /* Spazio tra le frecce */
    border-radius: 10px !important;
}




/* La parte della barra che scorre */
.swiper-scrollbar-eventi .swiper-scrollbar-drag {
    background: #ffffff !important;
    border-radius: 10px !important;
}

/* Le Frecce */
.swiper-button-prev-custom, 
.swiper-button-next-custom {
    color: white !important;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
}

.swiper-button-prev-custom:hover, 
.swiper-button-next-custom:hover {
    color: var(--primary-orange) !important;
}




/*9. SEZIONE RECENSIONI*/
/* Intestazione Recensioni */
.orange-bar-small {
    width: 25px;
    height: 4px;
    background-color: var(--primary-orange);
    border-radius: 10px;
}

/* Card Recensioni */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 5px; /* Angoli poco arrotondati come screenshot */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1); /* Ombra morbida e profonda */
    margin: 20px 10px 40px; /* Spazio per l'ombra */
    transition: transform 0.3s ease;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.google-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    border-radius: 50%;
}

/* Frecce Recensioni (Arancioni e sottili) */
.swiper-nav-recensioni {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
}

.swiper-nav-recensioni.prev { left: 0; }
.swiper-nav-recensioni.next { right: 0; }

.swiper-nav-recensioni:hover {
    opacity: 0.7;
}





/* ==========================================================================
   8. CTA REGALA ESPERIENZA
   ========================================================================== */
.cta-regala {
    min-height: 450px; /* Altezza verticale come da mockup */
    display: flex;
    align-items: center;
    overflow: hidden;
}




/* Gestione Immagine Cofanetto a sinistra */
.regalo-card-wrapper {
    display: inline-block;
    padding: 15px;
    z-index: 2;
}

.regalo-box-img {
    max-height: 380px; /* Altezza proporzionata alla sezione */
    width: auto;
    object-fit: contain;
    /* Opzionale: aggiunge un'ombra leggera se l'immagine non è scontornata perfettamente */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.3); */
}




/* Stile per la barra arancione accanto al sottotitolo */
.orange-bar-small {
    width: 30px;
    height: 4px;
    background-color: #ef7d00;
    border-radius: 10px;
}
/* ==========================================================================
   9. partners
   ========================================================================== */

.logo-partner {
    width: 100%;
    max-width: 140px; /* Regola questa larghezza per rimpicciolire i loghi troppo larghi */
    height: 60px;     /* Aumentiamo leggermente l'altezza rispetto ai 50px di prima */
    object-fit: contain; /* Forza il logo a stare dentro i 60px senza tagliarsi */
    filter: grayscale(100%); /* Opzionale: rende i loghi tutti grigi per più eleganza */
    transition: filter 0.3s ease;
}

.logo-partner:hover {
    filter: grayscale(0%); /* Tornano a colori quando ci passi sopra */
}

/* Su mobile li mettiamo leggermente più piccoli */
@media (max-width: 768px) {
    .logo-partner {
        max-width: 110px;
        height: 50px;
    }
}


/* --- Regolazioni specifiche per loghi --- */

/* Blum: Lo rimpiccioliamo rispetto allo standard di 140px */
.logo-blum {
    max-width: 100px !important; 
}

/* Finestra e Tana: Li rendiamo più grandi */
.logo-finestra, 
.logo-tana {
    max-width: 180px !important; 
    height: 75px !important; /* Aumentiamo l'altezza per non strozzarli */
}

/* --- Gestione Mobile e Tablet (< 768px) --- */
@media (max-width: 768px) {
    .logo-blum {
        max-width: 80px !important;
    }

    .logo-finestra, 
    .logo-tana {
        max-width: 140px !important;
        height: 60px !important;
    }
}
/* ==========================================================================
   10. footer
   ========================================================================== */
.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #666; /* Un grigio più scuro */
}

   .footer {
    background-color: #112128; /* Il blu scuro dello screenshot */
    font-family: 'Montserrat', sans-serif; /* Assicurati di avere un font simile */
}

.footer h5 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.text-orange {
    color: #ef7d00; /* Il tuo arancione */
}

.footer-list li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.85;
}

.footer-list a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #ef7d00 !important;
}

.footer-phone-link {
    color: white;
}

.footer-phone-link:hover {
    color: #ef7d00 !important;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Footer Links Utilities --- */
.footer-links-list a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem; /* Aumentato per matchare lo screenshot */
    transition: color 0.3s;
    display: flex;
    align-items: center;
    padding: 2px 0;
}

.footer-links-list a i {
    font-size: 1.1rem;
    width: 28px; /* Larghezza fissa per far sì che i testi inizino tutti dallo stesso punto */
    text-align: center;
}



/* Allineamento icone perfetto */
.footer-icon-fixed {
    font-size: 1.3rem; /* Leggermente più grandi come da screen */
    width: 35px;       /* Spazio fisso per l'icona */
    text-align: left;  /* Icona attaccata a sinistra dello spazio fisso */
    display: inline-block;
}

.footer-links-list a:hover {
    color: #ef7d00;
}

.footer-links-list a:hover .footer-icon-fixed {
    color: #ef7d00;
    opacity: 1;
}

.footer .dropdown-menu {
    background-color: #111;
    border: 1px solid rgba(255,255,255,0.12);
    min-width: 210px;
}

.footer .dropdown-toggle::after {
    display: none;
}

.footer-dropdown-icon {
    font-size: 0.9rem;
}

.footer .dropdown-item {
    color: white;
    padding: 0.35rem 1rem;
    font-size: 0.9rem;
}

.footer .dropdown-item:hover,
.footer .dropdown-item:focus {
    color: #ef7d00;
    background-color: rgba(239,125,0,0.08);
}

.footer .dropdown-item:hover,
.footer .dropdown-item:focus {
    color: #ef7d00;
    background-color: rgba(239,125,0,0.08);
}

.footer .footer-links-list .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.social-links a {
    color: white;
    font-size: 1.4rem;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: #ef7d00;
    transform: translateY(-3px);
}

/* Linea di separazione sottile */
.border-secondary {
    border-color: rgba(255,255,255,0.1) !important;
}

/* ==========================================================================
   CHI SONO
   ========================================================================== */
/* Slider Chi Sono */
.hero-slide-item {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    background-repeat: no-repeat;
    width: 100%;
    /* L'altezza è già definita inline nell'HTML, quindi non serve qui */
}







/* Padding ampi per sezioni moderne */
.section-padding {
    padding: 100px 0;
}

/* Wrapper Immagine con Badge */
.about-img-wrapper {
    position: relative;
    padding-right: 30px;
    
}


.img-fluid.main-img {
    border-radius: 6px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: var(--primary-orange);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(239, 125, 0, 0.3);
}

.experience-badge .num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .txt {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* Skill Item */
.skill-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Personalizzazione Swiper */
.aboutSwiper .swiper-button-next, 
.aboutSwiper .swiper-button-prev {
    color: white;
}

.aboutSwiper .swiper-pagination-bullet-active {
    background: var(--primary-orange);
}

/* ==========================================================================
   UTILITIES & LAYOUT GENERALE
   ========================================================================== */
/* Spazio per compensare la Navbar fissa sulle pagine interne senza Hero */
.pt-150 {
    padding-top: clamp(100px, 15vh, 150px) !important;
}

/* Badge Arancione per categorie (Eventi/Corsi) */
.badge-orange {
    background-color: var(--primary-orange);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 4px;
}

/* ==========================================================================
   CARD ATTIVITÀ (Estate, Inverno, Viaggi)
   ========================================================================== */
.card-activity {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    background: #fff;
    height: 100%;
}

.card-activity:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.card-activity img {
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-activity:hover img {
    transform: scale(1.08);
}

.card-activity .card-body {
    padding: 2rem 1.5rem;
}

/* ==========================================================================
   11. CARD ATTIVITÀ (Estate, Inverno) - FIX OMBRE E TESTI
   ========================================================================== */

.card-trek {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
    height: 100%;
    /* Ombra più marcata per vederla bene su fondo bianco */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important; 
    display: flex;
    flex-direction: column;
}

.card-trek:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18) !important;
}

.trek-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.trek-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-trek:hover .trek-img img {
    transform: scale(1.1);
}

.trek-content {
    padding: 30px !important; /* Più respiro al testo */
    background: #ffffff !important;
    flex-grow: 1;
}

/* Titolo della card */
.trek-content h4 {
    font-size: 1.3rem !important;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--footer-blue);
}

/* TESTO DESCRITTIVO: Più grande e leggibile */
.trek-content p {
    font-size: 1rem !important; /* Ingrandito */
    line-height: 1.6 !important;
    color: #555 !important; /* Grigio leggermente più scuro per contrasto */
    margin-bottom: 20px;
}

/* Link Scopri di più */
.link-trek {
    color: var(--primary-orange) !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.link-trek:hover {
    gap: 12px;
}

/* Sidebar e Liste Single Page */
.sidebar-box { 
    border: 1px solid #eee; 
    box-shadow: 2px 2px 50px 12px rgba(0, 0, 0, 0.15) !important;

    
}

/* Rende la scheda tecnica perfettamente scorrevole senza blocchi */
.col-lg-4 .sidebar-box {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Personalizzazione della barra di scorrimento interna alla sidebar (opzionale ma pulita) */
.col-lg-4 .sidebar-box::-webkit-scrollbar {
    width: 5px;
}
.col-lg-4 .sidebar-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Titolo Dettagli Attività: Bold 700, non Black, no Uppercase */
.sidebar-box h5 {
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: 1.1rem;
    letter-spacing: 0;
}

/* Tabella Dettagli: Testo piccolo */
.tech-table { width: 100%; }
.tech-table td { 
    padding: 12px 0; 
    border-bottom: 1px dotted #ccc; 
    font-size: 0.85rem; /* Testo piccolo */
}
.tech-table td:first-child { 
    font-weight: 700; 
    color: var(--footer-blue); 
}

/* Lista Info Utili: Testo piccolo come la tabella */
.trek-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start; /* Allinea in alto se il testo va a capo */
    gap: 10px;
    font-size: 0.85rem; /* Uguale alla tabella */
    line-height: 1.5;
}

.trek-list li strong {
    font-weight: 700; /* Bold 700 */
}

/* Titolo Info Utili: Bold 700, non Black, no Uppercase */
h4.fw-bold {
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0;
}

/* ==========================================================================
   MODULI (Regala, Contatti)
   ========================================================================== */
/* Stile base per Input e Select */
.form-control, .form-select {
    border: 1px solid #dce1e5;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

/* Effetto Focus (Arancione) */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.25rem rgba(239, 125, 0, 0.15);
    outline: none;
}

/* Titoli delle sezioni dentro i form (es. 1. DETTAGLI) */
.form-step-title {
    color: var(--footer-blue);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Checkbox Privacy personalizzata */
.form-check-input:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.form-check-label a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}


/* Uniforma la grandezza dei link utili con il resto del footer */
.footer-links-list li, 
.footer-links-list a {
    font-size: 1rem !important; /* Forza la dimensione standard del footer */
    text-decoration: none;
    transition: 0.3s;
}

/* Assicuriamoci che anche le icone seguano la stessa proporzione */
.footer-icon-fixed {
    width: 20px; /* Larghezza fissa per allineare i testi verticalmente */
    text-align: center;
    font-size: 1.1rem;
}

/* Se i dropdown di Bootstrap sembrano ancora piccoli */
.footer-links-list .dropdown-toggle {
    font-weight: 400; /* Per non farli sembrare troppo pesanti rispetto ai contatti */
}

/* ==========================================================================
   SEZIONE BILINGUE (Pagina Canyoning)
   ========================================================================== */
.lang-column {
    position: relative;
    padding: 2rem;
}

/* Linea verticale divisoria tra le lingue (solo su Desktop) */
@media (min-width: 992px) {
    .lang-column-it {
        border-right: 1px solid #eee;
    }
}

/* Distanziamento lingue su Mobile */
@media (max-width: 991px) {
    .lang-column-it {
        border-bottom: 1px solid #eee;
        margin-bottom: 2rem;
    }
}

/* ==========================================================================
   PAGINA 404 (Errore)
   ========================================================================== */
.error-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--footer-blue);
}

.big-404 {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    color: var(--primary-orange);
    line-height: 1;
}

/* ==========================================================================
   TABELLA DATI TECNICI (Per le pagine Viaggi/Eventi)
   ========================================================================== */
.tech-table {
    width: 100%;
    margin-top: 1.5rem;
}

.tech-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.tech-table td:first-child {
    font-weight: 700;
    color: var(--footer-blue);
    width: 40%;
}
/* ==========================================================================
   PAGINE ESTATE E INVERNO E SINGOLE
   ========================================================================== */

/* Slider Pagine Interne */
.inner-header {
    height: 70vh; /* Altezza ridotta rispetto alla home */
    width: 100%;
    background-color: var(--footer-blue);
}

.singleSwiper {
    height: 100%;
    width: 100%;
}

/* Titolo fisso sopra lo slider */
.inner-header h1 {
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10;
    pointer-events: none; /* Evita che il titolo blocchi lo swipe col mouse */
}

/* Stile Pallini Pagination */
.singleSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.singleSwiper .swiper-pagination-bullet-active {
    background: var(--primary-orange) !important;
    opacity: 1;
}

/* Stile per l'anteprima video grande in fondo */
.video-preview-mini {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.video-preview-mini:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.video-play-mini-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

.video-play-mini-overlay i {
    color: #fff;
    font-size: 2rem; /* Icona più grande */
    background: var(--primary-orange);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px; /* Centratura ottica del triangolo */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Hover sul link testuale arancione */
.text-orange {
    transition: 0.3s;
}
.text-orange:hover {
    color: var(--footer-blue) !important;
}
/* ==========================================================================
 breadcrumbs
   ========================================================================== */

/* Stile Breadcrumbs Personalizzato */
.custom-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.custom-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary-orange) !important;
}

.custom-breadcrumb .breadcrumb-item.active {
    position: relative;
}



/* Breadcrumbs sotto lo slider */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/"; /* Un separatore più pulito per il bianco */
    font-size: 0.6rem;
    vertical-align: middle;
}



/* La linea decorativa sotto le breadcrumbs */
.breadcrumb-line {
    width: 60px; /* Lunghezza della linea */
    height: 3px;
    background-color: var(--primary-orange);
    margin: 0 auto; /* Centrata */
    border-radius: 50px;
}






/* ==========================================================================
pagine viaggi
   ========================================================================== */


.border-custom {
    border: 1.5px solid #151515 !important; /* Grigio medio, spessore leggermente maggiorato */
}




/* ==========================================================================
regala
   ========================================================================== */
/* Sfondo e Overlay */
.hero-regala {
    position: relative;
    background-image: url('img/sfondo.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.hero-regala::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Scurito leggermente per i testi bianchi */
    z-index: 1;
}

.hero-regala .container {
    position: relative;
    z-index: 2;
}

/* Form Trasparente (Glassmorphism) */
.hero-regala form {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4) !important;
}

/* Colori testi per la sezione contatti */
.hero-regala h2, 
.hero-regala h5, 
.hero-regala label, 
.hero-regala p,
.hero-regala .form-check-label {
    color: #ffffff !important;
}

/* Campi di input */
.hero-regala .form-control, 
.hero-regala .form-select {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    color: #333;
}

/* Forza l'arancione se Bootstrap lo sovrascrive */
.text-orange {
    color: #ff6600 !important; 
}




/* ==========================================================================
404
   ========================================================================== */

.icon-404 {
            font-size: 4rem;
            animation: float 3s ease-in-out infinite;
            display: inline-block;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        /* Assicura che la sezione occupi lo spazio tra nav e footer */
        .error-page-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    /* Il gradient va scritto PRIMA dell'url per stare sopra */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
        url('img/404.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Opzionale: per dare l'effetto parallasse come nelle altre pagine */
    padding-top: 100px;
    position: relative;
}

/* Messaggio di conferma invio form semplice in bianco */
.alert-success,
.form-success-message {
    background-color: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 10px 0 !important;
    font-weight: 500;
}