/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colori dalla palette fornita */
    --verde-scuro: #4a5d3a;
    --verde-medio: #6b7c5d;
    --bianco: #ffffff;
    --rosa-tenue: #f0c5c5;
    --pesca: #e8a788;
    
    /* Font families */
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--verde-scuro);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Spazio per la navigazione fissa */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(74, 93, 58, 0.1);
    transition: all 0.3s ease;
}

.navigation.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(74, 93, 58, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

.nav-logo .nav-names {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--verde-scuro);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--verde-scuro);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--rosa-tenue);
    color: var(--verde-scuro);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--verde-scuro);
    color: var(--bianco);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--verde-scuro);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .nav-logo .nav-names {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(74, 93, 58, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        padding: 0 20px;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        margin: 0.25rem 0;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--verde-scuro) 0%, var(--verde-medio) 50%, var(--pesca) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 93, 58, 0.3);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    animation: fadeInUp 2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.names {
    margin-bottom: 20px;
}

.bride-name, .groom-name {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--bianco);
    margin: 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ampersand {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--rosa-tenue);
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.date-info {
    animation: fadeInUp 2s ease-out 0.5s both;
}

.wedding-date {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--bianco);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.tagline {
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    color: var(--rosa-tenue);
    font-weight: 300;
}

.scroll-indicator {
    margin-top: 20px;
    color: var(--bianco);
    font-size: 1.8rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Hero Countdown Styles */
.hero-countdown {
    margin-top: 25px;
    animation: fadeInUp 2s ease-out 1s both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-title {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    color: var(--bianco);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .time-unit {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 80px;
    border: 2px solid rgba(240, 197, 197, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero .time-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 167, 136, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero .time-unit:hover::before {
    left: 100%;
}

.hero .time-unit:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.hero .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--verde-scuro);
    line-height: 1;
    margin-bottom: 6px;
}

.hero .label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--verde-medio);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}



/* Details Section */
.details-section {
    padding: var(--section-padding);
    background: var(--bianco);
    position: relative;
    z-index: 2;
}

.details-section .section-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--verde-scuro);
    margin-bottom: 50px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.detail-card {
    background: linear-gradient(135deg, var(--verde-medio), var(--verde-scuro));
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    color: var(--bianco);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--pesca) 0%, transparent 70%);
    opacity: 0.1;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.detail-card:hover::before {
    top: -20%;
    right: -20%;
    opacity: 0.2;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.detail-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--rosa-tenue);
    position: relative;
    z-index: 2;
}

.detail-card h3 {
    font-family: var(--font-script);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--bianco);
    position: relative;
    z-index: 2;
}

.detail-card p {
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.map-link {
    color: var(--bianco);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 8px;
    cursor: pointer;
    position: relative;
    z-index: 10;
    display: inline-block;
    border: none;
    outline: none;
}

.map-link:hover {
    color: var(--rosa-tenue);
    transform: translateX(2px);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--rosa-tenue);
    text-decoration-style: dotted;
}

.map-link:active {
    color: var(--pesca);
}

.detail-card .fas.fa-map-marker-alt {
    color: var(--rosa-tenue);
    font-size: 1rem;
    margin-right: 5px;
}

.gift-link {
    color: var(--bianco);
    text-decoration: underline;
    text-decoration-color: var(--rosa-tenue);
    text-decoration-style: dotted;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
    display: inline;
    border: none;
    outline: none;
}

.gift-link:hover {
    color: var(--rosa-tenue);
    text-decoration-style: solid;
}

/* RSVP Section */
.rsvp-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--rosa-tenue) 0%, var(--pesca) 100%);
    text-align: center;
    position: relative;
    z-index: 3;
}

.rsvp-section .section-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--verde-scuro);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.rsvp-text {
    font-size: 1.2rem;
    color: var(--verde-scuro);
    margin-bottom: 40px;
    font-style: italic;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--bianco);
    color: var(--verde-scuro);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--verde-medio);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.rsvp-btn {
    background: linear-gradient(45deg, var(--verde-scuro), var(--verde-medio));
    color: var(--bianco);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rsvp-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--verde-medio), var(--pesca));
}

.rsvp-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Gift Ideas Section */
.gift-ideas-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--verde-scuro) 0%, var(--verde-medio) 100%);
    color: var(--bianco);
    text-align: center;
    position: relative;
    z-index: 4;
}

.gift-ideas-section .section-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--bianco);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gift-ideas-content {
    max-width: 800px;
    margin: 0 auto;
}

.gift-intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--rosa-tenue);
    font-style: italic;
}

/* Honeymoon Section */
.honeymoon-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(240, 197, 197, 0.3);
}

.honeymoon-section h3 {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--rosa-tenue);
    margin-bottom: 30px;
    text-align: center;
}

/* Honeymoon Banner */
.honeymoon-banner {
    background: linear-gradient(
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.3)
    ),
    url('https://www.imaway.it/wp-content/webp-express/webp-images/uploads/2023/03/Polinesia-3.jpg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin: 30px 0;
    position: relative;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 93, 58, 0.3) 0%,
        rgba(240, 197, 197, 0.4) 50%,
        rgba(232, 167, 136, 0.3) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.banner-content {
    text-align: center;
    color: white;
    max-width: 600px;
}

.banner-content h4 {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
    white-space: nowrap;
}

