:root {
    --primary-color: #2ecc71; 
    --whatsapp-color: #25d366;
    --dark-color: #2c3e50;
    --light-gray: #f9fbfd;
    --text-color: #334155;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: #fff;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

.logo img {
    height: 85px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { margin-left: 30px; }

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
}

.btn-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    padding: 220px 10% 100px;
    text-align: center;
    position: relative;
}

.blob-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.badge {
    background: #eefaf3;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero h1 span { color: var(--primary-color); }

.hero p {
    font-size: 1.2rem;
    margin: 20px auto 40px;
    max-width: 600px;
    color: #64748b;
}

.btn-main {
    display: inline-block;
    padding: 16px 40px;
    background: var(--dark-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
}

/* Sezioni Interattive */
.interactive-section {
    border-bottom: 1px solid #f0f0f0;
}

.section-trigger {
    padding: 40px 10%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.section-trigger h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: 0.3s;
}

.is-open .arrow { transform: rotate(180deg); }

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

/* Gallerie */
.gallery-container {
    position: relative;
    padding: 20px 0 60px;
}

.fade-edge {
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.fade-edge.left { left: 0; background: linear-gradient(to right, white, transparent); }
.fade-edge.right { right: 0; background: linear-gradient(to left, white, transparent); }

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 10%;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar { display: none; }

.slider-track img {
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- BOTTONE WHATSAPP --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1eb954;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

footer {
    padding: 50px;
    text-align: center;
    color: #94a3b8;
}

/* Mobile responsive per il logo */
@media (max-width: 768px) {
    .navbar { padding: 5px 5%; }
    .logo img { height: 60px; }
    .hero h1 { font-size: 2.2rem; }
    .whatsapp-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 25px; }
}
