 /* ===================================================
   1. VARIABILI GLOBAL
   =================================================== */
:root {
    --bg-main: #f4e1c1;          /* Marrone sabbia chiaro */
    --bg-dark: #1b120c;          /* Scuro saloon */
    --accent-gold: #c97b32;      /* Oro / Cuoio */
    --wood-dark: #5a3822;        /* Legno scuro */
    --wood-main: #8b5a2b;        /* Legno medio */
    --text-dark: #2c2c2c;
    --text-light: #f8e6c2;
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

/* ===================================================
   2. RESET E STILI BASE
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
}

section {
    padding: 110px 10%;
    text-align: center;
}

section h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 20px;
}

section p {
    color: #cfcfcf;
    line-height: 1.8;
    font-size: 0.96rem;
    max-width: 850px;
    margin: auto;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================================
   3. HEADER & NAVIGAZIONE
   =================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201, 123, 50, 0.15);
}

header h1 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav a,
.dropdown-btn {
    color: white;
    text-decoration: none;
    margin-left: 22px;
    font-weight: 600;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    appearance: none;
    -webkit-appearance: none;
}

nav a::after,
.dropdown-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: var(--accent-gold);
    transition: 0.3s;
}

nav a:hover::after,
.dropdown-btn:hover::after {
    width: 100%;
}

nav a:hover,
.dropdown-btn:hover {
    color: var(--accent-gold);
}

/* Layout del Nav per affiancare link e social */
header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Utile per schermi medio-piccoli */
}

/* Social Header */
.social-header {
    display: flex;
    align-items: center; /* Allinea verticalmente i loghi con il testo */
    gap: 18px;
    margin-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 25px;
}

.social-header a {
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.social-header a:hover {
    color: var(--accent-gold);
    transform: translateY(-4px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--bg-dark);
    min-width: 180px;
    border-radius: 14px;
    overflow: hidden;
    top: 140%;
    border: 1px solid rgba(201, 123, 50, 0.2);
    border-top: 2px solid var(--accent-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 2001;
}

.dropdown-content a {
    color: white;
    padding: 14px 18px;
    display: block;
    margin: 0;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-content a:hover {
    background: #2c1b12;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ===================================================
   4. SEZIONI HERO (HERO GENERICI & DI PAGINA)
   =================================================== */
.hero,
.page-hero,
.saloon-hero,
.country-hero,
.courses-hero,
.events-hero {
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    height: 100vh;
    padding: 20px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.78)), url('https://freedomcountrydance.altervista.org/imm1.jpeg');
}

.page-hero {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.78)), url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?q=80&w=1600&auto=format&fit=crop');
}

.saloon-hero {
    min-height: 100vh;
    padding: 40px;
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)), url('img/Saloon-Medesano.png');
    background-size: cover;
    background-position: center;
}
.country-story {
    margin-top: 160px !important; /* Distanzia la sezione dal menu in alto */
}
.courses-hero {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.78)), url('https://images.unsplash.com/photo-1501386761578-eac5c94b800a?q=80&w=1600&auto=format&fit=crop');
}

.events-hero {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.78)), url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?q=80&w=1600&auto=format&fit=crop');
}

/* Contenuti Hero */
.hero-content,
.saloon-content,
.saloon-hero-content,
.country-content,
.courses-content,
.events-content,
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content {
    animation: fadeUp 1.2s ease;
}

.hero h2 {
    font-size: clamp(38px, 5vw, 70px);
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 3px;
    color: #ffffff !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.hero p {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ddd;
    max-width: 750px;
    line-height: 1.8;
}

.page-hero-content p,
.saloon-content p,
.country-content p,
.courses-content p,
.events-content p {
    color: var(--accent-gold);
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.page-hero-content h1,
.saloon-content h1,
.saloon-hero h1,
.country-content h1,
.courses-content h1,
.events-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 95px);
    letter-spacing: 2px;
}

.saloon-hero h1 {
    text-transform: uppercase;
    color: #f5e6cf;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.saloon-hero p {
    color: #f5e6cf;
    font-size: 1.1rem;
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}

/* ===================================================
   5. PULSANTI E CALL TO ACTION
   =================================================== */
.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s;
}

