/* ========================================
   Wedding Website - Lidia & Alejandro
   Professional Design
   ======================================== */

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

:root {
    --olive: #A8B5A0;
    --olive-dark: #97A690;
    --olive-light: #B9C4B2;
    --cream: #FAF7F2;
    --cream-dark: #F0EBE3;
    --text-dark: #3D3D3D;
    --text-light: #6B6B6B;
    --gold: #C9A961;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

html, body {
    max-width: 100vw;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Paper texture effect */
.story,
.countdown-section,
.timeline-section,
.gallery-section {
    position: relative;
}

.story::before,
.countdown-section::before,
.timeline-section::before,
.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.story > *,
.countdown-section > *,
.timeline-section > *,
.gallery-section > * {
    position: relative;
    z-index: 1;
}

/* ========================================
   HERO - ENVELOPE SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--cream) url('media/inicio.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        background-size: contain;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 242, 0.3);
    z-index: 1;
    pointer-events: none;
}

.envelope-wrapper {
    display: none;
}

.envelope-names {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    white-space: nowrap;
}

.envelope-names .name {
    display: inline;
    font-family: 'Great Vibes', cursive;
    font-size: 7rem;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
}

.envelope-names .amp {
    display: inline;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 4rem;
    color: var(--white);
    margin: 0 15px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
}

.hero-date {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--white);
    z-index: 2;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.8;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-hint svg {
    width: 24px;
    height: 24px;
    margin-top: 8px;
}

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

/* ========================================
   STORY SECTION
   ======================================== */
.story {
    padding: 40px 20px;
    text-align: center;
    background: var(--cream);
}

.story-photo {
    width: 280px;
    max-width: 80%;
    margin: 0 auto 15px;
    border: 8px solid var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.story-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.story-date {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--olive);
    margin-bottom: 25px;
}

.story-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 20px;
    font-style: italic;
    line-height: 1.7;
}

.story-invite {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--olive);
    margin-bottom: 25px;
}

/* Audio Player */
.audio-player {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--olive);
    border-radius: 30px;
    margin-bottom: 25px;
    position: relative;
    z-index: 5;
}

.audio-button {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.audio-button:hover {
    transform: scale(1.1);
}

.audio-icon {
    width: 20px;
    height: 20px;
    fill: var(--olive);
}

.audio-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.audio-title {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
}

.audio-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
}

.audio-wave span {
    width: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    height: 5px;
}

.audio-player.playing .audio-wave span {
    animation: wave 0.5s ease-in-out infinite;
    background: var(--white);
}

.audio-wave span:nth-child(1) { animation-delay: 0s; }
.audio-wave span:nth-child(2) { animation-delay: 0.1s; }
.audio-wave span:nth-child(3) { animation-delay: 0.2s; }
.audio-wave span:nth-child(4) { animation-delay: 0.3s; }
.audio-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { height: 5px; }
    50% { height: 15px; }
}

/* ========================================
   COUNTDOWN SECTION
   ======================================== */
.countdown-section {
    padding: 40px 20px;
    background: var(--cream);
    text-align: center;
}

.countdown-header {
    margin-bottom: 20px;
}

.countdown-label-top {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--olive);
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}

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

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--olive);
    font-weight: 300;
    margin-top: -15px;
}

/* Calendar */
.calendar {
    max-width: 320px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
}

.calendar-title {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--olive);
    margin-bottom: 5px;
}

.calendar-month {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--text-dark);
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-name {
    font-size: 0.6rem;
    color: var(--text-light);
    text-align: center;
    padding: 5px 0;
    font-weight: 600;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-dark);
    border-radius: 50%;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.highlight {
    background: var(--olive);
    color: var(--white);
    font-weight: 600;
}

/* ========================================
   PHOTO BREAKS
   ======================================== */
.photo-break {
    padding: 40px 20px;
    background: var(--cream);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.photo-break::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.photo-break img {
    width: 280px;
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .photo-break img {
        width: 450px;
    }
}

@media (min-width: 1024px) {
    .photo-break img {
        width: 550px;
    }
}

/* ========================================
   EVENT SECTION (Ceremony & Reception)
   ======================================== */
.olive-bg {
    background: var(--olive);
    color: var(--white);
    position: relative;
}

.olive-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.olive-bg > * {
    position: relative;
    z-index: 1;
}

.event-section {
    padding: 40px 20px;
    text-align: center;
    background: var(--cream);
    position: relative;
}

.event-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.event-section > * {
    position: relative;
    z-index: 1;
}

.event-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 350px;
    margin: 0 auto;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.event-illustration {
    width: 100%;
    margin: 0 auto 15px;
    overflow: hidden;
}

.event-illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transform: scale(1.5);
}

.event-card:nth-child(2) .event-illustration img {
    transform: scale(2);
}

.event-card-title {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--olive);
    margin-bottom: 8px;
}

.event-time {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-venue {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.event-address {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.event-button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--olive);
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.event-button:hover {
    background: var(--olive-dark);
}

/* ========================================
   TIMELINE SECTION
   ======================================== */
.timeline-section {
    padding: 25px 20px;
    background: var(--cream);
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--olive);
    margin-bottom: 25px;
}

.section-title.light {
    color: var(--white);
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 320px;
}

.timeline-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 150px;
}

.timeline-illustration {
    width: 150px;
    height: 150px;
}

.timeline-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-time {
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-top: 2px;
}

