/*
 Theme Name:   altera-g-theme
 Theme URI:    https://tuosito.it/
 Author:       Il Tuo Nome
 Description:  Tema one-page per ASD Scauri Marina
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  asd-scauri-marina
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap"); * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
    line-height: 1.4 !important;
    transition: background-color 0.6s ease;
}

/* Tutti i titoli (h1, h2, h3, h4, h5, h6) in Poppins e colore #0F0161 */
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    color: #0f0161;
    margin: 0;
    /* se vuoi resettare margini predefiniti */
}


.small-title, .subtitle, small {
    font-family: "Poppins", sans-serif;
    color: #0f0161;
}

p {
    margin: 0;
    padding: 0.4rem;
    line-height: 1.4 !important;
    color: #111 !important;
}

/* Hero Section */
/* =========================================================================
   HERO SECTION: Video di sfondo + effetto onda via ::before + contenuto
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
   
}

/*
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0,1000 Q250,800 500,900 T1000,800 L1000,1000 Z" fill="rgba(255,255,255,0.1)"/></svg>') bottom center/cover no-repeat;
  animation: wave 6s ease-in-out infinite;
  z-index: 1; 
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
*/
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    /* Video dietro tutto (onda e contenuto) */
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Contenuto sopra onda e video */
    max-width: 800px;
    padding: 0 20px;
}

/* Animazioni e stili del testo (non cambiano) */
.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-logo {
    max-width: 80%;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .cta-button {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    color: white !important;
    background: linear-gradient(45deg, #ff5252, #ffb74d);
}

.cta-button:hover::before {
    left: 100%;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   1) Regole comuni per la Nav
   ========================= */
.nav {
    position: fixed;
    top: 0;
    width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    
    transition: all 0.3s ease;
    transform: translateY(-100%);
    display: block;
}

.nav.visible {
    transform: translateY(0);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Su desktop: padding 1rem 20px. Su mobile (via media query) lo azzereremo o ridurremo a 1rem. */
    padding: 1rem 20px;
}

/* Logo (sia desktop che mobile) */
.logo img {
    display: block;
    height: auto;
}

/* Voci di menu orizzontali (desktop) */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #1565c0;
}

/* Hamburger (mobile): di default nascosto, ma via media query lo faremo apparire su mobile */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    padding-right: 0;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: 0.4s;
}

/* Mobile-Menu (slide da sinistra): di default nascosto fuori schermo */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    /* fuori vista sulla sinistra */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 1100;
    transition: left 0.3s ease;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
}

/* Quando ha la classe .open, entra in vista (left: 0) */
.mobile-menu.open {
    left: 0;
}

/* Header interno del menu mobile */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.mobile-menu-header .mobile-logo img {
    display: block;
    height: auto;
}

.close-menu {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* Voci del menu mobile (verticali) */
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
}

.mobile-nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-nav-links li a:hover {
    color: #667eea;
}

/* ================================
   2) Media Query per Mobile (<769px)
   ================================ */
@media (max-width: 768px) {
    .nav-content {
        padding: 1rem 20px;
        /* 0 a destra/sinistra: logo e hamburger saranno flush con il bordo */
        max-width: 100%;
        /* su mobile la nav-content prende tutta la larghezza */
    }

    /* - Nascondiamo le voci orizzontali */
    .nav-links {
        display: none;
    }

   .hamburger {
        display: flex;
    }

    /* - Sovrascriviamo qualche margine, se per caso .logo o .hamburger ereditassero altro */
    .logo {
        /* opzionale, se vuoi un piccolo padding interno */
    }

    .hamburger {
        /* opzionale, se vuoi un piccolo padding interno */
    }
}

/* ================================
   3) Media Query per Desktop (>=769px)
   ================================ */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    /* - Mostriamo sempre le voci di menu in orizzontale */
    .nav-links {
        display: flex;
    }


}

/* Section Styling */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2d2d86;
    border-radius: 2px;
}

/* Chi Siamo */
.chi-siamo {
    /* background: #fdf3ce70; */
}

.chi-siamo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.chi-siamo-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #667eeac7, #764ba2e0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.chi-siamo-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Spiaggia Services */
.spiaggia {
    /* background: white; */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.beach-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 20px;
    display: flex;
	flex-direction:column;
	text-align:center;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.3);
}

