/* -------------------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ------------------------------------------------------------- */
@font-face {
    font-family: 'BrittanySignature';
    src: url('BrittanySignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Color Palette */
    --color-cream-base: #FAF6F0;
    /* Base background cream */
    --color-cream-light: #FDFBF7;
    /* Clean cream for cards */
    --color-cream-dark: #E6DFD3;
    /* Deeper tone for borders & shadows */
    --color-olive-deep: #2A332B;
    /* Primary text & accents */
    --color-olive-light: #526253;
    /* Secondary accents / hover states */
    --color-olive-dark: #99b19b;
    /* Ultra dark olive (now light) */
    --color-gold: #C5A880;
    /* Metallic / premium accent */
    --color-gold-hover: #B3966E;
    /* Hover gold */
    --color-text-dark: #333333;
    --color-text-muted: #666666;

    /* Typography */
    --font-heading: 'BrittanySignature', cursive;
    --font-body: 'Cormorant Garamond', serif;
    --font-script: 'BrittanySignature', cursive;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* -------------------------------------------------------------
   BASE RESET & UTILITIES
   ------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-cream-base);
    color: var(--color-olive-deep);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

.script-font {
    font-family: var(--font-script);
    font-weight: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: var(--font-body);
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-width-600 {
    max-width: 600px;
}

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

.hidden {
    display: none !important;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 12px;
    color: var(--color-olive-deep);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-olive-light);
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-weight: 300;
}

/* Icons styling */
.section-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: block;
}

/* Leaf dividers */
.divider-leaf {
    color: var(--color-gold);
    margin: 15px 0 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.divider-leaf::before,
.divider-leaf::after {
    content: '';
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
}

.divider-leaf-small {
    color: var(--color-gold);
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
}

.divider-leaf-small::before,
.divider-leaf-small::after {
    content: '';
    width: 30px;
    height: 1px;
    background-color: var(--color-gold);
}

/* -------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-olive-deep);
    color: var(--color-cream-base);
    border: 1px solid var(--color-olive-deep);
}

.btn-primary:hover {
    background-color: var(--color-olive-light);
    border-color: var(--color-olive-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 74, 62, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-olive-deep);
    border: 1px solid var(--color-olive-deep);
}

.btn-secondary:hover {
    background-color: var(--color-olive-deep);
    color: var(--color-cream-base);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.icon-left {
    margin-right: 8px;
}

.icon-right {
    margin-left: 8px;
}

/* -------------------------------------------------------------
   MUSIC CONTROL BUTTON
   ------------------------------------------------------------- */
.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-olive-deep);
    color: var(--color-cream-base);
    box-shadow: 0 4px 15px rgba(61, 74, 62, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.music-btn:hover {
    transform: scale(1.1);
    background-color: var(--color-olive-light);
}

/* Music play dynamic visual waves */
.music-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 12px;
    position: absolute;
    bottom: 8px;
}

.music-wave span {
    width: 2px;
    height: 3px;
    background-color: var(--color-gold);
    animation: bounce 0.8s ease infinite alternate;
}

.music-wave span:nth-child(2) {
    animation-delay: 0.2s;
}

.music-wave span:nth-child(3) {
    animation-delay: 0.4s;
}

.music-btn.paused .music-wave span {
    animation: none;
    height: 2px;
}

@keyframes bounce {
    0% {
        height: 3px;
    }

    100% {
        height: 12px;
    }
}

/* -------------------------------------------------------------
   1. INTRO OVERLAY SYSTEM
   ------------------------------------------------------------- */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.2s;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

/* Transition class when fading out */
.intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.intro-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 74, 62, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 60px;
    transition: var(--transition-smooth);
    color: var(--color-cream-base);
    z-index: 2;
}

.intro-video-container.playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-icon-circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: var(--color-cream-base);
    color: var(--color-olive-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.video-play-overlay:hover .play-icon-circle {
    transform: scale(1.12);
    background-color: var(--color-gold);
    color: var(--color-cream-base);
}

.play-text {
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Main content wrapper states */
.main-content-hidden {
    opacity: 0;
    visibility: hidden;
    height: 100vh;
    overflow: hidden;
}

.main-content-visible {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: auto;
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Animations */
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* -------------------------------------------------------------
   2. HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero-video-bg video {
    display: block;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.hero-overlay-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(61, 74, 62, 0.45), rgba(61, 74, 62, 0.3) 70%, rgba(250, 246, 240, 1) 100%);
    z-index: -1;
}

.hero-container {
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
    color: var(--color-cream-light);
    animation: fadeIn 2s ease-in;
}

.hero-pretitle {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-title {
    font-size: 8rem;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-date {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-top: 15px;
    font-family: var(--font-heading);
}

/* Smooth scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-olive-deep);
    z-index: 3;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 500;
}

.scroll-arrow {
    animation: bounceUpDown 1.8s infinite alternate;
}

@keyframes bounceUpDown {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(8px);
    }
}

/* -------------------------------------------------------------
   3. DATE & COUNTDOWN SECTION
   ------------------------------------------------------------- */
.details-section {
    background-color: var(--color-cream-base);
}

.date-time-card {
    background-color: var(--color-cream-light);
    border: 1px solid var(--color-cream-dark);
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(61, 74, 62, 0.05);
}

.date-part h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.date-part .large-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-gold);
    margin: 10px 0;
}

.date-part .time-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Countdown Grid */
.countdown-wrapper {
    margin-top: 60px;
}

.countdown-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 3px;
    color: var(--color-olive-light);
    margin-bottom: 20px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: var(--color-cream-light);
    border: 1px solid var(--color-cream-dark);
    min-width: 90px;
    padding: 20px 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.countdown-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-olive-deep);
    line-height: 1;
    margin-bottom: 5px;
}

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

