/* ===========================
   RANAZZURRA - CSS STYLESHEET
   Aqua Fresh Theme
   =========================== */

:root {
    /* Color Palette - Aqua Fresh */
    --primary-blue: #0891b2;
    --secondary-blue: #06b6d4;
    --dark-blue: #0e7490;
    --light-blue: #67e8f9;
    --accent-teal: #14b8a6;
    --dark-gray: #1e293b;
    --medium-gray: #475569;
    --light-gray: #e2e8f0;
    --bg-gray: #f8fafc;
    --white: #ffffff;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(8, 145, 178, 0.1);
    --shadow-md: 0 4px 16px rgba(8, 145, 178, 0.15);
    --shadow-lg: 0 8px 32px rgba(8, 145, 178, 0.2);
    --shadow-xl: 0 12px 48px rgba(8, 145, 178, 0.25);
}

/* ===========================
   RESET & BASE STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    background: var(--bg-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-blue);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-link {
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 600;
    color: var(--dark-gray);
    border-radius: var(--radius-sm);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link .arrow {
    font-size: 0.7em;
    transition: transform 0.3s ease;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    margin-top: var(--spacing-xs);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--dark-gray);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 1.2rem;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-menu-sub {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    margin-left: 0;
}

.dropdown-submenu:hover .dropdown-menu-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-image 1s ease-in-out; /* Dissolvenza fluida */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.60),
        rgba(14, 116, 144, 0.35)
    );
    z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 3;               
  text-align: center;
  color: var(--white);
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 800px;
}

.hero::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}


.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

/* ===========================================
   HERO TEXT ROTATION (fade between messages)
   =========================================== */
/* The JS toggles .is-fading on .hero-text to animate the change */
.hero-text {
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

.hero-text.is-fading {
    opacity: 0;
    transform: translateY(10px);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.wave-decoration {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
}

.wave-decoration svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

/* ===========================
   NOTICE BANNER
   =========================== */

.notice-banner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: var(--spacing-md) 0;
    border-bottom: 2px solid #fbbf24;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notice-text h3 {
    color: #92400e;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.notice-text p {
    color: #78350f;
    margin: 0;
}

/* ===========================
   QUICK ACTIONS
   =========================== */

.quick-actions {
    padding: var(--spacing-xxl) 0;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.action-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    transition: height 0.4s ease;
}

.card-primary::before {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}

.card-secondary::before {
    background: linear-gradient(90deg, var(--accent-teal), var(--light-blue));
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.action-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.action-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.action-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.action-card p {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.action-arrow {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-block;
}

.action-card:hover .action-arrow {
    transform: translateX(5px);
}

/* ===========================
   SERVICES OVERVIEW
   =========================== */

.services-overview {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    margin: var(--spacing-md) auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg-gray);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    color: var(--dark-blue);
    transform: translateX(5px);
}

/* ===========================
   CONTACT INFO SECTION
   =========================== */

.contact-info-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.contact-card h3 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--medium-gray);
    margin: 0.3rem 0;
}

.contact-card a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-card a:hover {
    color: var(--dark-blue);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--light-blue);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; 
}

.footer-links a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===========================
   CONTENT PAGES
   =========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: var(--spacing-xl) 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.content-section {
    padding: var(--spacing-xxl) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

.content-main {
    min-width: 0;
}

.content-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.content-card h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--light-blue);
}

.content-card h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.content-card p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-blue);
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.info-box {
    background: linear-gradient(135deg, var(--bg-gray), var(--light-gray));
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; 
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.info-box h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.info-box p {
    margin: 0;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: var(--spacing-lg) 0;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.schedule-table thead {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.schedule-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
}

.schedule-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--light-gray);
}

.schedule-table tbody tr:hover {
    background: var(--bg-gray);
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.checklist li {
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; 
}

.checklist li:hover {
    border-color: var(--primary-blue);
    background: var(--bg-gray);
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    color: var(--dark-gray);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--light-blue);
}

.sidebar-card p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.sidebar-card a {
    color: var(--primary-blue);
    font-weight: 600;
}

.sidebar-card.highlight {
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    color: var(--white);
}

.sidebar-card.highlight h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-card.highlight p {
    color: rgba(255, 255, 255, 0.95);
}

/* Price Box */
.price-box {
    margin: var(--spacing-md) 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-blue);
}

.price-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; 
    margin-top: var(--spacing-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.contact-detail-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.contact-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.contact-detail-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.contact-detail-card p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.contact-detail-card a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-note {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-style: italic;
}

.map-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-blue);
    font-weight: 600;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.map-link:hover {
    transform: translateX(5px);
}

.map-container {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-container h2 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
}