/*MAP*/
.map-container {
    width: 100%;
    height: 400px;
    margin-top: 1rem;
}

.map-container iframe {
    border-radius: 20px;
}

.services-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item {
    background: #f8f9fa;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid #4facfe;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* 1) Innanzitutto rimuovi o commenta il vecchio gradiente: */
/*
.servizi-aggiuntivi {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
*/
/* ==========================
   1) Assicuriamoci che il contenitore sia posizionabile
   ========================== */
.servizi-aggiuntivi {
  position: relative;

  background-color: rgba(0, 0, 0, 0.2);
  background-image: url("/wp-content/uploads/2025/06/bg-attivita-scaled.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  overflow: hidden; /* per tagliare eventuali elementi ::after che fuoriescano */
}

.servizi-aggiuntivi h2 {
  color: white;
}

/* ==========================
   2) Pseudo-elemento ::after come overlay scuro
   ========================== */
.servizi-aggiuntivi::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(93 86 53 / 21%); /* overlay scuro “sabbia” semitrasparente */
  pointer-events: none;
  z-index: 1; /* sopra il background ma sotto i contenuti interni */
}

/* ==========================
   3) Contenuti interni davanti all’overlay
   ========================== */
.servizi-aggiuntivi > .section,
.servizi-aggiuntivi .servizi-grid,
.servizi-aggiuntivi .servizio-card {
  position: relative;
  z-index: 2;
}

/* ==========================
   4) Griglia delle card rimane inalterata
   ========================== */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* ==========================
   5) Card: sfondo chiaro, testo in blu scuro, icone in acquamarina
   ========================== */
#servizi .servizio-card {
  background: rgba(255, 255, 255, 0.9); /* bianco semitrasparente */
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  /* backdrop-filter: blur(10px); */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hover effect leggera */
#servizi .servizio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* ==========================
   6) Icone circolari: acquamarina
   ========================== */
#servizi .servizio-icon {
  width: 80px;
  height: 80px;
  background: #3EAAC0; /* acquamarina */
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white; /* emoji o icona bianca all’interno */
}

/* ==========================
   7) Titolo h3 in blu scuro
   ========================== */
#servizi .servizio-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0F0161; /* blu scuro */
  font-family: "Poppins", sans-serif;
}

/* ==========================
   8) Paragrafo descrittivo e lista: grigio scuro
   ========================== */
#servizi .servizio-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #37474f !important; /* grigio scuro leggibile */
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
}

/* ==========================
   9) Lista all’interno delle card
   ========================== */
#servizi .servizio-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1.5rem;
}

#servizi .servizio-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 0;
  color: #37474f;
  font-weight: 500;
  border-bottom: 1px solid #e0e0e0;
}

#servizi .servizio-card ul li:last-child {
  border-bottom: none;
}

/* ==========================
   10) Responsive: 1 colonna sotto 768px
   ========================== */
@media (max-width: 768px) {
  #servizi .servizi-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   SPIAGGIA - SEZIONE PRINCIPALE
   ========================== */
.spiaggia {
    /* background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); */
}

.spiaggia-intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro-text {
    font-size: 1.2rem;
    color: #37474f;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.beach-image {
    background: linear-gradient(45deg, #4fc3f7, #29b6f6);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 15px 35px rgba(79, 195, 247, 0.3);
}

.services-list {
    display: grid;
    gap: 25px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #29b6f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-item p {
    color: #546e7a;
    line-height: 1.6;
    margin: 0;
}

/* ==========================
   AREA GIOCHI E ATTIVITÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢
   ========================== */
.area-giochi {
    /* background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); */
}

.giochi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.giochi-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #ff9800;
    transition: transform 0.3s ease;
}

.giochi-card:hover {
    transform: translateY(-10px);
}

.giochi-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.giochi-card h3 {
    color: #e65100;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
}

.giochi-card p {
    color: #bf360c !important;
    font-weight: 600;
    margin-bottom: 15px;
}

.giochi-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.giochi-card li {
    color: #5d4037;
    padding: 8px 0;
    border-bottom: 1px solid #efebe9;
    font-weight: 500;
}

.giochi-card li:last-child {
    border-bottom: none;
}

/* ==========================
   SERVIZI RISTORO
   ========================== */
.ristoro {
    /* background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); */
}

.ristoro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ristoro-image {
    background-image: url(/wp-content/uploads/2025/06/AdobeStock_159252949-scaled.jpeg);
    height: 400px;
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(171, 71, 188, 0.3);
    background-size: cover;
}

.ristoro-info h3 {
    color: #6a1b9a;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.ristoro-info p {
    color: #4a148c;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.ristoro-features {
    display: grid;
    gap: 20px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.1);
    border-left: 4px solid #9c27b0;
}