.btn-gold {
    background: linear-gradient(to right, var(--accent-gold), #e2a45d);
    color: black;
}

.btn-dark {
    border: 2px solid var(--accent-gold);
    color: white;
}

.btn:hover {
    transform: translateY(-5px);
}

.saloon-btn {
    display: inline-block;
    margin-top: 35px;
    padding: 15px 35px;
    background: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.saloon-btn:hover {
    transform: translateY(-3px);
    background: #dd9450;
}

.whatsapp-btn {
    display: inline-block;
    padding: 18px 38px;
    background: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

.whatsapp-link {
    color: #25d366;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    border: 2px solid #25d366;
    padding: 10px 25px;
    border-radius: 30px;
    transition: 0.3s;
}

.whatsapp-link:hover {
    background: #25d366;
    color: white;
}

/* ===================================================
   6. SEZIONI LAYOUT GRIGLIA & CONTENUTI
   =================================================== */

/* Layout Generico a 2 Colonne (Story, Saloon, Country, Event) */
.story-section,
.saloon-section,
.country-section,
.event-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 10%;
}

.saloon-section { background: #f4ecde; }
.saloon-section.reverse { background: #fffaf3; }
.story-section.reverse,
.country-section.reverse { background: #1a120d; }

.story-image img,
.saloon-image img,
.country-image img,
.event-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.saloon-image img {
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.event-image img {
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

.story-text span,
.saloon-text span,
.country-text span,
.event-text span {
    color: var(--accent-gold);
    letter-spacing: 5px;
    font-size: 0.9rem;
}

.story-text h2,
.saloon-text h2,
.country-text h2,
.event-text h2 {
    font-family: var(--font-heading);
    font-size: 70px;
    line-height: 0.95;
    margin: 25px 0;
}

.saloon-text h2 {
    font-size: 48px;
    color: #5c3420;
    margin-bottom: 30px;
}

.event-text h2 {
    font-size: 42px;
    margin: 15px 0 20px;
}

.story-text p,
.saloon-text p,
.country-text p,
.event-text p {
    color: #d4d4d4;
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 0.97rem;
}

.saloon-text p { color: #5b4c43; line-height: 1.9; font-size: 1rem; margin-bottom: 20px; }
.event-text p { color: #d0d0d0; line-height: 1.9; }

/* Inversione Layout Eventi */
.event-item.reverse .event-image { order: 2; }
.event-item.reverse .event-text { order: 1; }

/* ===================================================
   7. SEZIONI SPECIFICHE (Home, About, Courses, Saloon Gallery)
   =================================================== */

/* About Section */
.about-intro {
    max-width: 900px;
    margin: 120px auto 40px auto;
    padding: 0 30px;
    text-align: center;
}

.about-intro h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: #2c1b12;
    margin-bottom: 25px;
}

.about-intro p {
    color: #5b4634;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-boxes {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    border-left: 6px solid var(--accent-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.about-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-box h3 {
    font-family: var(--font-heading);
    color: var(--wood-main);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-box p {
    line-height: 1.8;
    color: #555;
}

.about-block {
    max-width: 1400px;
    margin: auto;
    padding: 80px 8%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-block.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.about-image img,
.about-images img {
    width: 100%;
    max-width: 450px;       
    height: 320px;         
    object-fit: cover;    
    border-radius: 24px;
    display: block;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;   
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #2c1b12;
}

.about-text p {
    color: #5b4634;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Home Section */
.home-intro,
.home-story {
    padding: 70px 10%;
    text-align: center;
}

.home-story { background: #f1e5d2; }

.home-intro h2,
.home-story h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--wood-main);
    margin-bottom: 20px;
}

.home-intro p,
.home-story p {
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.8;
    color: #555;
}

.home-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 10% 70px;
}

.highlight {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight h3 {
    font-family: var(--font-heading);
    color: var(--wood-main);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.highlight p {
    color: #666;
    line-height: 1.6;
}

.home-quote,
.freedom-quotes {
    background: var(--wood-main);
    color: white;
    text-align: center;
    padding: 50px 10%;
    font-size: 1.2rem;
    font-style: italic;
}

.freedom-quotes {
    margin-top: 50px;
    padding: 40px;
    border-radius: 20px;
}

.freedom-quotes h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.freedom-quotes blockquote {
    font-size: 1.3rem;
}

/* Country Story Extra */
.country-story {
    max-width: 1000px;
    margin: auto;
    padding: 80px 8%;
}

.country-story h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--wood-main);
    margin-bottom: 20px;
}

.intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
    color: #666;
}

.story-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.story-card h3 {
    color: var(--wood-main);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.story-card p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Courses & Events Intro / Grid */
.courses-intro,
.events-intro,
.courses-title,
.events-title {
    padding: 110px 10% 60px;
    text-align: center;
}

.courses-title,
.events-title {
    padding: 90px 20px 60px;
}

.courses-intro span,
.events-intro span {
    color: var(--accent-gold);
    letter-spacing: 5px;
    font-size: 0.9rem;
}

.courses-intro h2,
.events-intro h2,
.courses-title h1,
.events-title h1 {
    font-family: var(--font-heading);
    font-size: 70px;
    line-height: 0.95;
    margin: 25px 0;
}

.courses-title h1,
.events-title h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.courses-intro p,
.events-intro p,
.courses-title p,
.events-title p {
    max-width: 700px;
    margin: auto;
    color: #d4d4d4;
    line-height: 1.8;
    font-size: 0.97rem;
}

.courses-grid,
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding: 20px 10% 120px;
}

.course-card {
    background: linear-gradient(180deg, rgba(53, 35, 24, 0.95), rgba(29, 19, 13, 0.98));
    border: 1px solid rgba(201, 123, 50, 0.3);
    padding: 40px;
    border-radius: 24px;
    transition: 0.4s;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.course-card h3 {
    font-family: var(--font-heading);
    font-size: 40px;
    margin-bottom: 20px;
    color: #f5e6cf !important; /* <-- Questo trasforma la scritta 'Principianti' da nera a crema/dorato */
}

.course-card p {
    color: #cfcfcf;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 0.96rem;
}

.course-time {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #d4d4d4;
    font-size: 0.92rem;
}

.course-time span {
    color: var(--accent-gold);
    font-weight: 600;
}

.course-note {
    margin-top: 15px;
    font-size: 0.85rem;
    font-style: italic;
}

/* Event Card */
.event-card {
    background: #1f1611;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.event-info {
    padding: 30px;
}

.event-date {
    color: var(--accent-gold);
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.event-info h3 {
    font-family: var(--font-heading);
    font-size: 38px;
    margin-bottom: 15px;
}

.event-info p {
    color: #d4d4d4;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Summer Course Card */
.summer-course-card {
    max-width: 900px;
    margin: 50px auto;
    padding: 35px;
    text-align: center;
    background: var(--wood-main);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.summer-course-card span {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.summer-course-card h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.summer-course-card p {
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.summer-course-time {
    display: inline-block;
    background: white;
    color: var(--wood-main);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
}

/* Saloon Gallery */
.saloon-gallery-section {
    background: transparent; /* Rimuove la foto di sfondo */
    padding: 60px 10%;
    text-align: center;
}

.saloon-gallery-section h2 {
    color: #2b1b17; /* Cambiato in marrone scuro per essere ben leggibile sullo sfondo chiaro */
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 50px;
}

.saloon-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.saloon-gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.4s;
}

.saloon-gallery img:hover {
    transform: scale(1.04);
}

/* ===================================================
   8. FORM, CONTATTI E MAPPA
   =================================================== */
.contacts-grid {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.contact-box {
    background: var(--wood-main);
    border: 5px solid var(--wood-dark);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.contact-box h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.form-container {
    display: flex;
    justify-content: center;
    padding: 20px 10% 80px;
}

form {
    background: var(--wood-main);
    padding: 40px;
    border: 6px solid var(--wood-dark);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 550px;
}

input,
textarea {
    padding: 14px;
    border-radius: 4px;
    border: 2px solid var(--wood-dark);
    background: #f8e6c2;
    font-size: 16px;
    width: 100%;
    font-family: var(--font-primary);
    color: #3b2a1a;
}

input::placeholder,
textarea::placeholder {
    color: var(--wood-main);
}

button.submit-btn {
    padding: 15px;
    background: var(--wood-dark);
    color: #f8e6c2;
    border: 1px solid #d4a373;
    border-radius: 4px;
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

button.submit-btn:hover {
    background: var(--accent-gold);
    color: white;
}

.map-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 10%;
    text-align: center;
}

.map-section h3 {
    font-family: var(--font-heading);
    color: #8b4513;
    font-size: 2rem;
    margin-bottom: 20px;
}

.map-section iframe {
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ===================================================
   9. FOOTER & ANIMAZIONI
   =================================================== */
/* Footer a tutta larghezza e ben strutturato */
footer {
    width: 100%;
    background-color: #111111; /* O il colore scuro che preferisci */
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px; /* Distanza dall'ultima sezione della pagina */
    box-sizing: border-box;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent-gold, #c97b32);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   10. MEDIA QUERIES (RESPONSIVE)
   =================================================== */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 18px;
    }

    nav {
        justify-content: center;
    }

    nav a, 
    .dropdown-btn {
        margin: 5px 10px;
    }

    .social-header {
        border: none;
        padding: 0;
        margin-top: 10px;
        margin-left: 0;
    }

    .hero h2,
    .saloon-hero h1 {
        font-size: 55px;
    }

    section h2,
    .events-title h1,
    .saloon-text h2 {
        font-size: 36px;
    }

    .page-hero-content h1,
    .saloon-content h1,
    .country-content h1,
    .courses-content h1,
    .events-content h1,
    .courses-intro h2,
    .events-intro h2,
    .whatsapp-section h2 {
        font-size: 52px;
    }

    .story-section,
    .saloon-section,
    .country-section,
    .event-item,
    .about-block,
    .about-block.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 7%;
    }

    .saloon-section.reverse .saloon-image,
    .event-item.reverse .event-image,
    .event-item.reverse .event-text {
        order: initial;
    }

    .saloon-image img {
        height: 350px;
    }

    .event-image img {
        height: 300px;
    }

    .courses-grid,
    .events-grid,
    .saloon-gallery {
        grid-template-columns: 1fr;
        padding: 20px 7% 80px;
    }

    form {
        padding: 25px;
    }
}
/* Layout flessibile per la barra di navigazione */
header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.about-image img,
.about-block img {
    max-width: 280px; /* <--- Questo limita la larghezza della foto! */
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin: 0 auto; /* Centra la foto se lo spazio è maggiore */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Un'ombra leggera per farla risaltare */
}
/* Distanza di sicurezza dall'header fisso per tutte le pagine interne */
body.pagine-interne {
    padding-top: 120px; /* Regola questo valore se l'header è più o meno alto */
}
.about-block, .about-intro {
    max-width: 1100px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}
/* Ingrandisce solo la foto delle Tutor */
.about-image img.foto-tutor {
    max-width: 500px !important; /* Aumentata da 380px a 500px */
}
/* CONTENITORE EVENTI */
.events-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.events-title {
    text-align: center;
    margin-bottom: 50px;
}

/* STRUTTURA SINGOLO EVENTO */
.event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.event-item.reverse {
    flex-direction: row-reverse;
}

.event-image, .event-text {
    flex: 1;
}

/* RIDIMENSIONAMENTO PERFETTO DELLE FOTO EVENTI */
.event-image img {
    width: 100%;
    max-width: 360px;       /* Imposta la larghezza massima per non farle apparire enormi */
    height: 240px;          /* Altezza fissa per un formato rettangolare elegante */
    object-fit: cover;      /* Adatta la foto al rettangolo senza schiacciarla o distorcerla */
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* TESTI E DATE */
.event-date {
    display: inline-block;
    color: #c97b32;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.event-text h2 {
    margin: 5px 0 15px 0;
}

/* RESPOSIVE PER CELLULARI */
@media (max-width: 768px) {
    .event-item, .event-item.reverse {
        flex-direction: column;
        text-align: center;
    }}

    /* FORZA LOCANDINE VERTICALI */
.event-image img {
    width: 260px !important;
    height: 370px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Ingrandisce la foto mantenendo al 100% le proporzioni e lo stile originale */
.about-image img {
    width: 380px !important; /* Aumenta questo numero se la vuoi ancora più grande (es. 400px o 420px) */
    height: auto !important;
}
.hero {
    /* Sposta l'immagine al centro in orizzontale e al 25% o 30% dall'alto */
    background-position: center 25% !important; 
}