/* ===== VARIABLES ===== */
:root {
    /* Colori principali (basati sul logo) */
    --primary: #FF6B6B;       /* Rosa acceso */
    --secondary: #4ECDC4;     /* Turchese */
    --accent: #FFD166;        /* Giallo */
    --accent2: #6A4C93;       /* Viola */
    --light: #F7FFF7;         /* Bianco sporco */
    --dark: #1A535C;          /* Blu scuro */
    
    /* Colori di supporto */
    --primary-light: #FF9E9E;
    --primary-dark: #E64C4C;
    --secondary-light: #7EEAE4;
    --secondary-dark: #36B1A8;
    
    /* Font */
    --font-primary: 'Nunito', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Transizioni */
    --transition: all 0.3s ease;
    
    /* Border radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    
    /* Box shadow */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ===== GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&family=Bubblegum+Sans&display=swap');

body {
    font-family: var(--font-primary);
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light:hover {
    color: var(--primary);
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: var(--radius-md);
}

section {
    padding: 5rem 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent2));
    color: var(--light);
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Animation Container */
.animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Elementi decorativi disabilitati */
.hero-section .animation-container .floating-element {
    display: none;
}

/* Stili specifici per i palloncini nell'hero - disabilitati */
.hero-section .balloon {
    display: none;
}

/* Stili specifici per le stelle nell'hero - disabilitati */
.hero-section .star {
    display: none;
}

/* Stili specifici per i dolcetti nell'hero - disabilitati */
.hero-section .candy {
    display: none;
}

/* Stili specifici per i bastoncini di zucchero nell'hero - disabilitati */
.hero-section .candy-cane {
    display: none;
}

/* Stili specifici per gli orsacchiotti nell'hero */
.hero-section .teddy-bear {
    width: 60px;
    height: 60px;
}

/* Stili specifici per gli aquiloni nell'hero */
.hero-section .kite {
    width: 55px;
    height: 55px;
}
/* Rimuoviamo le vecchie definizioni di elementi animati poiché ora utilizziamo quelli definiti in animations.js */

/* Posizionamento specifico per gli elementi nell'hero */
.hero-section .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
}

.hero-section .floating-element:nth-child(2) {
    top: 40%;
    right: 15%;
}

.hero-section .floating-element:nth-child(3) {
    top: 70%;
    left: 20%;
}

.hero-section .floating-element:nth-child(4) {
    bottom: 10%;
    left: 30%;
}

.hero-section .floating-element:nth-child(5) {
    top: 30%;
    right: 25%;
}

.hero-section .floating-element:nth-child(6) {
    top: 15%;
    left: 40%;
}

.hero-section .floating-element:nth-child(7) {
    bottom: 20%;
    right: 10%;
}

.hero-section .floating-element:nth-child(8) {
    top: 60%;
    left: 15%;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 36px;
    color: white;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ===== ANIMATIONS ===== */
/* Le animazioni principali sono ora definite in animations.css */
/* Manteniamo solo le animazioni specifiche per l'hero section */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== CONTACT SECTION ===== */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.contact-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}

.contact-list li i {
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-list li div {
    flex: 1;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
    transition: transform 0.5s ease, border-radius 0.3s ease;
}

.map-container iframe:hover {
    transform: scale(1.02);
    border-radius: 20px;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview-img {
    position: relative;
    overflow: visible;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.gallery-preview-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}

.gallery-preview-img:hover img {
    transform: scale(1.02);
    border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* ===== ABOUT PREVIEW ===== */
.about-preview-img {
    position: relative;
    overflow: visible;
    margin-bottom: 20px;
}

.about-preview-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}

.about-preview-img:hover img {
    transform: scale(1.02);
    border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.gallery-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    transition: var(--transition);
    border-radius: 10px
}