.feature-item h4 {
    color: #6a1b9a;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-item p {
    color: #7b1fa2;
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================
   CAMPO CALCETTO SERALE
   ========================== */
.calcetto-serale {
    /* background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%); */
}

.calcetto-content {
    max-width: 1200px;
    margin: 0 auto;
}

.calcetto-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calcetto-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #4caf50;
}

.calcetto-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.calcetto-card h3 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.calcetto-card p {
    color: #388e3c !important;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.calcetto-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.calcetto-card li {
    color: #1b5e20;
    padding: 10px 0;
    border-bottom: 1px solid #e8f5e8;
    font-weight: 500;
}

.calcetto-card li:last-child {
    border-bottom: none;
}

/* ==========================
   PREZZI E PACCHETTI (Layout a 4 colonne)
   ========================== */
/* 1) Griglia a 4 colonne, ognuna 1fr (25% circa dello spazio disponibile) */
.prezzi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* spazio orizzontale/verticale fra le card */
    max-width: 1400px;
    /* aumentato un poÃ¢â‚¬â„¢ rispetto ai 1200px, 
                            cosÃƒÂ¬ le 4 card stanno con margine */
    margin: 0 auto 60px auto;
}

/* 2) Se lo schermo ÃƒÂ¨ piÃƒÂ¹ piccolo di 1200px, passi a 2 colonne */
@media (max-width: 1200px) {
    .prezzi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        /* aumenta leggermente il gap se vuoi aria fra le due colonne */
        max-width: 800px;
        /* puoi ridurre anche il max-width se vuoi */
    }
}

/* 3) Su mobile (<768px) passa a 1 colonna, per leggibilitÃƒÂ  */
@media (max-width: 768px) {
    .prezzi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 90%;
        /* lascia un piccolo padding sui lati */
        margin: 0 auto 40px auto;
    }
}

/* ==========================
   1) RENDIAMO LA CARD UN CONTENITORE FLEX
   ========================== */
.prezzo-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0 3s ease;
}

/* Sull'hover rimane uguale */
.prezzo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* ==========================
   2) HEADER: STESSA ALTEZZA E CONTENUTO CENTRATO
   ========================== */
.prezzo-header {
    /* Fisso lÃ¢â‚¬â„¢altezza del Ã¢â‚¬Å“riquadro coloratoÃ¢â‚¬Â a 80px (modifica se serve piÃƒÂ¹ o meno spazio). */
    height: 115px;
    /* Disposizione interna in flex per centrare orizzontalmente e verticalmente il titolo + badge */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    /* mantengo un poÃ¢â‚¬â„¢ di padding orizzontale, ma rimuovo il padding-bottom di 20px precedente */
    text-align: center;
    /* titolo centrato */
    position: relative;
    color: white;
}

/* Riduco un poÃ¢â‚¬â„¢ lÃ¢â‚¬â„¢altezza del font nel titolo per farlo entrare sempre in una riga */
.prezzo-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

.prezzo-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Gradient originali rimangono uguali, solo tolgo il padding-bottom extra 
   perchÃƒÂ© lÃ¢â‚¬â„¢altezza ÃƒÂ¨ gestita da Ã¢â‚¬Å“height: 80pxÃ¢â‚¬Â */
