/* ========================================
   WEDDING LANDING PAGE - VIOLA & EDOARDO
   Verde & Oro - Acquerello Elegante
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Josefin+Sans:wght@200;300;400&family=Great+Vibes&family=Pinyon+Script&display=swap');

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --moss: #1a2409;
    --fern: #3f4b15;
    --fern-dark: #2d3610;
    --sage: #5a6632;
    --sage-light: #7a8652;
    --olive: #6e763f;
    --birch: #cac7b1;
    --cream: #fdfcf8;
    --white: #ffffff;
    
    /* Gold palette */
    --gold-dark: #8B7332;
    --gold: #c9a962;
    --gold-light: #e8d9a8;
    --gold-shine: #d4af37;
    --gold-pale: #f5ecd7;
    
    --text-dark: #2d3610;
    --text-medium: #4a5a28;
    --text-light: #6e763f;
    
    --font-script: 'Great Vibes', cursive;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Josefin Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { font-size: 18px; }

@media (max-width: 1200px) { html { font-size: 17px; } }
@media (max-width: 992px) { html { font-size: 17px; } }
@media (max-width: 768px) { html { font-size: 17px; } }

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    overflow: hidden;
}

/* ========================================
   FIXED BACKGROUND - WHITE + YOUR LOGO
======================================== */
.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: var(--white);
}

.background-fixed img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
    opacity: 0.04;
}

/* ========================================
   WATERCOLOR ROSES - LEFT ONLY
   Rose bianche acquerello, già tagliate, molto opache
======================================== */
.decoration-left {
    position: fixed;
    left: 0;
    top: 0;
    width: 60vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
    background-image: url('/assets/images/roses-left.png');
    background-position: left center;
    background-size: auto 120vh;
    background-repeat: no-repeat;
    opacity: 0.25;
    transition: opacity 0.5s ease;
}

.decoration-left.hidden {
    opacity: 0;
}

/* Decoration right - DISABLED */
.decoration-right {
    display: none;
}

/* Mobile roses */
@media (max-width: 768px) {
    .decoration-left {
        width: 50vw;
        background-size: auto 80vh;
        opacity: 0.18;
    }
}

/* ========================================
   LOADER - FULL SCREEN IMAGE
======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    filter: brightness(1.1);
}

.loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    opacity: 0;
    animation: loaderTextFade 2s ease-in-out 0.5s forwards;
}

.loader-text span {
    display: block;
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    color: var(--gold-dark);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}

.loader-text p {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.1em;
    color: var(--fern);
    text-shadow: 0 1px 5px rgba(255,255,255,0.8);
}

@keyframes loaderTextFade {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ========================================
   TOP NAVIGATION MENU
======================================== */
.nav-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 70%, rgba(255,255,255,0) 100%);
    transition: var(--transition-smooth);
}

.nav-top.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 30px rgba(45, 54, 16, 0.08);
    padding: 18px 60px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    padding: 10px 5px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--fern);
    transition: var(--transition-smooth);
}

/* Language Switcher */
.lang-switch {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    padding: 6px 14px;
    border: 1px solid var(--gold-light);
    border-radius: 20px;
    transition: var(--transition-smooth);
    margin-left: 10px;
}

.lang-switch:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

