/* ===== VARIABLES CSS - PERSONALIZA AQUÍ LOS COLORES ===== */
:root {
    --primary-color: #c9a882;
    --secondary-color: #8b7355;
    --accent-color: #d4af7a;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --bg-light: #faf8f5;
    --bg-dark: #3d3d3d;

    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
}

/* ===== ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.hero-subtitle {
    font-family: var(--font-heading);
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 12vw, 9rem);
    font-weight: 500;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-date {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 2px;
    animation: fadeInUp 1.4s ease-out;
}

/* ===== ORNAMENTO DIVISOR ===== */
.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 300px;
}

.ornament-line {
    flex: 1;
    height: 2px;
    background: var(--primary-color);
}

.ornament-divider i {
    color: var(--primary-color);
    font-size: 1rem;
}

.ornament-light .ornament-line {
    background: var(--text-light);
}

.ornament-light i {
    color: var(--text-light);
}

/* ===== SECCIONES ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-light {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark-gradient {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: var(--text-light);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

/* ===== INVITACIÓN / MENSAJE BIENVENIDA ===== */
.invitation-section {
    background: var(--bg-light);
}

.invitation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.invitation-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.invitation-text {
    font-family: var(--font-elegant);
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-dark);
    margin: 2rem 0;
}

.invitation-highlight {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #b8325a;
    margin-top: 2rem;
}

/* ===== PADRES Y PADRINOS ===== */
.parents-section {
    background: var(--bg-light);
}

.family-card {
    text-align: center;
    padding: 2rem;
}

.family-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.family-name {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ===== APARTA LA FECHA / COUNTDOWN ===== */
.savedate-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(40, 40, 40, 0.9)),
        url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.savedate-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.date-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.date-day {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.date-month {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

.date-year {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--text-light);
}

.savedate-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--text-light);
    margin: 2rem 0 0.5rem;
}

.savedate-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== COUNTDOWN ===== */
.countdown-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ===== UBICACIÓN ===== */
.location-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    color: var(--text-dark);
    margin: 3rem 0 2rem;
}

.location-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.location-body {
    padding: 1.5rem;
}

.reception-time {
    font-size: 1.5rem;
    color: #b8325a;
    font-weight: 600;
    margin: 1rem 0;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

/* ===== DECORACIONES ===== */
.decoration {
    position: absolute;
    opacity: 0.1;
    font-size: 8rem;
    color: var(--primary-color);
    z-index: 0;
}

.decoration-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
}

.decoration-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
}

/* ===== MENSAJE INSPIRADOR ===== */
.inspirational-section {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.inspirational-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.inspirational-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.play-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.inspirational-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.inspirational-final-quote {
    font-size: clamp(1.3rem, 3.5vw, 2.2rem);
}

/* ===== ITINERARIO ===== */
.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    align-items: center;
}

.timeline-time {
    min-width: 120px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* ===== GALERÍA CAROUSEL ===== */
.carousel-image {
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: var(--primary-color);
}

/* ===== MESA DE REGALOS ===== */
.gifts-section {
    background: var(--bg-light);
}

.gift-card {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gift-card:hover {
    transform: translateY(-5px);
}

.gift-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.gift-title {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.gift-store {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gift-number {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.gift-description {
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    color: var(--text-dark);
    font-style: italic;
}

.btn-gift {
    background: #b8325a;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-gift:hover {
    background: #8b2543;
    color: white;
    transform: translateY(-2px);
}

/* ===== HASHTAG / REDES SOCIALES ===== */
.hashtag-section {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.hashtag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.hashtag-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hashtag-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hashtag-intro {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hashtag-tag {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--accent-color);
    font-weight: 700;
    margin: 1rem 0;
}

/* ===== FORMULARIO RSVP ===== */
.rsvp-form {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.rsvp-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.rsvp-subtitle {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.rsvp-text {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #666;
}

.rsvp-important {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.passes-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.passes-text {
    font-family: var(--font-elegant);
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.passes-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b8325a;
    margin: 0;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.radio-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-submit {
    background: #b8325a;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: #8b2543;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== VESTIMENTA ===== */
.dresscode-section {
    background: var(--bg-light);
}

.dresscode-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.dresscode-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.dresscode-icon {
    font-size: 5rem;
    color: var(--text-dark);
}

.dresscode-type {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dresscode-reserved {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #b8325a;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== AUDIO PLAYER ===== */
.audio-player {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.audio-player:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.audio-player i {
    color: white;
    font-size: 1.5rem;
}

/* ===== BOTONES ===== */
.btn-calendar {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-calendar:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .hero-section {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 100vh;
        height: auto;
    }

    .hero-content {
        padding: 3rem 1rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-time {
        text-align: left;
    }

    .timeline {
        max-width: 100%;
        padding: 1rem;
    }

    .countdown-item {
        min-width: 80px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .audio-player {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    .date-highlight {
        flex-direction: column;
        gap: 0.5rem;
    }

    .carousel-image {
        height: 300px;
    }

    .dresscode-icons {
        gap: 2rem;
    }

    .dresscode-icon {
        font-size: 3rem;
    }

    .gift-card {
        min-height: auto;
    }
}