@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500&display=swap');

:root {
    /* Palette 2024 */
    --cream-white: #F8F1E6;       /* Primary background */
    --olive-green: #7C8C52;       /* Primary text, secondary heading */
    --deep-burgundy: #BB2649;     /* Strong accent, CTA, main titles */
    --warm-honey: #F7B267;        /* Decorative, soft emphasis */
    --sage-green: #AAB98F;        /* Secondary background, contrast sections */
    --golden-orange: #F2C078;     /* Light accent */
    --terracotta-red: #E07A5F;    /* Secondary warm accent */
    
    /* Old Palette - for reference during replacement */
    --background-color: #F8F1E6; /* Bianco osso -> cream-white */
    --primary-color: #BB2649;    /* Magenta pastello -> deep-burgundy */
    --accent-color: #F7B267;     /* Arancio terracotta -> warm-honey */
    --olive-color: #7C8C52;      /* Verde oliva -> olive-green */
    --sage-color: #AAB98F;       /* Verde salvia -> sage-green */
    --blush-color: #F8F1E6;      /* Rosa cipria -> cream-white (or a light version of terracotta) */
    --wood-color: #E07A5F;       /* Legno chiaro -> terracotta-red */
    --pearl-color: #AAB98F;      /* Grigio perla -> sage-green */
    --text-color: #7C8C52;       /* Deep brown for contrast -> olive-green */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, .ceremony-details h1, .ceremony-details h2, .our-story h2, .registry h1, .bank-details h2, .event-card h2, .photos-section h1, .dots-info h2, .rsvp-section h1, .rsvp-section h2, .gift-list-section h1, .gift-info h2, .timeline h2, .parking-info h2, .contact-card h2, .download-section h3 {
    font-family: 'Knewave', cursive !important;
    color: #FF00FF;
}