.timeline-event {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ========================================
   DRESS CODE SECTION
   ======================================== */
.dresscode-section {
    padding: 60px 20px;
    text-align: center;
}

.dresscode-type {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dresscode-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.dresscode-icons img {
    width: 120px;
    height: auto;
    opacity: 0.9;
}

.dresscode-note {
    font-size: 0.85rem;
    opacity: 0.9;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   BUS SECTION
   ======================================== */
.bus-section {
    padding: 40px 20px;
    text-align: center;
    background: var(--cream);
    position: relative;
}

.bus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bus-section > * {
    position: relative;
    z-index: 1;
}

.bus-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
}

.bus-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 350px;
    margin: 0 auto 25px;
}

.bus-option {
    background: var(--white);
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.bus-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
}

.bus-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--olive);
}

.bus-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.bus-route {
    font-size: 0.9rem;
    color: var(--olive);
    margin-bottom: 5px;
    font-weight: 500;
}

.bus-time {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.bus-button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--olive);
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.bus-button:hover {
    background: var(--olive-dark);
}

.bus-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   ACCOMMODATION SECTION
   ======================================== */
.accommodation-section {
    padding: 40px 20px;
    text-align: center;
}

.accommodation-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hotel-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 350px;
    margin: 0 auto;
}

.hotel-item {
    background: rgba(255,255,255,0.85);
    border-radius: 10px;
    padding: 20px;
    color: var(--olive);
}

.hotel-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.hotel-address {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.hotel-link {
    display: inline-block;
    padding: 6px 15px;
    border: 1px solid var(--olive);
    color: var(--olive);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.hotel-link:hover {
    background: var(--olive);
    color: var(--white);
}

/* ========================================
   GIFT SECTION
   ======================================== */
.gift-section {
    padding: 40px 20px;
    text-align: center;
    background: var(--olive);
    color: var(--white);
    position: relative;
}

.gift-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.gift-section > * {
    position: relative;
    z-index: 1;
}

.gift-section .section-title {
    color: var(--white);
}

.gift-text {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    max-width: 350px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.gift-iban-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.gift-iban {
    background: var(--white);
    color: var(--olive) !important;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    font-family: monospace;
    text-decoration: none !important;
    pointer-events: none;
    -webkit-text-decoration: none !important;
}

/* ========================================
   CONFIRMATION SECTION
   ======================================== */
.confirm-section {
    padding: 40px 20px;
    text-align: center;
}

.confirm-text {
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.7;
    opacity: 0.95;
}

.confirm-button {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.confirm-button:hover {
    background: var(--white);
    color: var(--olive);
    transform: scale(1.05);
}

.recommendations {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 30px 25px;
    max-width: 350px;
    margin: 0 auto 40px;
    text-align: left;
}

.rec-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.rec-text {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.rec-text:last-child {
    margin-bottom: 0;
}

.confirm-thanks {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.confirm-signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
}

/* RSVP Modal */
.rsvp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.rsvp-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.rsvp-modal-content {
    background: var(--cream);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 500px;
    width: 100%;
    position: relative;
    margin: 20px 0;
}

.rsvp-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.rsvp-modal-close:hover {
    color: var(--text-dark);
}

.rsvp-modal-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--olive);
    text-align: center;
    margin-bottom: 25px;
}

/* RSVP Form */
.rsvp-form {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

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

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--cream-dark);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(93, 107, 78, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235D6B4E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-color: var(--white);
}

.form-group select option {
    background: var(--white);
    color: var(--text-dark);
}

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

/* Attendees Container */
.attendees-container {
    margin-bottom: 10px;
}

.attendee-group {
    background: var(--cream-dark);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.attendee-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--olive);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attendee-title svg {
    width: 18px;
    height: 18px;
    fill: var(--olive);
}

.attendee-group .form-group {
    margin-bottom: 12px;
}

.attendee-group .form-group:last-child {
    margin-bottom: 0;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 14px 30px;
    background: var(--olive);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background: var(--olive-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.submit-button:active {
    transform: translateY(0);
}

/* ========================================
   PHOTO CAROUSEL SECTION
   ======================================== */
.carousel-section {
    padding: 40px 0;
    text-align: center;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.carousel-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
    border: none;
    border-top: 4px solid var(--white);
    border-bottom: 4px solid var(--white);
}

.carousel-caption {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.9;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--olive);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

@media (min-width: 768px) {
    .carousel-wrapper {
        max-width: 700px;
        padding: 0 60px;
    }

    .carousel-container {
        padding: 20px;
    }

    .carousel-track {
        height: 500px;
    }

    .carousel-slide img {
        height: 500px;
        border-radius: 12px;
        border: 4px solid var(--white);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
    padding: 40px 20px;
    background: var(--cream);
}

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

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px 20px;
    text-align: center;
}

.footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.footer-date {
    font-size: 0.9rem;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--cream);
    padding: 40px 30px;
    border-radius: 15px;
    max-width: 350px;
    width: 100%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.modal-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--olive);
    margin-bottom: 20px;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-subtext {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 480px) {
    .envelope-names .name {
        font-size: 3rem;
    }

    .envelope-names .amp {
        font-size: 2rem;
        margin: 0 8px;
    }

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

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

    .event-card-title {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .envelope-wrapper {
        max-width: 700px;
    }

    .envelope-names .name {
        font-size: 5rem;
    }

    .envelope-names .amp {
        font-size: 3rem;
        margin: 0 20px;
    }

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

    .timeline-illustration {
        width: 110px;
        height: 110px;
    }

    .gallery-grid {
        max-width: 500px;
    }
}
