. portada{
	 background-image: url('images/Capturasintítulo0453.jpg');
    background-size: cover;
}

.poema {
	font-family: var(--font-fancy);
    font-size: 1.5rem;
    color: var(--secondary-color);    
}

.cita {
	font-family: var(--font-fancy);
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 50;	
	left: 50;
}

.text-regalos {
	font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 50;	
	left: 50;
}

.nota-pie {
	font-family: var(--font-fancy);
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 50;	
	left: 50;
}

/* Reset and Base Styles */
:root {
    --primary-color: #d4a9a9;
    --secondary-color: #8d6e63;
    --accent-color: #b88e8d;
    --text-color: #3a3a3a;
    --light-color: #f9f3f3;
    --dark-color: #2d2d2d;
    --font-fancy: 'Great Vibes', cursive;
    --font-elegant: 'Parisienne', cursive;
    --font-display: 'Tangerine', cursive;
    --font-body: 'Quicksand', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-elegant);
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Decorative Elements */
.flower-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    /* background-image: url('../images/flower-decoration.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.top-left {
    top: 0;
    left: 0;
    transform: rotate(180deg);
}

.top-right {
    top: 0;
    right: 0;
}

.bottom-left {
    bottom: 0;
    left: 0;
}

.bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-family: var(--font-fancy);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 0;
}

.logo span {
    color: var(--accent-color);
    font-family: var(--font-elegant);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

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

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/bg-main.jpg'); */
	background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/Capturasintítulo0453.jpg');
	
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeIn 2s ease;
}