/* ========================================
   SCROLL SNAP CONTAINER
======================================== */
.snap-container {
    height: 100vh;
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.snap-container::-webkit-scrollbar { width: 0; display: none; }
.snap-container { -ms-overflow-style: none; scrollbar-width: none; }

/* ========================================
   SECTIONS - FULL VIEWPORT
======================================== */
.snap-section {
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding-top: 70px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 20px;
}

.snap-section.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
    padding-top: 90px;
    padding-bottom: 40px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
ul { list-style: none; }

/* ========================================
   HERO SECTION
======================================== */
.hero {
    text-align: center;
    padding: 25px;
    padding-top: 85px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-monogram {
    width: 520px;
    max-width: 75vw;
    height: auto;
    margin: 0 auto 35px;
    animation: heroFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 8px 25px rgba(63, 75, 21, 0.12));
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-tagline {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    color: var(--fern);
    margin-bottom: 22px;
    font-weight: 400;
}

.hero-names {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    font-style: italic;
    color: var(--gold-dark);
    letter-spacing: 0.12em;
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
    opacity: 0.5;
}

.hero-scroll svg {
    width: 28px;
    height: 28px;
    stroke: var(--gold);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   SECTION COMMON
======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

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

.section-title-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.section-subtitle {
    font-family: var(--font-script);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--gold);
    font-weight: 400;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 300;
    color: var(--fern);
    letter-spacing: 0.08em;
}

.section-divider {
    width: 110px;
    height: 22px;
    margin: 12px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 25'%3E%3Cpath d='M0 12.5 L50 12.5' stroke='%23c9a962' stroke-width='1'/%3E%3Cpath d='M90 12.5 L140 12.5' stroke='%23c9a962' stroke-width='1'/%3E%3Ccircle cx='70' cy='12.5' r='5' fill='none' stroke='%23c9a962' stroke-width='1'/%3E%3Cpath d='M58 12.5 Q64 6 70 12.5 Q76 19 82 12.5' stroke='%23c9a962' stroke-width='1' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ========================================
   STORY SECTION
======================================== */
.story {
    padding: 25px 35px;
}

.story-content {
    display: grid;
    grid-template-columns: 1.4fr 1.5fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.story-image {
    position: relative;
}

.story-image img {
    border-radius: 12px;
    max-height: 75vh;
    width: 100%;
    object-fit: cover;
}

.story-text {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    font-weight: 300;
    line-height: 1.95;
    color: var(--text-dark);
    font-style: italic;
}

.story-text p { margin-bottom: 16px; }

.story-signature {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--gold);
    margin-top: 16px;
    font-weight: 400;
}

/* ========================================
   DRESS CODE SECTION
======================================== */
.dresscode {
    padding: 25px 35px;
    text-align: center;
}

.dresscode-content {
    max-width: 850px;
    margin: 0 auto;
}

.dresscode-intro {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 45px;
    line-height: 1.9;
}

.dresscode-rules {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.dresscode-item {
    text-align: center;
}

.dresscode-icon {
    width: 240px;
    height: 320px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.dresscode-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dresscode-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--fern);
    font-style: italic;
}

/* ========================================
   EVENT SECTION - 2 LOCATIONS
======================================== */
.event {
    padding: 25px 35px;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 880px;
    margin: 0 auto;
}

.event-card {
    background: rgba(255,255,255,0.97);
    padding: 30px 28px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(45, 54, 16, 0.06);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--gold-light);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(201, 169, 98, 0.12);
}

.event-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-pale);
    border-radius: 50%;
    border: 2px solid var(--gold-light);
}

.event-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--gold-dark);
}

.event-time {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--fern);
    margin-bottom: 14px;
    font-style: italic;
}

.event-card-info {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-medium);
    line-height: 1.75;
}

.event-card-info strong {
    display: block;
    font-weight: 400;
    color: var(--gold-dark);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.event-details {
    margin-top: 12px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--sage);
}

.event-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: var(--fern-dark);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(201, 169, 98, 0.3);
    border: 1px solid var(--gold);
}

.event-map-link:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-shine) 50%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(201, 169, 98, 0.4);
}

/* ========================================
   PROGRAM SECTION - GOLD TIMELINE (3 items)
======================================== */
.program {
    padding: 25px 35px;
}

.timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 15%, var(--gold) 85%, var(--gold-light) 100%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:nth-child(odd) { flex-direction: row-reverse; }

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: 3px solid var(--white);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 3px var(--gold), 0 4px 12px rgba(201, 169, 98, 0.35);
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    background: var(--gold-dark);
    border-radius: 50%;
}

.timeline-content { width: 50%; }

.timeline-time {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 6px;
    text-shadow: 0 1px 3px rgba(201, 169, 98, 0.2);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--fern);
    margin-bottom: 6px;
    font-style: italic;
}

.timeline-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-medium);
}

/* ========================================
   INFO SECTION - NAVETTA & PARCHEGGIO
======================================== */
.info-transport {
    padding: 25px 35px;
}

.info-transport-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-transport-text {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 20px;
}

.info-transport-note {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--sage);
    padding: 18px 25px;
    background: var(--gold-pale);
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.info-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 22px;
    background: transparent;
    color: var(--gold-dark);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--gold);
}

.info-map-link:hover {
    background: var(--gold);
    color: var(--white);
}