.prezzo-card:nth-child(1) .prezzo-header {
    background: linear-gradient(45deg, #2196f3, #1976d2);
}

.prezzo-card:nth-child(2) .prezzo-header {
    background: linear-gradient(45deg, #ff9800, #f57c00);
}

.prezzo-card:nth-child(3) .prezzo-header {
    background: linear-gradient(45deg, #9c27b0, #7b1fa2);
}

.prezzo-card:nth-child(4) .prezzo-header {
    background: linear-gradient(45deg, #4caf50, #388e3c);
}

/* ==========================
   3) CONTENUTO: OCCUPI LO SPAZIO CENTRALE E CENTRA VERTICALMENTE
   ========================== */
.prezzo-content {
    flex-grow: 1;
    /* occuperÃƒÂ  tutto lo Ã¢â‚¬Å“spazio intermedioÃ¢â‚¬Â disponibile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centra verticalmente la lista dei servizi */
    padding: 20px 25px;
    /* riduco leggermente il padding per far entrare tutto meglio */
}

.prezzo-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    /* margin-bottom ridotto rispetto a 30px di prima */
}

.prezzo-content li {
    padding: 8px 0;
    /* meno padding verticale per far stare piÃƒÂ¹ righe senza scroll */
    border-bottom: 1px solid #f0f0f0;
    color: #424242;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prezzo-content li:last-child {
    border-bottom: none;
}

/* ICONA + testi allÃ¢â‚¬â„¢interno della li vengono giÃƒÂ  allineati grazie a display:flex 
   (puoi aggiustare gap e margin se lÃ¢â‚¬â„¢icona risulta troppo grande o spaziata) */
.prezzo-content li img, .prezzo-content li i {
    margin-right: 8px;
    font-size: 1rem;
}

/* ==========================
   4) FOOTER: PREZZO ALLINEATO IN BASSO
   ========================== */
.prezzo-footer {
    text-align: center;
    padding: 15px 25px;
    /* un poÃ¢â‚¬â„¢ di padding per staccare dalla content */
    border-top: 2px solid #f0f0f0;
    /* Non serve margin-top:auto perchÃƒÂ© ÃƒÂ¨ giÃƒÂ  lÃ¢â‚¬â„¢ultimo elemento nel flex-column, 
     ma se volessi forzare: */
    margin-top: auto;
}

.prezzo-text {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.prezzo-amount {
    /* manteniamo i colori originali per ciascuna card */
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 5px;
}

.prezzo-card:nth-child(1) .prezzo-amount {
    color: #1976d2;
}

.prezzo-card:nth-child(2) .prezzo-amount {
    color: #f57c00;
}

.prezzo-card:nth-child(3) .prezzo-amount {
    color: #7b1fa2;
}

.prezzo-card:nth-child(4) .prezzo-amount {
    color: #388e3c;
}

.prezzo-period {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================
   5) AGGIUSTAMENTI PER LA GRID (4 CARDS IN RIGA)
   ========================== */
.prezzi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* spazio orizzontale/verticale tra le 4 card */
    max-width: 1400px;
    /* lascia un poÃ¢â‚¬â„¢ di margine laterale */
    margin: 0 auto 60px auto;
}

/* A schermi medi (<1200px): da 4 colonne a 2 colonne */
@media (max-width: 1200px) {
    .prezzi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
    }
}

/* A schermi piccoli (<768px): 1 colonna */
@media (max-width: 768px) {
    .prezzi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        margin: 0 auto 40px auto;
    }
}

/* ==========================
   6) BOX Ã¢â‚¬Å“NOTEÃ¢â‚¬Â (RIPOSIZIONATO E MARGINI)
   ========================== */
.prezzi-note {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 60px auto 0 auto;
    /* piÃƒÂ¹ spazio sopra per separare dalla griglia */
    border-left: 5px solid #2196f3;
}

.prezzi-note h4 {
    color: #1565c0;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
}

.prezzi-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prezzi-note li {
    padding: 12px 0;
    color: #37474f;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
}

.prezzi-note li:last-child {
    border-bottom: none;
}

.prezzi-note strong {
    color: #1565c0;
}

/* ==========================
   7) PICCOLI FINE TUNING PER LE DIMENSIONI FONT/CARD SU MOBILE
   ========================== */
@media (max-width: 480px) {
    .prezzo-header {
        height: 70px;
        /* riduco leggermente lÃ¢â‚¬â„¢altezza dellÃ¢â‚¬â„¢header */
        padding: 0 15px;
    }

    .prezzo-header h3 {
        font-size: 1rem;
    }

    .prezzo-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .prezzo-content {
        padding: 15px 20px;
    }

    .prezzo-content li {
        padding: 6px 0;
        font-size: 0. nine rem;
    }

    .prezzo-footer {
        padding: 10px 20px;
    }

    .prezzo-amount {
        font-size: 2rem;
    }
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 768px) {
    .services-grid, .ristoro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .calcetto-info {
        grid-template-columns: 1fr;
    }

    .giochi-grid, .prezzi-grid {
        grid-template-columns: 1fr;
    }

    .beach-image, .ristoro-image {
        height: 200px;
        width: 100%;
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 20px;
    }

    .service-item, .giochi-card, .calcetto-card {
        padding: 25px 20px;
    }

    .prezzo-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .prezzi-note {
        padding: 25px 20px;
        /* margin: 0 20px; */
    }
}

/* ===================================================================
   Summer Camp (modifiche specifiche richieste)
   =================================================================== */
/* 1. Container principale (rimane lo stesso) */
#summer-camp {
    /* background: #FFF5E4; */
    /* Beige chiaro */
    /* padding: 80px 20px; */
}