/* -------------------------------------------------------------
   4. LOCATION & DRESS CODE SECTION
   ------------------------------------------------------------- */
.dark-section {
    background-color: var(--color-olive-deep);
    /* Deeper olive shade for better contrast */
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(197, 168, 128, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-card {
    background-color: var(--color-cream-light);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(61, 74, 62, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(61, 74, 62, 0.08);
    color: var(--color-olive-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.card-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--color-olive-deep);
}

.card-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.address-name {
    color: var(--color-gold-hover);
    margin-bottom: 2px;
}

.address-city {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.card-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 320px;
}

.dress-type {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.dress-quote {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.dress-visuals {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-olive-light);
    font-size: 0.9rem;
}

.dress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dress-item i {
    font-size: 1.2rem;
}

.dress-separator {
    font-size: 1.2rem;
    color: var(--color-gold);
}

/* -------------------------------------------------------------
   5. ITINERARIO SECTION (SKETCH / DIBUJADO)
   ------------------------------------------------------------- */
.itinerario-section {
    background-color: var(--color-cream-base);
}

.itinerario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Card sketch design */
.sketch-card {
    position: relative;
    padding: 40px 30px;
    background-color: var(--color-cream-light);
    /* Irregular border to achieve handcrafted/sketch look */
    border: 2.5px dashed var(--color-olive-deep);
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    transition: var(--transition-smooth);
}

/* Double-outline rotated effect to feel like stacked draft paper */
.sketch-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -5px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(61, 74, 62, 0.2);
    border-radius: 15px 225px 15px 255px/255px 15px 225px 15px;
    z-index: -1;
    transform: rotate(-1.5deg);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.sketch-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.sketch-card:hover::before {
    transform: rotate(1deg) scale(1.01);
    border-color: var(--color-gold);
}

.sketch-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sketch-time {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.sketch-icon {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itinerario-img {
    width: 65px;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.sketch-card:hover .itinerario-img {
    transform: scale(1.1) rotate(-5deg);
}

.sketch-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--color-olive-deep);
}

.sketch-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* -------------------------------------------------------------
   6. REGALOS SECTION
   ------------------------------------------------------------- */
.regalos-section {
    background-color: var(--color-cream-light);
    border-top: 1px solid var(--color-cream-dark);
    border-bottom: 1px solid var(--color-cream-dark);
}

.regalos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.gift-card {
    background-color: var(--color-cream-base);
    border: 1px solid var(--color-cream-dark);
    border-radius: 12px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(61, 74, 62, 0.02);
}

.gift-card:hover {
    background-color: var(--color-cream-light);
    border-color: var(--color-gold);
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(61, 74, 62, 0.08);
}

.gift-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.gift-card:hover .gift-icon {
    transform: scale(1.15) rotate(5deg);
}

.gift-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-olive-deep);
    height: 55px;
    /* Ensures title sizing is uniform */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gold-hover);
    margin-bottom: 25px;
}

.gift-btn {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-olive-deep);
    font-weight: 600;
    border-bottom: 1px solid var(--color-olive-deep);
    padding-bottom: 3px;
    transition: var(--transition-fast);
}

.gift-card:hover .gift-btn {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

/* -------------------------------------------------------------
   GIFT MODAL SYSTEM
   ------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(61, 74, 62, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s var(--transition-smooth);
    opacity: 1;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background-color: var(--color-cream-light);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.hidden .modal-card {
    transform: translateY(30px);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(61, 74, 62, 0.05);
    color: var(--color-olive-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.close-modal-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-cream-base);
}

.modal-content {
    text-align: center;
}

.modal-gift-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.modal-gift-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--color-olive-deep);
}

.modal-gift-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.modal-gift-subtitle strong {
    color: var(--color-gold-hover);
    font-size: 1.1rem;
}

/* Bank info box */
.bank-details {
    background-color: var(--color-cream-base);
    border: 1px solid var(--color-cream-dark);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
    text-align: left;
}

.bank-details h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-cream-dark);
    padding-bottom: 8px;
    color: var(--color-olive-deep);
    text-align: center;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(61, 74, 62, 0.08);
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 500;
    color: var(--color-text-muted);
}