/* ========================================
   GIFTS SECTION
======================================== */
.gifts {
    padding: 25px 35px;
}

.gifts-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 35px;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.9;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 950px;
    margin: 0 auto;
}

.gift-card {
    text-align: center;
    padding: 32px 25px;
    background: rgba(255,255,255,0.97);
    border-radius: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 28px rgba(45, 54, 16, 0.05);
    border: 1px solid var(--gold-light);
}

.gift-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(201, 169, 98, 0.12);
}

.gift-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-pale);
    border-radius: 50%;
    border: 2px solid var(--gold-light);
}

.gift-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--gold-dark);
}

.gift-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--gold-dark);
    margin-bottom: 12px;
    font-style: italic;
}

.gift-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Nuovi stili per opzioni regalo */
.gifts-options {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 700px;
    margin: 0 auto;
}

.gift-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gift-option:hover {
    transform: translateY(-6px);
}

.gift-option-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(253,252,248,0.95) 100%);
    border-radius: 50%;
    border: 2px solid rgba(201, 169, 98, 0.3);
    box-shadow: 
        0 10px 35px rgba(45, 54, 16, 0.08),
        0 2px 10px rgba(201, 169, 98, 0.1);
    transition: all 0.4s ease;
}

.gift-option:hover .gift-option-icon {
    background: linear-gradient(145deg, var(--gold-pale) 0%, rgba(201, 169, 98, 0.15) 100%);
    box-shadow: 
        0 15px 45px rgba(201, 169, 98, 0.2),
        0 5px 15px rgba(201, 169, 98, 0.15);
    border-color: var(--gold);
}

.gift-option-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--gold-dark);
    transition: all 0.3s ease;
}

.gift-option:hover .gift-option-icon svg {
    stroke: var(--gold);
    transform: scale(1.05);
}

.gift-option-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold-dark);
    font-style: italic;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.gift-option:hover .gift-option-label {
    color: var(--gold);
}

/* Modal Regalo */
.gift-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 251, 247, 0.97);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.gift-modal.active {
    display: flex;
    opacity: 1;
}

.gift-modal-content {
    background: transparent;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.gift-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border: none;
    background: rgba(92, 107, 62, 0.1);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fern-dark);
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
}

.gift-modal-close:hover {
    background: rgba(92, 107, 62, 0.2);
    transform: scale(1.05);
}

.gift-modal-image {
    width: 100%;
    display: block;
}

.gift-modal-info {
    padding: 25px 10px 10px;
    text-align: center;
}

.gift-modal-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--gold-dark);
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: 0.03em;
}

.gift-modal-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
}

.gift-detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    text-align: center;
}

.gift-detail-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-style: italic;
}

.gift-detail-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.gift-detail-value.iban-value {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: var(--fern-dark);
    background: rgba(92, 107, 62, 0.08);
    padding: 12px 20px;
    border-radius: 6px;
    margin-top: 3px;
}

.gift-maps-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 32px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.gift-maps-link:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.gift-maps-link svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

/* ========================================
   RSVP SECTION
======================================== */
.rsvp {
    background: linear-gradient(135deg, var(--fern) 0%, var(--fern-dark) 100%);
    color: var(--cream);
    padding: 40px 40px;
    padding-top: 85px;
}

.rsvp .section-subtitle { color: var(--gold-light); }
.rsvp .section-title { color: var(--cream); }

.rsvp .section-divider {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 25'%3E%3Cpath d='M0 12.5 L50 12.5' stroke='%23c9a962' stroke-width='1'/%3E%3Cpath d='M90 12.5 L140 12.5' stroke='%23c9a962' stroke-width='1'/%3E%3Ccircle cx='70' cy='12.5' r='5' fill='none' stroke='%23c9a962' stroke-width='1'/%3E%3Cpath d='M58 12.5 Q64 6 70 12.5 Q76 19 82 12.5' stroke='%23c9a962' stroke-width='1' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rsvp-form {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--gold-light);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--gold-light);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.22);
}

.form-textarea { min-height: 80px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-radio-group {
    display: flex;
    gap: 28px;
    margin-top: 10px;
}

.form-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 300;
}

.form-radio input { display: none; }

.form-radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.form-radio input:checked + .form-radio-custom {
    border-color: var(--gold);
    background: var(--gold);
}