header {
    background-color: var(--cream-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    padding: 20px 0;
    text-align: center;
    min-width: 120px;
}

nav ul li a {
    text-decoration: none;
    color: var(--olive-color);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    background-color: rgba(170, 185, 143, 0.2); /* sage-green with opacity */
}

main {
    margin-top: 60px;
    padding-top: 20px;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(./wedding-illustration.JPG?v=2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    background-color: var(--sage-green);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
}

.date {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    gap: 2rem;
}

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

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: bold;
}

.our-story {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.our-story h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.story-image {
    margin: 2rem 0;
    text-align: center;
}

.story-pic {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.story-pic:hover {
    transform: scale(1.02);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--cream-white);
    color: var(--text-color);
}

/* Ceremony Page Styles */
.ceremony-details {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ceremony-details h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.event-card {
    background: var(--cream-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.event-card p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.event-card .location {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.event-card .contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(170, 185, 143, 0.3);
}

.event-card .contact-info .contact {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Island and Villa Info Styles */
.island-info,
.villa-info {
    background: var(--cream-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.island-info h2,
.villa-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.info-text h3 {
    color: var(--olive-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-text p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

.info-image {
    text-align: center;
}

.info-pic {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.map-container {
    margin-top: 3rem;
}

.map-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder {
    background: #eee;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Registry Page Styles */
.registry {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.registry h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.bank-details {
    background: var(--sage-green);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--cream-white);
}

.bank-details h2 {
    color: var(--cream-white);
    margin-bottom: 2rem;
    text-align: center;
}

.bank-info {
    margin-bottom: 2rem;
}

.bank-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.note {
    text-align: center;
    font-style: italic;
    color: var(--cream-white);
}

/* Event Pics Section */
.event-pics {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--blush-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-pics h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.event-pics p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.app-download {
    display: inline-block;
    padding: 1rem 2rem;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.app-download:hover {
    color: var(--accent-color);
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 2rem auto;
    display: block;
}

/* RSVP Page Styles */
.rsvp-section {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.rsvp-section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.rsvp-section h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.form-group h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--cream-white);
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Spotify Playlist Styles */
.playlist-info {
    margin: 10px 0;
}

.spotify-link {
    display: inline-block;
    background: linear-gradient(135deg, #1DB954, #1ed760);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
}

.spotify-link:hover {
    background: linear-gradient(135deg, #1ed760, #1DB954);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.playlist-description {
    color: var(--olive-green);
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.5;
    font-style: italic;
}

/* RSVP Additional Styles */
.rsvp-explanation {
    text-align: center;
    color: var(--olive-green);
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.guest-group {
    background: rgba(170, 185, 143, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--warm-honey);
}

.guest-group h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.whatsapp-note {
    text-align: center;
    color: var(--olive-green);
    font-style: italic;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.whatsapp-note p {
    margin-bottom: 0.5rem;
}

.whatsapp-note .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

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

.whatsapp-icon {
    font-size: 1.2rem;
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--olive-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding: 60px 20px 20px;
        transition: top 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.active {
        top: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        width: 100%;
        padding: 10px 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    /* Hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    main {
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item span:first-child {
        font-size: 2rem;
    }

    .ceremony-details,
    .registry {
        padding: 3rem 1rem;
    }

    .ceremony-details h1,
    .registry h1 {
        font-size: 2.5rem;
    }

    .bank-details {
        padding: 2rem;
    }

    .event-pics {
        padding: 3rem 1rem;
    }
    
    .event-pics h2 {
        font-size: 2rem;
    }

    .rsvp-section {
        padding: 3rem 1rem;
    }

    .rsvp-section h1 {
        font-size: 2.5rem;
    }

    .rsvp-section h2 {
        font-size: 1.2rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Photos Page Styles */
.photos-section {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.photos-section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.dots-info {
    background: var(--blush-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dots-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.dots-info > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
}

.dots-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 8px;
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-section {
    text-align: center;
}

.download-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.download-section ol {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
    padding-left: 1.5rem;
}

.download-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.app-buttons img {
    height: 48px;
    width: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.app-buttons img[src*="google"] {
    height: 62px;
    width: 208px;
}

.app-buttons img:hover {
  transform: scale(1.05);
}

/* Album Access Section */
.album-access-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--cream-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.album-access-section h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.access-instruction {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-size: 1.1rem;
}

.access-options {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.qr-code-container,
.code-container {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.qr-code {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 1rem;
}

.access-code {
  background: var(--sage-green);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.code-label {
  display: block;
  font-size: 0.9rem;
  color: var(--olive-color);
  margin-bottom: 0.5rem;
}

.code-value {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
}

.qr-code-container p,
.code-container p {
  color: var(--text-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .access-options {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .qr-code {
    max-width: 150px;
  }
  
  .code-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
    .photos-section {
        padding: 3rem 1rem;
    }

    .dots-info {
        padding: 2rem;
    }

    .dots-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Timeline Styles */
.timeline {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-left: 3px solid var(--accent-color);
}

.timeline-item .time {
    font-weight: 500;
    min-width: 80px;
    color: var(--accent-color);
}

.timeline-item .event {
    margin-left: 1rem;
}

.battello-time {
  color: var(--accent-color);
  font-weight: bold;
  background: rgba(247,178,103,0.12);
  border-radius: 6px;
  padding: 0.15em 0.5em;
}

/* Parking Info Styles */
.parking-info {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.parking-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.parking-intro {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

.parking-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.parking-item {
    background: var(--blush-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.parking-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.parking-item p {
    color: var(--text-color);
}

.parking-label {
  display: inline-block;
  margin-top: 0.7rem;
  margin-left: 0.5rem;
  padding: 0.2em 0.8em;
  border-radius: 12px;
  font-size: 0.95rem;
  background: var(--warm-honey);
  color: #fff;
  font-weight: 500;
}
.villa-map-image {
  text-align: center;
  margin: 2.5rem 0 2rem 0;
}
.maps-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 22px;
  font-weight: 500;
  margin-top: 0.7rem;
  margin-bottom: 0.3rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(187,38,73,0.10);
}
.maps-btn:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Ferry Information Styles */
.ferry-info {
    background: var(--cream-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ferry-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.ferry-departure-points {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.ferry-departure-points li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.ferry-departure-points li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ferry-departure-points li span {
    font-weight: 500;
    color: var(--olive-color);
    font-size: 1.1rem;
}

.ferry-departure-points .maps-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.ferry-departure-points .maps-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(187, 38, 73, 0.3);
}

.narnia-image {
    text-align: center;
    margin: 2rem 0;
    display: block;
    width: 100%;
    overflow: visible;
}

.narnia-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    min-width: 200px;
    max-height: 400px;
}

.ferry-schedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ferry-direction h3 {
    color: var(--olive-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--warm-honey);
    padding-bottom: 0.5rem;
}

.ferry-route {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--warm-honey);
}

.ferry-route h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ferry-route p {
    margin: 0.3rem 0;
    color: var(--text-color);
}

.ferry-route p:first-of-type {
    font-weight: 500;
    color: var(--olive-green);
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item .time {
        margin-bottom: 0.5rem;
    }

    .parking-list {
        grid-template-columns: 1fr;
    }
    
    .ferry-schedule {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ferry-info {
        padding: 1.5rem;
    }
    
    .info-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .island-info,
    .villa-info {
        padding: 1.5rem;
    }
    
    .narnia-image {
        margin: 1rem 0;
        padding: 0 1rem;
    }
    
    .narnia-image img {
        min-width: 150px;
        max-width: 90%;
        max-height: 300px;
    }
}

/* Contacts Page Styles */
.contacts-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.whatsapp-info {
    margin-top: 1.5rem;
}

.whatsapp-button {
    background-color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
}

.whatsapp-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--cream-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.whatsapp-link:hover {
    background-color: var(--accent-color);
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Gift List Page Styles */
.gift-list-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.gift-list-section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.intro-text {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.bank-info {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.bank-info h2 {
    color: var(--cream-white);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.gift-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gift-item {
    background: var(--blush-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gift-info h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
}

.gift-description {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.gift-goal {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.gift-button {
    background-color: var(--primary-color);
    color: var(--cream-white);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.gift-button:hover {
    background-color: var(--accent-color);
}

.gift-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.progress-container {
    margin-top: 1rem;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--sage-green);
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

.progress-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: center;
}

.bank-details {
    background: var(--sage-green);
    color: var(--cream-white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.bank-details p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .gift-list {
        grid-template-columns: 1fr;
    }
}

.storytelling {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: var(--text-color);
}
.story-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
.story-figure {
  margin: 2rem 0 1rem 0;
  text-align: center;
}
.story-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.story-figure figcaption {
  font-size: 0.95rem;
  color: var(--olive-green);
  margin-top: 0.5rem;
  font-style: italic;
}

.payment-options-section {
  max-width: 700px;
  margin: 3rem auto 0 auto;
  background: var(--cream-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
}
.payment-options-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}
.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.payment-option {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(170,185,143,0.10);
  padding: 1.5rem 1.2rem;
  min-width: 200px;
  max-width: 250px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s;
}
.payment-option:hover {
  box-shadow: 0 4px 16px rgba(170,185,143,0.18);
}
.payment-option.active {
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 16px rgba(187,38,73,0.12);
}
.payment-icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}
.payment-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.payment-desc {
  color: var(--text-color);
  font-size: 1rem;
}
.bank-info-box, .busta-info-box {
  margin: 2rem auto 0 auto;
  max-width: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(170,185,143,0.10);
  padding: 1.5rem 1.2rem;
  text-align: center;
  color: var(--text-color);
  font-size: 0.9rem;
  border-left: 4px solid var(--warm-honey);
}
.bank-info-box p {
  margin: 0.5rem 0;
  font-size: 0.85rem;
}

/* Flip Card Styles */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--cream-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
}

.flip-card-back .bank-info-box,
.flip-card-back .busta-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin: 0;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: var(--sage-green);
}

.paypal-info-box {
  text-align: center;
  font-size: 0.9rem;
}

.paypal-link {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.paypal-link:hover {
  background: var(--deep-burgundy);
  transform: translateY(-1px);
}
@media (max-width: 700px) {
  .payment-options {
    flex-direction: column;
    gap: 1.2rem;
  }
  .payment-option {
    min-width: 0;
    max-width: 100%;
  }
}

::-webkit-scrollbar-thumb {
    background: var(--pearl-color);
}

/* Add font-display: block to prevent FOUT */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDXbtM.woff2) format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url(https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDXbtM.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aXp-p7K4KLg.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aXp-p7K4KLg.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aXp-p7K4KLg.woff2) format('woff2');
}

/* Add a class to hide content until fonts are loaded */
.fonts-loaded {
    visibility: visible;
}

.fonts-loading {
    visibility: hidden;
} 