.bank-value {
    font-weight: 600;
    color: var(--color-olive-deep);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-actions .btn {
    width: 100%;
}

/* -------------------------------------------------------------
   7. CONFIRMATION FORM SECTION
   ------------------------------------------------------------- */
.confirmacion-section {
    background-color: var(--color-olive-dark);
    position: relative;
}

.confirmacion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(197, 168, 128, 0.05), transparent);
    pointer-events: none;
}

.form-card {
    background-color: var(--color-cream-light);
    border: 1px solid var(--color-cream-dark);
    border-radius: 16px;
    padding: 60px 50px;
    box-shadow: 0 15px 40px rgba(61, 74, 62, 0.05);
    position: relative;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-heart-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: inline-block;
    animation: pulseHeart 1.5s infinite alternate;
}

@keyframes pulseHeart {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.12);
    }
}

.form-title {
    font-size: 2.5rem;
    color: var(--color-olive-deep);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-olive-deep);
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--color-cream-dark);
    background-color: var(--color-cream-base);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-olive-deep);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--color-gold);
    background-color: var(--color-cream-light);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

/* Custom Dropdown Styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 45px;
}

.select-arrow-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-olive-deep);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.select-wrapper:hover .select-arrow-icon {
    color: var(--color-gold);
}

.btn-submit {
    background-color: var(--color-olive-deep);
    color: var(--color-cream-base);
    border: 1px solid var(--color-olive-deep);
    cursor: pointer;
    margin-top: 15px;
    font-weight: 600;
}

.btn-submit:hover {
    background-color: var(--color-olive-light);
    border-color: var(--color-olive-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 74, 62, 0.15);
}

/* Success Overlay in Form Card */
.rsvp-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-cream-light);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 1;
}

.rsvp-success.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
}

.success-icon-wrapper {
    font-size: 4rem;
    color: var(--color-olive-deep);
    margin-bottom: 20px;
    animation: scalePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scalePop {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.rsvp-success h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--color-olive-deep);
}

.rsvp-success p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.main-footer {
    background-color: var(--color-olive-dark);
    color: var(--color-cream-base);
    padding: 60px 0;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 1px;
}

.footer-note {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-top: 10px;
    font-weight: 300;
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   ------------------------------------------------------------- */

@media (max-width: 991px) {
    .section {
        padding: 80px 0;
    }

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

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

    .itinerario-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .regalos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .mobile-break {
        display: block;
    }

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

    .info-card {
        padding: 40px 24px;
    }

    .form-card {
        padding: 40px 24px;
    }

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

    .music-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

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

    .regalos-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .countdown-grid {
        gap: 12px;
    }

    .countdown-item {
        min-width: 75px;
        padding: 15px 5px;
    }

    .countdown-num {
        font-size: 1.8rem;
    }
}

/* Heart Divider for Date Section */
.heart-divider {
    display: flex;
    align-items: center;
    margin: 0.2rem auto;
    width: 80%;
    max-width: 450px;
}

.heart-divider hr {
    flex-grow: 1;
    border: none;
    border-top: 1px solid var(--color-olive-deep);
    margin: 0;
}

.heart-divider i {
    color: var(--color-olive-deep);
    font-size: 1rem;
    margin-left: 10px;
}

/* --- TIMELINE SECTION --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.timeline-center-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--color-cream-base);
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.timeline-item.left {
    align-items: flex-end;
    left: 0;
    padding-right: 0px;
}

.timeline-item.right {
    align-items: flex-start;
    left: 50%;
    padding-left: 0px;
}

.timeline-text {
    text-align: center;
    padding: 0 20px 5px 20px;
}

.timeline-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-cream-base);
}

.timeline-time {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-cream-base);
}

.timeline-h-line {
    height: 1px;
    background-color: var(--color-cream-base);
    width: 150px;
}

.timeline-icon {
    padding: 20px 40px;
}

.timeline-icon svg,
.timeline-icon i {
    font-size: 70px;
    color: var(--color-cream-base);
}

@media (max-width: 768px) {
    .timeline-center-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        align-items: flex-start !important;
    }

    .timeline-item.left {
        align-items: flex-start;
    }

    .timeline-item .timeline-h-line {
        margin-left: 20px;
    }

    .timeline-text {
        padding-left: 40px;
        text-align: left;
    }

    .timeline-icon {
        padding-left: 40px;
    }
}