.save-date {
    font-family: var(--font-body);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.names {
    font-family: var(--font-display);
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.names span {
    font-family: var(--font-elegant);
    font-size: 4rem;
    color: var(--primary-color);
}

.date {
    font-family: var(--font-elegant);
    font-size: 2rem;
    margin-bottom: 2rem;
}


.dateFooter {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.countdown div {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.countdown span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.countdown p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: var(--transition);
}

.icon {
    width: 25px;
    height: 25px;
    object-fit: cover;
}

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

/* Event Section */
.event {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.date-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 2rem;
    animation: fadeIn 1.5s ease;
}

.date-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.date-info {
    text-align: left;
}

.date-info h3 {
    font-family: var(--font-elegant);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-color);
    border: 3px solid var(--accent-color);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) .timeline-content {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) .timeline-content {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) .timeline-content {
    animation-delay: 0.6s;
}

.timeline-content h3 {
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.time {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* RSVP Section */
.rsvp {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.rsvp-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 142, 141, 0.2);
}

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

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input[type="radio"] + label {
    display: inline-flex;
    align-items: center;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Location Section */
.location {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.location-details {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.location-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease;
}

.info-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-family: var(--font-elegant);
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e9e9e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

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

.footer-title {
    font-family: var(--font-fancy);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.social-icons {
    margin-top: 2rem;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    line-height: 50px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .names {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .timeline-content {
        width: 42%;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .names {
        font-size: 3.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown div {
        min-width: 70px;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: row-reverse !important;
        justify-content: flex-start;
    }
    
    .timeline-icon {
        left: 40px;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
        margin-left: 90px;
    }
}

@media screen and (max-width: 576px) {
    .names {
        font-size: 3rem;
    }
    
    .date {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .date-display {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .radio-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .radio-group input[type="radio"] {
        margin: 0;
    }
    
    .gallery-img {
        height: auto;
        max-height: 360px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

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

    .hero-content {
        padding: 1rem;
    }

    .countdown div {
        min-width: 60px;
        padding: 0.5rem;
    }

    .map-container iframe {
        width: 100% !important;
        height: 300px !important;
    }
}

/* --- Ajustes de Responsividad Mejorados --- */

/* Disposición vertical de la línea de tiempo en móviles */
@media screen and (max-width: 768px) {
    .timeline {
        padding-left: 0;
    }

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

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 0;
    }

    .timeline-icon {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 1rem;
    }

    .timeline-content {
        width: 100%;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    .timeline-item .gallery-item {
        width: 100%;
        margin: 0 auto 2rem;
    }

    .timeline-item img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .date-info h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .date-info p {
        text-align: center;
    }
}

/* --- Mejoras para imágenes y galería en pantallas pequeñas --- */
@media screen and (max-width: 576px) {
    .gallery-img {
        height: auto;
        max-height: 360px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

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

    .hero-content {
        padding: 1rem;
    }

    .countdown div {
        min-width: 60px;
        padding: 0.5rem;
    }

    .map-container iframe {
        width: 100% !important;
        height: 300px !important;
    }
}

/* --- Centrado y ajustes del texto en secciones --- */
@media screen and (max-width: 480px) {
    .text-regalos,
    .poema,
    .nota-pie {
        font-size: 1.1rem;
        text-align: center;
        margin: 20px auto;
        padding: 0 10px;
    }
}




/* Music Control Button */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

    .music-control:hover {
        transform: scale(1.1);
        background-color: var(--secondary-color);
    }

    .music-control i {
        color: white;
        font-size: 1.5rem;
    }

    /* Animation for the music control button */
    .music-control.playing {
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 142, 141, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(184, 142, 141, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 142, 141, 0);
    }
}

/* Responsive adjustments for music control */
@media screen and (max-width: 576px) {
    .music-control {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

        .music-control i {
            font-size: 1.2rem;
        }
}


.verde_olivo {    
	color: #828C6A;
}
.palo_rosa {    
	color: #EFC0BC;
}
.blanco {    
	color: #FFFFFF;
}
.ivory {    
	color: #FFFFE3;
}
.beige {    
	color: #F5F5DC;
}

/* <li><i class="fa-solid fa-palette verde_olivo"></i> Verde olivo</li> */
/* <li><i class="fa-solid fa-palette palo_rosa"></i> Palo rosa</li> */
/* <li><i class="fa-solid fa-palette blanco"></i> Blanco</li> */
/* <li><i class="fa-solid fa-palette ivory"></i> Ivory</li> */
/* <li><i class="fa-solid fa-palette beige"></i> Beige</li> */

/* Dress Code Color List Styles */
#dressCode .text-regalos ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

#dressCode .text-regalos ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#dressCode .text-regalos ul li i {
    flex-shrink: 0;
    min-width: 40px;
}

/* Mobile adjustments for dress code section */
@media screen and (max-width: 768px) {
    #dressCode .text-regalos ul li {
        font-size: 1.1rem;
        gap: 0.75rem;
    }
    
    #dressCode .text-regalos ul li i {
        min-width: 35px;
    }
}

@media screen and (max-width: 576px) {
    #dressCode .text-regalos ul li {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    #dressCode .text-regalos ul li i {
        min-width: 30px;
    }
}

/* <li><i class="fa-solid fa-palette verde_olivo"></i> Verde olivo</li> */
/* <li><i class="fa-solid fa-palette palo_rosa"></i> Palo rosa</li> */
/* <li><i class="fa-solid fa-palette blanco"></i> Blanco</li> */
/* <li><i class="fa-solid fa-palette ivory"></i> Ivory</li> */
/* <li><i class="fa-solid fa-palette beige"></i> Beige</li> */

/* Attendees List Styles */
.attendees-list {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--accent-color, #d4af37);
}

.attendees-header {
    color: var(--accent-color, #d4af37);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.attendees-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attendee-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    animation: slideInLeft 0.4s ease forwards;
}

.attendee-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.attendee-item i {
    color: var(--accent-color, #d4af37);
    font-size: 1rem;
}

    .attendee-item span {
        /*color: #fff;*/
        color: var(--accent-color, #d4af37);
        font-size: 1rem;
        font-family: 'Quicksand', sans-serif;
    }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Text change animations */
@keyframes textFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-change-animation {
    animation: textFadeOut 0.3s ease-out forwards;
}

.text-change-animation-in {
    animation: textFadeIn 0.3s ease-in forwards;
}

/* Smooth transition for text elements */
#lblMensajeAsistentes,
#btnEnviarConfirmacion {
    transition: all 0.3s ease;
}