body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* NAVBAR */
.navbar-desert {
    background-color: #000 !important; /* sfondo nero */
    padding: 22px 0;
    opacity: 1; /* sempre visibile */
    transition: background-color 0.4s ease, padding 0.4s ease;
    position: fixed; /* forza la posizione fissa */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* sempre sopra tutto */
}

.navbar-desert.loaded {
    opacity: 1;
}

.navbar-desert.scrolled {
    background-color: #000 !important;
    padding: 10px 0;
}

.navbar-brand img {
    height: 42px;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 18px;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #b87333 !important;
}

/* Allineamento verticale bandiere */
.navbar-nav .nav-item .lang-flag {
    display: block;
}

.navbar-nav .nav-item.flag-item {
    display: flex;
    align-items: center;
}

/* BANDIERE TONDE CON BORDINO RAME */
.lang-flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #b87333;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-flag:hover {
    transform: scale(1.18);
    box-shadow: 0 0 8px rgba(184, 115, 51, 0.7);
    border-color: #d48a45;
}

#hero, 
.hero-section {
    margin-top: 90px; /* regolare 80–110px */
}

/* HERO SLIDER */
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

.carousel-caption h1,
.carousel-caption p {
    text-shadow: 0 0 12px rgba(0,0,0,0.6);
}

/* ANIMAZIONE FADE-UP */

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-item.active .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* DELAY ANIMAZIONE (opzionale ma consigliato) */
.carousel-item.active h1.fade-up {
    transition-delay: 0.1s;
}

.carousel-item.active p.fade-up {
    transition-delay: 0.25s;
}

.carousel-item.active a.fade-up {
    transition-delay: 0.4s;
}

.carousel-caption a.btn {
    margin-top: 80px;
}

.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}

/* Bottone in fondo */
.hero-button {
    margin-top: auto;
    padding-bottom: 60px; /* regola la distanza dal fondo */
}

/* Testo centrato verticalmente */
.hero-text {
    text-shadow: 0 0 12px rgba(0,0,0,0.6);
}

/* CARDS */
.destination-card img,
.tour-card img {
    height: 220px;
    object-fit: cover;
}

/* CONTATTI */
#contatti,
.contact-section,
.cta-section {
    background: transparent !important;
    color: #ffffff;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* FOOTER */
footer,
#footer {
    background: transparent !important;
    position: relative;
    color: #ffffff;
    padding: 60px 0;
    z-index: 1;
}

footer .container {
    position: relative;
    z-index: 1; /* porta il testo sopra l’overlay */
}

/* WRAPPER con immagine unica per contatti + footer */
.footer-wrapper {
    background-image: url('../imgs/footer-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay scuro unico */
.footer-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 0;
}

/* BOTTONE TORNA SU */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #b87333;
    color: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top.hide {
    opacity: 0;
    transform: translateY(20px);
}

/* EFFETTO CSS */

/* Elementi nascosti inizialmente */
.fade-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Quando entrano in viewport */
.fade-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

#cosa p {
    text-align: justify;
}

/* Immagini sezione Perché Sceglierci */
.perk-img {
    width: 100%;
    height: 220px; /* regolare 200–260 */
    object-fit: cover; /* taglia e pareggia */
    border-radius: 10px;
}

.perk-img {
    transition: transform 0.3s ease;
}

.perk-img:hover {
    transform: scale(1.03);
}

.section-title {
    color: #b87333;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Immagini sezione Dove Andiamo */
.dove-img {
    width: 100%;
    height: 240px; /* regolare 220–280 */
    object-fit: cover; /* taglia e pareggia */
    border-radius: 10px;
}

/* LISTE UL */

/* Lista principale desert-style */
.desert-list {
    list-style: none;
    padding-left: 0;
}

.desert-list > li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 26px; /* rientro morbido */
}

/* Icona minimal: cerchio pieno sabbia */
.desert-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: #c2a878; /* sabbia scura */
    border-radius: 50%;
}

/* Sub-list desert-style */
.desert-sublist {
    list-style: none;
    margin-top: 6px;
    margin-left: 18px;
    padding-left: 0;
}

.desert-sublist li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 22px;
}

/* Icona minimal più piccola, color rame */
.desert-sublist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background-color: #b87333; /* rame desertico */
    border-radius: 50%;
}

/* ICONE CONTATTI*/

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 48px;              /* larghezza fissa */
    height: 48px;             /* altezza identica → cerchio perfetto */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;          /* dimensione icona */
    color: #2b2b2b;           /* icona scura */
    background: rgba(255, 255, 255, 0.75); /* cerchio chiaro */
    border-radius: 50%;       /* cerchio */
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-icon:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.95);
    color: #b87333; /* rame in hover */
}

/* CARDS IMAGES PROPOSTE */

.proposal-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.proposal-card:hover {
    transform: scale(1.03);
}

.card-img {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75);
    transition: filter 0.3s ease;
}

.proposal-card:hover .card-img {
    filter: brightness(0.55);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.card-overlay h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #f5e9d2; /* sabbia chiara */
}
/* LINK CARD */

.proposals-center {
    display: flex;
    justify-content: center;
}


.proposal-link {
    color: #f5e9d2 !important;
    text-decoration: none !important;
    display: inline-block;
}

.proposal-link:visited {
    color: #f5e9d2 !important; /* evita il blu visitato */
}

.proposal-link:hover {
    color: #ffffff !important;
}

.proposal-card h3 a {
    color: #f5e9d2 !important;
    text-decoration: none !important;
    display: block;              /* fondamentale per l’allineamento */
    width: 100%;                 /* occupa tutto lo spazio come gli altri titoli */
}

.proposal-card h3 a:visited {
    color: #f5e9d2 !important;   /* evita il blu visitato */
}

.proposal-card h3 a:hover {
    color: #ffffff !important;
}

/* CSS PROPOSTE SPECIFICA */

/* LAYOUT A DUE COLONNE */
.package-row .container {
    gap: 30px;
    align-items: flex-start;
    border-bottom: 1px solid #c2a87840;
    padding-bottom: 30px;
}

.package-left {
    flex: 1;
}

.package-right {
    flex: 1;
}

/* IMMAGINE */
.package-image {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

/* ACCAMPAMENTI FISSI */

.img-mobile-responsive {
    max-width: 50%; /* desktop */
}

/* TITOLO */
.package-title {
    font-size: 28px;
    font-weight: bold;
    color: #b87333 !important;
    margin-bottom: 10px;
    text-transform: uppercase; /* rende il titolo tutto in maiuscolo */
}

/* PULSANTE + */
.toggle-btn {
    background-color: #c2a878;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 10px;
}

.toggle-btn.open {
    transform: rotate(45deg); /* diventa una X */
}

/* DESCRIZIONE NASCOSTA */
.description-content {
    margin-top: 15px;
    display: none;
    color: #000000 !important;
    /*color: #f5e9d2;*/
    line-height: 1.6;
}

/* EFFETTO FADE-IN */
.fade-block {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* INTRO PROGRAMMI */

.intro-paragraph {
    text-align: justify;      /* giustifica il testo */
    margin: 0 auto;           /* centra il blocco */
    width: 90%;               /* larghezza più elegante */
    max-width: 1100px;        /* evita che diventi troppo largo */
    color: #000000;           /* leggibile */
    line-height: 1.7;
    font-size: 19px;
}