/* 2. Titolo principale h2 (rimane lo stesso) */
#summer-camp>h2 {
    font-size: 2.8rem;
    color: #183d8a;
    /* Blu navy */
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

#summer-camp>h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3eaac0, #7bcdde);
    border-radius: 1.5px;
}

/* -------------------------------------------------------------------
   3. Parte 1: Formule e Costi
   ------------------------------------------------------------------- */
/* Wrapper generale di Formule e Costi */
.camp-formule {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* H3 secondario (Formule e Costi) */
.camp-formule h3 {
    text-align: center;
    font-size: 2rem;
    color: #3eaac0;
    /* Azzurro */
    margin-bottom: 1rem;
}

/* Griglia due colonne per le formule di prezzo */
.camp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.camp-pricing-column {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camp-pricing-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.camp-pricing-item {
    display: flex;
    flex-direction: column;
    /* gap: 0.5rem; */
}

/* H4 di ogni formula */
.camp-pricing-column h4 {
    font-size: 1.4rem;
    color: #183d8a;
    /* Blu navy */
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Orario (8:00-13:30, 8:00-16:00) */
.camp-pricing-column .orario {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 0.25rem;
}

/* Prezzo giornaliero/settimanale */
.camp-pricing-column .camp-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4f16b5 !important;
margin-bottom: 0.25rem;
}

/* Nota tra parentesi (senza pranzo) */
.camp-pricing-column .camp-price .note {
    font-size: 0.9rem;
    font-style: italic;
    color: #777777;
}

/* -------------------------------------------------------------------
   4. Pranzo e Opzioni (rimane uguale)
   ------------------------------------------------------------------- */
.camp-extra-services {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camp-extra-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.camp-extra-services h4 {
    font-size: 1.3rem;
    color: #183d8a;
    /* Blu navy */
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.camp-extra-services p {
    font-size: 1rem;
    color: #333333;
    line-height: 1.5;
}

/* -------------------------------------------------------------------
   5. Parte 2: Servizi Inclusi (rimane uguale)
   ------------------------------------------------------------------- */
.camp-servizi-inclusi {
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: center;
}

.camp-servizi-inclusi h3 {
    font-size: 2rem;
    color: #3eaac0;
    /* Azzurro */
    margin-bottom: 1.5rem;
}

.camp-servizi-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.camp-servizi-list li {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    font-size: 1rem;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.camp-servizi-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------------------------
   6. Parte 3 + 4: Iscrizione e Requisiti affiancati
   ------------------------------------------------------------------- */
/* Container che tiene insieme i due box: su desktop sono affiancati,
   su mobile si impilano */
.camp-info-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.camp-iscrizione {
    background: #fffbe0;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    text-align: left;
    flex: 1 1 400px;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camp-iscrizione:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.camp-iscrizione h3 {
    font-size: 1.8rem;
    color: #3eaac0;
    /* Azzurro */
    margin-bottom: 1rem;
}

.camp-iscrizione p {
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
}

.camp-iscrizione p strong {
    color: #183d8a;
    /* Blu navy */
}

.camp-medici-iscrizione {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    text-align: left;
    flex: 1 1 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camp-medici-iscrizione:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.camp-medici-iscrizione h3 {
    font-size: 1.8rem;
    color: #3eaac0;
    /* Azzurro */
    margin-bottom: 1rem;
}

.camp-medici-iscrizione ul {
    list-style: disc inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.camp-medici-iscrizione ul li {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 0.5rem;
}

.camp-medici-iscrizione h4 {
    font-size: 1.2rem;
    color: #183d8a;
    /* Blu navy */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.camp-medici-iscrizione .modalita-iscrizione-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.camp-medici-iscrizione .modalita-iscrizione-list li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333333;
    margin-bottom: 0.5rem;
}

.camp-medici-iscrizione ul li::before {
    content: "\2022";
    color: #3eaac0;
    /* stesso azzurro */
    margin-right: 0.5rem;
}

.camp-medici-iscrizione ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* -------------------------------------------------------------------
   7. Parte 5: Locandina Fronte/Retro (rimane uguale)
   ------------------------------------------------------------------- */
.camp-locandina {
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: center;
}

.camp-locandina h3 {
    font-size: 1.8rem;
    color: #3eaac0;
    /* Azzurro */
    margin-bottom: 1rem;
}

.camp-locandina-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.locandina-img {
    max-width: 45%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.locandina-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
}

/* -------------------------------------------------------------------
   8. Responsive adjustments
   ------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .camp-pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .camp-pricing-column {
        margin: 0 auto;
        max-width: 500px;
        width: 100%;
    }

    .camp-extra-services {
        max-width: 500px;
        margin: 0 auto;
    }

    .camp-servizi-list {
        grid-template-columns: 1fr;
    }

    /* Affiancamento Iscrizione/Requisiti */
    .camp-info-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .camp-iscrizione, .camp-medici-iscrizione {
        max-width: 100%;
        margin: 0 auto;
    }

    .camp-locandina-wrapper {
        gap: 1rem;
    }

    .locandina-img {
        max-width: 80%;
    }
}

@media (max-width: 600px) {
    #summer-camp>h2 {
        font-size: 2.2rem;
    }

    .camp-formule {
        gap: 1.5rem;
    }

    .camp-pricing-column h4 {
        font-size: 1.2rem;
    }

    .camp-pricing-column .camp-price {
        font-size: 1.4rem;
    }

    .camp-extra-services p, .camp-iscrizione p, .camp-medici-iscrizione p {
        font-size: 0.95rem;
    }

    .camp-locandina h3 {
        font-size: 1.5rem;
    }
}

/* Eventi */
.eventi {
    /* background: #FEFAE9; */
    color: white;
}

.eventi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.evento-card {
    background: #ffff;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 250px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px;
}

.evento-card p {
    color: #333;
}

.evento-card:hover {
    transform: translateY(-10px)!important;
    animation-delay: unset!important;
    transition: 0.3s ease-in-out!important;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: white;
    text-align: center;
}

.contact .section-title {
    color: #FFFFFF;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-info h4 {
    color: white;
}

.contact p {
    color: #F0F0F0!important;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-number a{
    /* font-size: 2rem; */
    /* font-weight: bold; */
    color: #FFD23F!important;
	text-decoration:none;
}

/* Footer */
footer {
    background: #003366;
    color: white!important;
    text-align: center;
    padding: 1rem 0;
}

footer p {
    color: white!important;
    padding-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .chi-siamo-content, .services-grid, .camp-layout, .contatti-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .camp-options {
        grid-template-columns: 1fr;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Advanced animations for cards */
.animate-slide-up {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-down {
    opacity: 0;
    transform: translateY(-80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale-rotate {
    opacity: 0;
    transform: scale(0.6) rotate(-15deg);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-flip {
    opacity: 0;
    transform: perspective(1000px) rotateY(-90deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-bounce-in {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
    transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-fade-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.7s ease-out;
}

.animate-diagonal {
    opacity: 0;
    transform: translate(-60px, 60px) rotate(5deg);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visible states */
.animate-slide-up.visible, .animate-slide-down.visible, .animate-slide-left.visible, .animate-slide-right.visible, .animate-scale-rotate.visible, .animate-flip.visible, .animate-bounce-in.visible, .animate-fade-scale.visible, .animate-diagonal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg) rotateY(0deg);
}

/* Staggered animation delays */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}
@media(max-width:480px){
html, body,
.section,
.hero,
.eventi,
.contact {
  overflow-x: hidden !important;
}
}