 


/* --- General Styles --- */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* --- Utilities --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.align-center { align-items: center; }
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }

/* --- Header & Navigation --- */
header {
    background: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo posizionato in alto a sinistra */
.logo {
    margin: 0;
    font-size: 24px;
    color: #e8491d;
    font-weight: 700;
    text-transform: none; /* Mantieni il testo come scritto */
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

header nav li {
    margin-left: 20px;
}

header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #e8491d;
}

/* --- Language Switcher con Bandiere --- */
.language-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: #f1f1f1;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px; /* Spazio tra bandiera e testo */
}

.lang-btn:hover {
    background: #e0e0e0;
}

.lang-btn.active {
    background: #e8491d;
    border-color: #e8491d;
    color: #fff;
}

.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* --- Buttons --- */
.btn-sm, .btn-lg, .btn-xl, .btn-review-link {
    display: inline-block;
    background: #e8491d;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.btn-sm:hover, .btn-lg:hover, .btn-xl:hover, .btn-review-link:hover {
    background: #c73e16;
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 18px; margin-top: 30px; }
.btn-xl { padding: 20px 40px; font-size: 22px; margin-top: 30px; }
.btn-review-link { padding: 10px 20px; font-size: 16px; margin-top: 20px; }

/* --- Sections --- */

/* Hero Section con Sfondo */
.hero-section {
    min-height: 100vh;
    /* Assicurati di avere hero-bg.jpg nella cartella */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 100px; /* Space for fixed header */
}

.hero-title { font-size: 64px; margin-bottom: 20px; }
.hero-subtitle { font-size: 24px; font-weight: 400; max-width: 800px; margin: auto; }

/* Your Guide Section */
.about-section {
    padding: 100px 0;
    background-color: #fff;
}

.rounded-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Highlights Section */
.highlights-section {
    padding: 100px 0;
    background-color: #f1f1f1;
}

.highlight-card {
    background: #fff;
    padding: 0; /* RIMOSSO il padding per permettere all'immagine di toccare i bordi */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden; /* FONDAMENTALE: taglia l'immagine seguendo i bordi arrotondati della card */
    display: flex;
    flex-direction: column;
    height: 100%; /* Opzionale: per averle tutte alte uguali */
}

.highlight-card img {
    width: 100%;    /* L'immagine occupa tutta la larghezza */
    height: 200px;  /* Puoi regolare l'altezza a tuo piacimento */
    object-fit: cover; /* EFFETTO RIPIENO: l'immagine copre l'area senza distorcersi */
    display: block;


}

.highlight-card h3 { font-size: 24px; margin-bottom: 0; }

/* Tour Details Section */
.details-section {
    padding: 100px 0;
    background-color: #fff;
}

.tour-details-content p strong { color: #e8491d; }

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: #fff;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background-color: #f1f1f1;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.review-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 700;
    text-align: right;
    color: #e8491d;
}

/* Booking Section */
.booking-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(rgba(232, 73, 29, 0.9), rgba(232, 73, 29, 0.9)), url('booking-bg.jpg') no-repeat center center/cover;
    color: #fff;
}

.booking-section h2 { color: #fff; }
.booking-section p { font-size: 20px; max-width: 700px; margin: auto; }

/* --- Footer --- */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

footer a { color: #e8491d; text-decoration: none; font-weight: 600; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .header-flex { flex-direction: column; gap: 15px; }
    
    .logo { font-size: 28px; }

    header nav { margin-top: 10px; }
    header nav ul { flex-wrap: wrap; justify-content: center; }
    header nav li { margin: 5px 10px; }
    
    .language-switcher { margin-left: 0; margin-top: 10px; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    
    .align-center { justify-items: center; }

    .about-image { order: -1; margin-bottom: 30px; }

    .hero-title { font-size: 48px; }
    .hero-subtitle { font-size: 20px; }
}

@media (max-width: 600px) {
    .logo { font-size: 24px; }
    .hero-title { font-size: 36px; }
    h2 { font-size: 28px; }
    
    .lang-btn { padding: 6px 12px; font-size: 12px; }
    .flag-icon { width: 16px; }
}