.banner-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.dream-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
}

.highlight {
    font-weight: 600;
    color: var(--rosa-tenue);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}



.malpensa { top: 25%; left: 48%; }
.denver { top: 35%; left: 25%; }
.tahiti { top: 65%; left: 70%; }
.san-francisco { top: 40%; left: 15%; }

/* Scia dell'aereo */
.plane-trail {
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 1px;
    z-index: 12;
    animation: trailAnimation 12s infinite;
}

@keyframes trailAnimation {
    0% {
        top: 25%;
        left: 48%;
        width: 0;
        transform: rotate(35deg);
    }
    20% {
        top: 32%;
        left: 32%;
        width: 60px;
        transform: rotate(35deg);
    }
    25% {
        top: 35%;
        left: 25%;
        width: 0;
        transform: rotate(45deg);
    }
    45% {
        top: 52%;
        left: 50%;
        width: 80px;
        transform: rotate(45deg);
    }
    50% {
        top: 65%;
        left: 70%;
        width: 0;
        transform: rotate(-35deg);
    }
    70% {
        top: 50%;
        left: 40%;
        width: 70px;
        transform: rotate(-125deg);
    }
    75% {
        top: 40%;
        left: 15%;
        width: 0;
        transform: rotate(-125deg);
    }
    95% {
        top: 30%;
        left: 32%;
        width: 50px;
        transform: rotate(35deg);
    }
    100% {
        top: 25%;
        left: 48%;
        width: 0;
        transform: rotate(35deg);
    }
}
.denver { top: 25%; left: 45%; }
.tahiti { top: 65%; left: 70%; }
.san-francisco { top: 35%; left: 35%; }



.plane {
    position: absolute;
    font-size: 2rem;
    animation: flyPath 12s infinite;
    z-index: 15;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.plane:hover {
    transform: scale(1.2);
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.5));
}

@keyframes flyPath {
    0% { 
        top: 25%; 
        left: 48%; 
        transform: rotate(-45deg) scale(1); 
    }
    25% { 
        top: 35%; 
        left: 25%; 
        transform: rotate(-80deg) scale(1); 
    }
    50% { 
        top: 65%; 
        left: 70%; 
        transform: rotate(45deg) scale(1); 
    }
    75% { 
        top: 40%; 
        left: 15%; 
        transform: rotate(135deg) scale(1); 
    }
    100% { 
        top: 25%; 
        left: 48%; 
        transform: rotate(-45deg) scale(1); 
    }
}

.honeymoon-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--bianco);
    margin-top: 20px;
}

.honeymoon-text strong {
    color: var(--rosa-tenue);
    font-size: 1rem;
    letter-spacing: 1px;
}

/* IBAN styling to prevent phone number detection */
.iban-code {
    user-select: all;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    word-break: break-all;
    pointer-events: none;
}

/* Alternative Gifts */
.alternative-gifts {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(240, 197, 197, 0.2);
}

.alternative-gifts h3 {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--rosa-tenue);
    margin-bottom: 15px;
    text-align: center;
}

.alternative-gifts p {
    margin-bottom: 20px;
    text-align: center;
}

.amazon-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, var(--verde-scuro), var(--verde-medio));
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: flex;
    width: fit-content;
    border: 2px solid rgba(240, 197, 197, 0.3);
}

.amazon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 93, 58, 0.3);
    background: linear-gradient(45deg, var(--verde-medio), var(--pesca));
    border-color: var(--rosa-tenue);
}

.gift-note {
    font-size: 1.1rem;
    color: var(--rosa-tenue);
    font-style: italic;
    font-weight: 300;
    margin-top: 20px;
}

/* Responsive per il banner */
@media (max-width: 768px) {
    .honeymoon-banner {
        height: 250px;
        margin: 20px 0;
    }
    
    .banner-overlay {
        padding: 30px 20px;
    }
    
    .banner-content h4 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .dream-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 200px;
        padding: 15px;
    }
    
    .honeymoon-section {
        padding: 30px 20px;
    }
    
    .amazon-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    background: var(--verde-scuro);
    color: var(--bianco);
    padding: 50px 0;
    text-align: center;
    position: relative;
    z-index: 5;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.love-quote p {
    font-style: italic;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.8;
    color: var(--rosa-tenue);
}

.footer-names p {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--bianco);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--rosa-tenue);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--rosa-tenue);
}

.social-links a:hover {
    background: var(--rosa-tenue);
    color: var(--verde-scuro);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }
    
    .hero .countdown {
        gap: 15px;
    }
    
    .hero .time-unit {
        min-width: 75px;
        padding: 15px 12px;
    }
    
    .hero .number {
        font-size: 2rem;
    }
    
    .hero .label {
        font-size: 0.8rem;
    }
    
    .countdown-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 20px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .love-quote p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero .time-unit {
        min-width: 65px;
        padding: 12px 8px;
    }
    
    .hero .number {
        font-size: 1.8rem;
    }
    
    .hero .label {
        font-size: 0.7rem;
    }
    
    .countdown-title {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }
}

/* Animazioni di scroll */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classe per animazioni al scroll */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.slide-in-left.animated {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right.animated {
    animation: slideInRight 0.8s ease forwards;
}

.fade-in.animated {
    animation: fadeIn 0.8s ease forwards;
}