/* ===========================
   GLOBAL STYLES
   =========================== */

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

:root {
    /* Primary Colors - Based on logo (red, black, yellow) */
    --primary-red: #E31E24;
    --primary-black: #1a1a1a;
    --primary-yellow: #FFD700;
    --primary-white: #ffffff;
    
    /* Secondary Colors */
    --dark-gray: #2c2c2c;
    --light-gray: #f5f5f5;
    --medium-gray: #666;
    
    /* Accent Colors */
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-red) 0%, #c41e3a 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    --gradient-hero: linear-gradient(135deg, rgba(227, 30, 36, 0.9) 0%, rgba(26, 26, 26, 0.85) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

/* Ensure all images load properly */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix for logo visibility */
.logo-container img {
    display: inline-block;
}

.footer-logo img {
    display: inline-block;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 55px;
    width: auto;
    transition: transform var(--transition-normal);
    object-fit: contain;
    max-width: 55px;
    display: block;
}

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

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--primary-black);
    font-weight: 400;
}

.logo-text strong {
    color: var(--primary-red);
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.cta-button-nav {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

.cta-button-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    transition: var(--transition-normal);
    border-radius: 2px;
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.cta-button {
    padding: 16px 36px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
}

.cta-button.secondary {
    background: white;
    color: var(--primary-red);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
}

.feature-badge i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
}

.feature-badge span {
    color: white;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===========================
   SECTION HEADERS
   =========================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding: 0 30px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--primary-red);
}

.section-label::before {
    left: 0;
}

.section-label::after {
    right: 0;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   WHY CHOOSE US SECTION
   =========================== */

.why-choose-us {
    padding: 100px 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ===========================
   CHI SIAMO SECTION
   =========================== */

.chi-siamo {
    padding: 100px 0;
    background: white;
}

.chi-siamo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.chi-siamo-text .intro-text {
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.story-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-point {
    display: flex;
    gap: 20px;
}

.point-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.point-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-black);
}

.point-content p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.chi-siamo-image {
    position: relative;
    height: 500px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: var(--shadow-lg);
}

.image-placeholder p {
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

.stats-overlay {
    position: absolute;
    bottom: -30px;
    left: 30px;
    right: 30px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: space-around;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: center;
}

/* ===========================
   PROGRAMMI SECTION
   =========================== */

.programmi {
    padding: 100px 0;
    background: var(--light-gray);
}

.programmi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.programma-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.programma-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.programma-card.featured {
    border: 3px solid var(--primary-red);
    transform: scale(1.05);
}

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

.programma-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.best-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 8px 40px;
    font-weight: 700;
    font-size: 0.85rem;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.programma-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.age-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.programma-header i {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.programma-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.programma-subtitle {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 25px;
}

.programma-features {
    list-style: none;
    margin-bottom: 25px;
}

.programma-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--medium-gray);
}

.programma-features i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.programma-schedule {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-black);
}

.programma-schedule i {
    color: var(--primary-red);
    margin-right: 8px;
}

/* ===========================
   VALORI SECTION
   =========================== */

.valori {
    padding: 100px 0;
    background: white;
}

.valori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.valore-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--light-gray);
    border-radius: 20px;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.valore-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-md);
}

.valore-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.valore-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-black);
}

.valore-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ===========================
   STAFF SECTION
   =========================== */

.staff {
    padding: 100px 0;
    background: var(--light-gray);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.staff-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.staff-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--gradient-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    border: 4px solid var(--primary-red);
}

.staff-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-black);
}

.staff-role {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   GALLERIA SECTION
   =========================== */

.galleria {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    background: var(--gradient-dark);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item p {
    font-size: 1rem;
    margin-top: 15px;
    font-weight: 600;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    padding: 100px 0;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--medium-gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--primary-black);
}

.testimonial-author span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.stars {
    color: var(--primary-yellow);
    font-size: 1.1rem;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-features-mini {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.mini-feature i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.cta-button-large {
    background: white;
    color: var(--primary-red);
    border: none;
    padding: 20px 50px;
    border-radius: 35px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-xl);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-button-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ===========================
   CONTATTI SECTION
   =========================== */

.contatti {
    padding: 100px 0;
    background: white;
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contatti-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    padding: 25px;
    background: var(--light-gray);
    border-radius: 15px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-normal);
}

.info-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-black);
}

.info-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.info-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.btn-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

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

.contatti-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 20px;
}

.contatti-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.submit-button {
    grid-column: 1 / -1;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

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

.form-message {
    grid-column: 1 / -1;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ===========================
   MAP SECTION
   =========================== */

.map-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-gray);
}

.map-section h3 {
    font-size: 1.8rem;
    color: var(--primary-black);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.map-section h3 i {
    color: var(--primary-red);
}

.map-container {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.map-overlay-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}

.map-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.map-info-card i {
    font-size: 2rem;
    color: var(--primary-red);
}

.map-info-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.map-info-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin: 0;
}

.btn-navigate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

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

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

.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 400;
}

.footer-logo strong {
    color: var(--primary-red);
    font-weight: 800;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.footer-section ul li i {
    color: var(--primary-red);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--primary-red);
}

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

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .chi-siamo-content {
        grid-template-columns: 1fr;
    }
    
    .stats-overlay {
        position: static;
        margin-top: 20px;
    }
    
    .contatti-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .cta-button-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .programmi-grid,
    .valori-grid,
    .staff-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .programma-card.featured {
        transform: scale(1);
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-features-mini {
        flex-direction: column;
        gap: 15px;
    }
    
    .contatti-form form {
        grid-template-columns: 1fr;
    }
    
    .map-overlay-info {
        position: static;
        margin-top: 20px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    .feature-badge {
        min-width: 120px;
        padding: 15px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
}