.form-radio input:checked + .form-radio-custom::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--fern);
    border-radius: 50%;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fern-dark);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
    border: 2px solid var(--gold);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(201, 169, 98, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-shine) 50%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(201, 169, 98, 0.45);
}

.rsvp-deadline {
    text-align: center;
    margin-top: 22px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-light);
}

.guests-note {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 15px;
    opacity: 0.9;
}

.btn-add-guest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--gold-light);
    background: transparent;
    border: 2px dashed var(--gold-light);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-add-guest:hover {
    background: rgba(201, 169, 98, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.guest-entry {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 15px;
    padding-top: 35px;
    margin-bottom: 12px;
    border: 1px solid rgba(201, 169, 98, 0.3);
    position: relative;
}

.guest-entry .form-row {
    margin-bottom: 10px;
}

.guest-entry .form-group {
    margin-bottom: 0;
}

.btn-remove-guest {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 100, 100, 0.2);
    border: none;
    border-radius: 50%;
    color: #c97070;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-remove-guest:hover {
    background: rgba(200, 100, 100, 0.4);
}

.form-success { display: none; text-align: center; padding: 40px; }
.form-success.show { display: block; }

.form-success-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
}

.form-success-icon svg { width: 38px; height: 38px; stroke: var(--fern); }

.form-success-title {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.form-success-text { font-size: 1.05rem; color: var(--birch); }

.rsvp-form.hidden { display: none; }

/* ========================================
   CONTACTS SECTION
======================================== */
.contacts {
    padding: 25px 35px;
}

.contacts-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-name {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.contact-phone {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-medium);
    letter-spacing: 0.08em;
}

.contact-phone a {
    color: var(--fern);
}

.contact-phone a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--fern-dark);
    color: var(--birch);
    text-align: center;
    padding: 35px 35px;
    min-height: auto;
}

.footer-monogram {
    width: 75px;
    margin: 0 auto 15px;
    filter: brightness(0) invert(0.85);
}

.footer-names {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 400;
}

.footer-date {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.footer-hearts {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--gold);
    opacity: 0.5;
}