.map-placeholder {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.directions-info {
    margin-top: var(--spacing-lg);
}

.directions-info h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.direction-item {
    background: var(--bg-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-blue);
}

.direction-item strong {
    display: block;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.direction-item p {
    color: var(--medium-gray);
    margin: 0;
}

.faq-section {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-section h2 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background: var(--bg-gray);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    border-top: 3px solid var(--primary-blue);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
        align-items: stretch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* --- Dropdown primo livello: accordion in-flow su mobile --- */
    .dropdown-menu {
        position: static;       /* NON absolute: scorre nel flusso */
        top: auto;
        left: auto;
        min-width: unset;
        width: 100%;
        box-shadow: none;
        border-radius: var(--radius-sm);
        padding: 0;
        margin-top: 0;
        background: var(--bg-gray);
        border-left: 3px solid var(--primary-blue);

        /* Nascosto di default via max-height (accordion animato) */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;

        transition: max-height 0.35s ease, opacity 0.25s ease;
    }

    /* Aperto via JS con classe .show-mobile */
    .dropdown-menu.show-mobile {
        max-height: 600px;      /* valore abbastanza grande da contenere qualsiasi sottoMenu */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* --- Submenu secondo livello: sempre visibile e indentato su mobile --- */
    .dropdown-menu-sub {
        position: static;
        max-height: none;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        width: 100%;
        background: transparent;
        padding: 0;
        margin: 0;
        border: none;
    }

    /* Voci del dropdown primo livello */
    .dropdown-menu > li > a,
    .dropdown-menu > li.dropdown-submenu > a {
        padding: 0.7rem 1rem 0.7rem 1.2rem;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--light-gray);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Voci del submenu secondo livello: più indentate */
    .dropdown-menu-sub > li > a {
        padding: 0.6rem 1rem 0.6rem 2rem;
        font-size: 0.9rem;
        background: var(--white);
        border-bottom: 1px solid var(--light-gray);
        color: var(--medium-gray);
        display: block;
    }

    .dropdown-menu-sub > li > a::before {
        content: "↳ ";
        color: var(--primary-blue);
        font-size: 0.85em;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .actions-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-card {
        padding: var(--spacing-md);
    }
    
    .info-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schedule-table {
        font-size: 0.85rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: var(--spacing-sm);
    }
}

/* =========================================
   CLOSURE DAYS SECTION
========================================= */
.closure-days-section {
    padding: 2.5rem 0 1rem;
    background: transparent;
}

.closure-days-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.closure-day-card {
    width: 280px;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1.1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eef7;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.closure-day-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.closure-day-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 92px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff416c, #ff4b2b); /*BLUE var(--primary-blue), var(--secondary-blue) */
    color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(8, 145, 178, 0.22);
}

.closure-day-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.closure-day-month {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.closure-day-text h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.15rem;
    color: var(--dark-gray);
}

.closure-day-text p {
    margin: 0;
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 600;
}

@media (max-width: 768px) {
    .closure-days-section {
        padding: 2rem 0 0.75rem;
    }

    .closure-day-card {
        width: 100%;
        max-width: 340px;
    }
}

/* =========================
   SLIDESHOW
========================= */

.slideshow-container {
    position: relative;
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 20px;
}

.slide {
    display: none;
    width: 100%;
    animation: fade 0.5s ease;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Bottoni */

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.slide-btn:hover {
    background: rgba(0,0,0,0.7);
}

.slide-btn.prev {
    left: 15px;
}

.slide-btn.next {
    right: 15px;
}

/* Dots */

.slide-dots {
    position: absolute;
    bottom: 18px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
}

/* Fade */

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Mobile */

@media (max-width: 768px) {

    .slide img {
        height: 240px;
    }

    .slide-btn {
        padding: 10px 14px;
        font-size: 18px;
    }
}

.summer-announcements-wrapper {
    display: flex;
    gap: 1.5rem;
}

.summer-announcements-wrapper .summer-announcement {
    flex: 1;
}

.summer-announcement-secondary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #00bcd4;
    box-shadow: 0 12px 32px rgba(0, 188, 212, 0.25);
}

@media (max-width: 900px) {
    .summer-announcements-wrapper {
        flex-direction: column;
    }
}

/* =========================================
   FEATURED VIDEO CARD
========================================= */
.video-card {
    background: #ffffff;
    border: 1.5px solid #e8edf2;
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.video-thumbnail img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.04);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,0,0,0.9);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-card h4 {
    margin: 0 0 0.75rem;
    color: #1a2e3b;
}

.video-description {
    font-size: 0.85rem;
    color: #5a7a90;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* =========================================
   EVENTO GARA DELLO STROPPOLO
========================================= */

.event-banner {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f3f0ff 0%, #e8ddff 100%);
}

.event-announcement {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.event-poster {
    flex: 0 0 320px;
}

.event-poster img {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.event-content {
    flex: 1;
}

.event-badge {
    display: inline-block;
    background: #6a1b9a;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.event-content h2 {
    margin: 0;
    color: #4a148c;
    font-size: 2rem;
}

.event-content h3 {
    margin: 0.5rem 0 1rem;
    color: #7b1fa2;
    font-size: 1.3rem;
}

.event-date,
.event-location {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.event-description {
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
    color: #555;
}

.event-btn {
    display: inline-block;
    background: #6a1b9a;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.event-btn:hover {
    background: #4a148c;
    color: white;
}

@media (max-width: 768px) {
    .event-announcement {
        flex-direction: column;
        text-align: center;
    }

    .event-poster {
        flex: none;
        width: 100%;
        max-width: 320px;
    }

    .event-content h2 {
        font-size: 1.6rem;
    }

    .event-content h3 {
        font-size: 1.1rem;
    }
}

.alert-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff8e1;
    border-left: 5px solid #f0a500;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 25px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.alert-notice .alert-icon {
    font-size: 1.5rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.alert-notice .alert-text strong {
    display: inline;
    color: #8a5a00;
}

.alert-notice .alert-text > strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.alert-notice .alert-text p {
    margin: 0;
    color: #5c4300;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .alert-notice {
        padding: 14px 16px;
        gap: 10px;
    }
}