/* ===== RESET E VARIABILI ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colori */
    --primary-color: #2c2c2c;
    --secondary-color: #8b7355;
    --accent-color: #d4af87;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #fafafa;
    --bg-overlay: rgba(0, 0, 0, 0.4);

    /* Font */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spaziatura */
    --section-padding: 80px 20px;
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ===== HEADER / NAVIGATION ===== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

#main-header.scrolled .nav-logo {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

#main-header.scrolled .nav-menu a {
    color: var(--primary-color);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

#main-header.scrolled .nav-menu a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

#main-header.scrolled .menu-toggle span {
    background: var(--primary-color);
}

/* ===== HERO SECTION CON SLIDESHOW ===== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-names {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 5px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-date {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 40px;
}

/* ===== COUNTDOWN ===== */
.countdown {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--text-light);
    margin: 10px auto 0;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    padding: 100px 0;
    background: #ffffff;
}

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

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
}

.guest-notes {
    max-width: 900px;
    margin: 0 auto;
}

.guest-notes-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.note-card {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 25px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.note-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.note-icon svg {
    color: var(--secondary-color);
}

.note-content h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.note-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 25px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-link svg {
    stroke: white;
}

/* ===== SECTIONS COMUNI ===== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.section-title.centered {
    text-align: center;
}

/* ===== CEREMONY & RECEPTION ===== */
.ceremony-reception-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-light) 0%, #f5f0eb 100%);
    box-shadow: inset 0 15px 30px -15px rgba(0, 0, 0, 0.06);
}

/* Layout a due colonne */
.venue-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.venue-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.venue-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.venue-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.venue-time {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 25px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.map-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.map-link svg {
    width: 18px;
    height: 18px;
}

/* Griglia foto location */
.location-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.location-photo {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.location-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== TIMELINE/PROGRAMMA ===== */
.program {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-left: 40px;
    flex: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    padding: 25px 0;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 35px;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--bg-light);
}

.timeline-time {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    min-width: 100px;
}

.timeline-content h5 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-light) 0%, #f5f0eb 100%);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 0 60px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.gallery-tab:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.gallery-tab.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

.gallery-tab-content {
    display: none;
}

.gallery-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* ===== PHOTO GRID ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.photo-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== VIDEO GRID ===== */
.video-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.video-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== SHARE/UPLOAD SECTION ===== */
.upload-section {
    max-width: 1000px;
    margin: 0 auto;
}

.upload-intro {
    text-align: center;
    margin-bottom: 50px;
}

.upload-intro h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.upload-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.share-option {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.share-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-icon svg {
    color: var(--secondary-color);
}

.share-option h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.share-option p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.share-option small {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.share-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.whatsapp:hover {
    background: #128C7E;
}

.upload-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.upload-info h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.upload-info ol {
    max-width: 600px;
    margin: 0 auto 30px;
    padding-left: 20px;
}

.upload-info ol li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.info-note {
    text-align: center;
    font-size: 1rem;
    color: #666;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

/* ===== RSVP SECTION ===== */
.rsvp-section {
    padding: 100px 0;
    background: #ffffff;
}

.rsvp-content {
    max-width: 700px;
    margin: 0 auto;
}

.rsvp-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.rsvp-form {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.radio-group {
    display: flex;
    flex-direction: column;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    padding: 12px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.radio-label:hover {
    background: var(--bg-light);
}

.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.form-hint {
    display: block;
    margin: 8px 0 15px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.form-group:has(#allergie) {
    display: block !important;
}

.submit-btn {
    width: 100%;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-light);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loader {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline;
}

/* ===== GIFT SECTION ===== */
.gift-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f6f3 0%, #f5f0eb 50%, #efe8e0 100%);
    position: relative;
    overflow: hidden;
}

.gift-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.gift-decoration {
    text-align: center;
    margin-bottom: -20px;
    position: relative;
    z-index: 1;
}

.gift-icon {
    color: var(--secondary-color);
    opacity: 0.6;
}

.gift-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.gift-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.gift-intro {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.gift-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.gift-card-icon {
    margin-bottom: 25px;
}

.gift-card-icon svg {
    color: var(--secondary-color);
}

.gift-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iban-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.iban-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 600;
}

.iban-value {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--secondary-color);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #4CAF50;
}

.intestatario {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.intestatario-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

.intestatario-value {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

.gift-thanks {
    margin-top: 40px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 50px 20px;
    text-align: center;
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.footer-date {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

.footer-credits {
    font-size: 0.85rem;
    margin-top: 15px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.footer-credits .heart-icon {
    color: #c9504d;
    display: inline-block;
    vertical-align: middle;
}

.footer-credits a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-credits a:hover {
    opacity: 0.7;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 40px 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active a {
        color: var(--primary-color);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-names {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .countdown {
        gap: 20px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .rsvp-form,
    .program,
    .upload-form {
        padding: 30px;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 4px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-time {
        min-width: auto;
    }

    .venue-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .location-photos {
        gap: 10px;
    }

    .location-photo {
        height: 150px;
    }

    .note-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 25px;
    }

    .note-content h4 {
        font-size: 1.3rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .gift-title {
        font-size: 2.2rem;
    }

    .gift-card {
        padding: 30px 20px;
    }

    .iban-row {
        flex-direction: column;
        gap: 10px;
    }

    .iban-value {
        font-size: 0.95rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .hero-names {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-date {
        font-size: 1.2rem;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .navbar {
        padding: 15px 20px;
    }

    .section-container {
        padding: 60px 20px;
    }

    .upload-area {
        padding: 40px 20px;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .preview-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .gallery-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .gallery-tab {
        width: 100%;
    }
}