.footer-copy { font-size: 0.7rem; opacity: 0.4; }

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1024px) {
    .snap-section {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .nav-top { gap: 25px; padding: 15px 30px; }
    .nav-link { font-size: 0.65rem; letter-spacing: 0.12em; }
    
    .container { padding: 0 25px; }
    
    .story-content { gap: 35px; }
    .event-cards { gap: 25px; }
    .gifts-grid { gap: 18px; }
    .dresscode-rules { gap: 50px; }
    .timeline-item { margin-bottom: 28px; }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
    .snap-section {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 45px;
        padding-bottom: 8px;
        justify-content: center;
    }
    
    .nav-top {
        padding: 8px 15px;
        justify-content: space-between;
        background: rgba(255,255,255,0.98);
    }
    
    .nav-link { display: none; }
    .menu-toggle { display: flex; }
    
    .lang-switch {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    
    .nav-top.menu-open { flex-wrap: wrap; }
    
    .nav-top.menu-open .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
        border-top: 1px solid var(--gold-light);
    }
    
    .nav-top.menu-open .lang-switch {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--gold-light);
        padding: 12px;
        margin-left: 0;
    }
    
    .container { padding: 0 10px; }
    
    .section-header { margin-bottom: 18px; }
    .section-divider { margin-top: 8px; height: 18px; width: 90px; }
    .section-subtitle { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    
    /* HERO MOBILE */
    .hero { padding: 10px; padding-top: 50px; }
    .hero-monogram { width: 55vw; max-width: 250px; margin-bottom: 20px; }
    .hero-tagline { font-size: 1.8rem; margin-bottom: 15px; }
    .hero-names { font-size: 1rem; }
    .hero-scroll { bottom: 10px; }
    .hero-scroll svg { width: 24px; height: 24px; }
    
    /* STORY MOBILE */
    .story { padding: 10px 15px; }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    
    .story-image {
        order: -1;
        max-width: 75vw;
        margin: 0 auto;
    }
    
    .story-image img { max-height: 45vh; }
    .story-text { font-size: 0.95rem; line-height: 1.6; }
    .story-text p { margin-bottom: 8px; }
    .story-signature { font-size: 1.8rem; margin-top: 8px; }
    
    /* DRESSCODE MOBILE - AFFIANCATO */
    .dresscode { padding: 15px; }
    .dresscode-intro { margin-bottom: 25px; font-size: 1.1rem; line-height: 1.8; }
    .dresscode-rules { 
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 25px; 
    }
    .dresscode-icon { width: 38vw; height: 50vw; max-width: 160px; max-height: 220px; margin-bottom: 12px; }
    .dresscode-label { font-size: 1.15rem; }
    
    /* EVENT MOBILE */
    .event { padding: 15px; }
    
    .event-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .event-card { padding: 20px 15px; border-radius: 16px; }
    .event-icon { width: 50px; height: 50px; margin-bottom: 12px; }
    .event-icon svg { width: 26px; height: 26px; }
    .event-time { font-size: 1.6rem; margin-bottom: 8px; }
    .event-card-title { font-size: 1.2rem; margin-bottom: 10px; }
    .event-card-info { font-size: 0.95rem; line-height: 1.6; }
    .event-card-info strong { font-size: 1.05rem; margin-bottom: 5px; }
    .event-details { margin-top: 10px; font-size: 0.9rem; }
    .event-map-link { margin-top: 12px; padding: 10px 18px; font-size: 0.75rem; }
    
    /* PROGRAM/TIMELINE MOBILE */
    .program { padding: 15px; }
    
    .timeline::before { left: 15px; width: 2px; }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 45px;
        margin-bottom: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        padding: 0;
        width: 100%;
    }
    
    .timeline-dot {
        left: 15px;
        width: 24px;
        height: 24px;
        box-shadow: 0 0 0 3px var(--gold), 0 3px 10px rgba(201, 169, 98, 0.35);
    }
    
    .timeline-dot::before { width: 8px; height: 8px; }
    
    .timeline-time { font-size: 1.8rem; margin-bottom: 5px; }
    .timeline-title { font-size: 1.3rem; margin-bottom: 5px; }
    .timeline-desc { font-size: 1rem; }
    
    /* INFO MOBILE */
    .info-transport { padding: 15px; }
    .info-transport-text { font-size: 1.05rem; margin-bottom: 18px; line-height: 1.8; }
    .info-transport-note { padding: 15px 18px; font-size: 1rem; }
    .info-map-link { margin-top: 18px; padding: 12px 22px; font-size: 0.85rem; }
    
    /* GIFTS MOBILE */
    .gifts { padding: 15px; }
    .gifts-intro { margin-bottom: 25px; font-size: 1.05rem; line-height: 1.8; }
    
    .gifts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    
    .gift-card { padding: 20px 12px; border-radius: 14px; }
    .gift-icon { width: 48px; height: 48px; margin-bottom: 12px; }
    .gift-icon svg { width: 24px; height: 24px; }
    .gift-title { font-size: 1.05rem; margin-bottom: 8px; }
    .gift-text { font-size: 0.9rem; line-height: 1.5; }
    
    /* Nuovi stili regalo mobile */
    .gifts-options { gap: 40px; }
    .gift-option-icon { width: 70px; height: 70px; }
    .gift-option-icon svg { width: 30px; height: 30px; }
    .gift-option-label { font-size: 1.05rem; }
    
    .gift-modal { padding: 15px; }
    .gift-modal-content { max-width: 100%; }
    .gift-modal-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 24px; }
    .gift-modal-info { padding: 20px 5px 10px; }
    .gift-modal-info h3 { font-size: 1.5rem; margin-bottom: 15px; }
    .gift-modal-details { gap: 10px; }
    .gift-detail-label { font-size: 0.7rem; letter-spacing: 0.15em; }
    .gift-detail-value { font-size: 1.15rem; }
    .gift-detail-value.iban-value { font-size: 0.9rem; padding: 10px 12px; word-break: break-all; letter-spacing: 0.04em; }
    .gift-maps-link { padding: 12px 25px; font-size: 0.95rem; margin-top: 15px; }
    
    /* RSVP MOBILE */
    .rsvp { padding: 15px 15px; padding-top: 50px; }
    .rsvp .section-header { margin-bottom: 15px; }
    .rsvp-form { max-width: 100%; }
    .form-group { margin-bottom: 10px; }
    .form-label { font-size: 0.7rem; margin-bottom: 5px; }
    .form-input, .form-select, .form-textarea { padding: 10px 12px; font-size: 0.9rem; border-radius: 8px; }
    .form-textarea { min-height: 50px; }
    .form-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .form-radio-group { gap: 20px; margin-top: 5px; }
    .form-radio { font-size: 0.9rem; gap: 8px; }
    .form-radio-custom { width: 18px; height: 18px; }
    .btn-submit { padding: 12px; margin-top: 10px; font-size: 0.85rem; }
    .rsvp-deadline { margin-top: 12px; font-size: 0.9rem; }
    
    /* CONTACTS MOBILE */
    .contacts { padding: 15px; }
    .contacts-grid { gap: 50px; }
    .contact-name { font-size: 2.2rem; margin-bottom: 10px; }
    .contact-phone { font-size: 1.1rem; }
    
    /* FOOTER MOBILE */
    .footer { padding: 30px 20px; }
    .footer-monogram { width: 70px; margin-bottom: 15px; }
    .footer-names { font-size: 2.2rem; margin-bottom: 8px; }
    .footer-date { font-size: 0.95rem; margin-bottom: 15px; }
    .footer-hearts { font-size: 1.1rem; margin-bottom: 15px; }
    .footer-copy { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    
    .hero-monogram { width: 55vw; max-width: 240px; }
    .hero-tagline { font-size: 1.8rem; }
    .hero-names { font-size: 1rem; }
    
    .section-header { margin-bottom: 20px; }
    .section-title-row { gap: 10px; }
    .section-subtitle { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    
    .story-image { max-width: 70vw; }
    .story-image img { max-height: 40vh; }
    .story-text { font-size: 0.9rem; }
    .story-signature { font-size: 1.6rem; }
    
    /* DRESSCODE 480px - AFFIANCATO */
    .dresscode-rules { gap: 15px; }
    .dresscode-icon { width: 36vw; height: 48vw; max-width: 140px; max-height: 190px; }
    .dresscode-label { font-size: 1rem; }
    
    .event-cards { gap: 10px; }
    .event-card { padding: 15px 12px; }
    .event-time { font-size: 1.4rem; }
    .event-card-title { font-size: 1.1rem; }
    .event-card-info { font-size: 0.9rem; }
    .event-map-link { padding: 8px 14px; font-size: 0.7rem; }
    
    .timeline-time { font-size: 1.6rem; }
    .timeline-title { font-size: 1.15rem; }
    .timeline-desc { font-size: 0.9rem; }
    
    .gift-card { padding: 15px 10px; }
    .gift-icon { width: 40px; height: 40px; }
    .gift-icon svg { width: 20px; height: 20px; }
    .gift-title { font-size: 0.95rem; }
    .gift-text { font-size: 0.85rem; }
}

/* Landscape */
@media (max-height: 600px) and (orientation: landscape) {
    .snap-section {
        min-height: auto;
        height: auto;
        padding: 25px 20px;
        padding-top: 60px;
    }
    
    .snap-container { scroll-snap-type: none; }
    
    .hero-monogram { width: 80px; margin-bottom: 10px; }
    .hero-tagline { font-size: 1.4rem; }
    .section-header { margin-bottom: 15px; }
}

/* ========================================
   REGALO DIRETTO (senza modal/bottone)
   Aggiungi questi stili dopo la sezione .gifts-intro
======================================== */

/* Contenitore regalo diretto - COMPATTO */
.gift-direct {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.gift-direct-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 18px;
    display: block;
}

.gift-direct-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
    margin: 0 auto;
}

/* IBAN su una riga sola */
.gift-direct-info .iban-value {
    white-space: nowrap;
    font-size: 1rem;
    padding: 10px 15px;
}

/* Riduci margine intro nella sezione regalo */
.gifts .gifts-intro {
    margin-bottom: 18px;
}

/* ========================================
   MOBILE - Aggiungi dentro @media (max-width: 768px)
======================================== */
/*
    .gift-direct { max-width: 100%; }
    .gift-direct-image { max-width: 80%; margin-bottom: 12px; }
    .gift-direct-info { max-width: 100%; gap: 6px; }
    .gift-direct-info .iban-value { font-size: 0.75rem; padding: 8px 10px; }
    .gifts .gifts-intro { margin-bottom: 12px; font-size: 0.95rem; }
*/