/*
* David & Rebecca Wedding Anniversary Website
* Main Stylesheet
*/

/* ---------- General Styles ---------- */
:root {
    --primary-color: #ffc2eb;
    --primary-color-dark: #ffaad9;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --light-color: #fff;
    --dark-color: #222;
    --border-color: #e9e9e9;
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    border-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

.btn {
    border-radius: 15px !important;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(255, 194, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.divider {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider i {
    color: var(--primary-color);
    padding: 0 1rem;
    position: relative;
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---------- Header & Navigation ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    border-top: 0; /* Eliminar posible borde superior */
    margin-top: 0; /* Eliminar posible margen superior */
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-scrolled .navbar-brand,
.header-scrolled .nav-link {
    color: var(--dark-color);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--light-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

/* Añadimos color blanco explícito para asegurar que el menú se vea blanco sobre la imagen */
header:not(.header-scrolled) .navbar-brand {
    color: white !important;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-color);
    margin: 0 1rem;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

/* Añadimos color blanco explícito para asegurar que los enlaces del menú se vean blancos sobre la imagen */
header:not(.header-scrolled) .nav-link {
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

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

/* Estilo adicional para el enlace activo */
.nav-link.active {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: background-image 0.3s ease;
}

header:not(.header-scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.header-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero Section ---------- */
.hero-section {
    height: 100vh;
    background: url('../assets/gallery/davidyrebecca.webp') no-repeat center center/cover;
    position: relative;
    will-change: transform; /* Optimization for smoother scrolling */
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: inline-block;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.floral-circle {
    width: 350px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
}

.floral-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.couple-names {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--light-color);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.anniversary-date {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--light-color);
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ---------- Intro Section ---------- */
.intro-section {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.intro-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

.countdown-container h3 {
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-block span:first-child {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.time-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

/* ---------- Gallery Section ---------- */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

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

.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

/* ---------- Gift Registry Section ---------- */
.gift-section {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.gift-intro {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.gift-modal-btn {
    margin-top: 1.5rem;
    padding: 12px 30px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(255, 194, 235, 0.3);
}

.gift-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.gift-item {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
}

.gift-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gift-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.gift-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.gift-item p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ---------- Contact/RSVP Section ---------- */
.contact-section {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.contact-form {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
}

/* ---------- Modal Customization ---------- */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--dark-color);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.2rem;
}

.payment-option-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-top: 1rem;
    color: var(--dark-color);
}

.paypal-button-container {
    text-align: center;
    margin-bottom: 1rem;
}

.paypal-button-container input[type="image"] {
    max-width: 250px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Estilos para el modal personalizado */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    overflow-y: auto;
}

.custom-modal-content {
    position: relative;
    background-color: #fff;
    margin: 4% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    animation: modalFadeIn 0.4s ease;
    overflow: hidden;
}

.custom-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fdf7fa;
}

.custom-modal-title {
    margin: 0;
    font-weight: 600;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #333;
}

.custom-modal-close {
    font-size: 28px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-modal-close:hover {
    color: #333;
    transform: scale(1.1);
}

.custom-modal-body {
    padding: 30px 25px;
}

.gift-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #444;
    font-family: var(--font-serif);
}

.gift-payment h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.gift-payment p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

.payment-steps {
    background-color: #fdf7fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.payment-steps h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.payment-steps ol {
    padding-left: 20px;
    margin-bottom: 0;
}

.payment-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.payment-option-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.payment-option-title:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.stripe-button-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 20px 0;
}

.paypal-button-container,
.zelle-button-container {
    text-align: center;
    margin: 20px 0;
}

/* Estilos comunes para todos los botones de pago */
.btn-payment {
    padding: 12px 30px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 15px;
    color: white !important;
    text-decoration: none;
    width: auto;
    font-size: 18px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.payment-logo {
    height: 30px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-payment:hover .payment-logo {
    transform: scale(1.05);
}

/* Botón de Stripe */
.stripe-custom-btn {
    background-color: #635BFF;
    border-color: #635BFF;
}

.stripe-custom-btn:hover {
    background-color: #4b44e0;
    border-color: #4b44e0;
}

/* Botón de PayPal */
.paypal-custom-btn {
    background-color: #0070BA;
    border-color: #0070BA;
}

.paypal-custom-btn:hover {
    background-color: #005ea6;
    border-color: #005ea6;
}

/* Botón de Cash App */
.cashapp-custom-btn {
    background-color: #00D632;
    border-color: #00D632;
}

.cashapp-custom-btn:hover {
    background-color: #00b82b;
    border-color: #00b82b;
}

/* Botón de Zelle */
.zelle-btn {
    background-color: #6c31e3;
    border-color: #6c31e3;
    box-shadow: 0 4px 10px rgba(108, 49, 227, 0.3);
}

.zelle-btn:hover {
    background-color: #5a29c0;
    border-color: #5a29c0;
    box-shadow: 0 6px 15px rgba(108, 49, 227, 0.4);
}

/* Contenedor de opciones de pago */
.payment-options-container {
    margin-bottom: 30px;
}

.payment-options-list {
    margin-top: 20px;
}

.payment-option-item {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.payment-option-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.option-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.option-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.payment-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

#zelleInfo {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

#zelleInfo.show {
    opacity: 1;
    transform: translateY(0);
}

#zelleInfo .alert-info {
    background-color: #f0ebff;
    border-color: #d9c8ff;
    color: #5a29c0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(108, 49, 227, 0.1);
}

/* Estilos para la sección de Zelle */
.zelle-container {
    font-family: var(--font-sans);
    background-color: #f0ebff;
    margin: 0;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(108, 49, 227, 0.2);
}

.amounts {
    text-align: center;
}

.amounts h2 {
    color: #6c31e3;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.amount-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.amount-button {
    background-color: #AB00FF; /* Color del logo de Zelle */
    color: #fff;
    font-size: 18px;
    border: none;
    padding: 12px 25px;
    border-radius: 15px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1 1 100px;
    max-width: 150px;
    box-shadow: 0 4px 10px rgba(171, 0, 255, 0.3);
}

.amount-button:hover {
    background-color: #8A00CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(171, 0, 255, 0.4);
}

.custom-amount {
    margin-bottom: 20px;
}

.custom-amount label {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.custom-amount input[type="text"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 15px;
}

#regalar-button {
    background-color: #AB00FF;
    color: #fff;
    font-size: 18px;
    border: none;
    padding: 12px 30px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(171, 0, 255, 0.3);
}

#regalar-button:hover {
    background-color: #8A00CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(171, 0, 255, 0.4);
}

.custom-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e9ecef;
    text-align: right;
    background-color: #fdf7fa;
}

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

/* ---------- Footer ---------- */
footer {
    padding: 3rem 0;
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.designer-credit {
    font-size: 0.85rem;
    opacity: 0.7;
}

.designer-credit a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.designer-credit a:hover {
    color: var(--primary-color);
}

/* ---------- Media Queries ---------- */
@media (max-width: 991.98px) {
    /* Fondo para el header cuando el menú está abierto */
    header {
        transition: background-color 0.4s ease, box-shadow 0.4s ease;
    }

    header:has(.navbar-collapse.show),
    header:has(.navbar-collapse.collapsing) {
        background-color: white !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    /* Cambiar todo a oscuro cuando menú está abierto o abriéndose */
    header:has(.navbar-collapse.show) *,
    header:has(.navbar-collapse.collapsing) * {
        color: var(--dark-color) !important;
        transition: color 0.3s ease;
    }

    header .navbar-brand img {
        transition: filter 0.3s ease;
    }

    header:has(.navbar-collapse.show) .navbar-brand img,
    header:has(.navbar-collapse.collapsing) .navbar-brand img {
        filter: brightness(0) !important;
    }

    /* Cambiar icono hamburguesa a oscuro cuando menú abierto */
    .navbar-toggler-icon {
        transition: background-image 0.3s ease;
    }

    header:has(.navbar-collapse.show) .navbar-toggler-icon,
    header:has(.navbar-collapse.collapsing) .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-collapse {
        background-color: transparent;
        padding: 1.5rem;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centrar verticalmente */
        align-items: center; /* Centrar horizontalmente */
        text-align: center; /* Centrar texto */
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Centrar la lista de navegación */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    /* Estilo para los elementos del menú con animación */
    .navbar-collapse .nav-item {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .navbar-collapse.collapsing {
        opacity: 0;
        transform: translateY(-20px);
    }

    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse .nav-link {
        margin: 1.2rem 0; /* Aumentar espacio vertical entre elementos */
        color: var(--dark-color) !important;
        text-shadow: none;
        font-weight: 500;
        font-size: calc(1rem + 6px); /* Aumentar tamaño de texto */
        transition: all 0.3s ease;
        display: inline-block; /* Para mejor centrado */
        text-align: center;
        width: auto;
        padding: 0.5rem 2rem; /* Añadir padding horizontal */
    }

    .navbar-collapse .nav-link:hover {
        color: var(--primary-color) !important;
        transform: scale(1.05); /* Efecto de escala al pasar el mouse */
    }

    /* Estilo para el enlace activo en el menú móvil */
    .navbar-collapse .nav-link.active {
        color: var(--primary-color) !important;
        font-weight: 600;
        position: relative;
    }

    /* Añadir un indicador visual para el enlace activo */
    .navbar-collapse .nav-link.active::before {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }

    /* Estilo y animación del botón hamburguesa */
    .navbar-toggler {
        margin-left: auto;
        position: relative;
        z-index: 2000;
        width: 30px;
        height: 24px;
        padding: 0;
        outline: none !important;
    }

    /* Crear líneas para el botón hamburguesa */
    .navbar-toggler .hamburger-icon {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
    }

    .navbar-toggler .hamburger-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 1px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    /* Posición de las líneas */
    .navbar-toggler .hamburger-icon span:nth-child(1) {
        top: 0px;
    }
    .navbar-toggler .hamburger-icon span:nth-child(2),
    .navbar-toggler .hamburger-icon span:nth-child(3) {
        top: 10px;
    }
    .navbar-toggler .hamburger-icon span:nth-child(4) {
        top: 20px;
    }

    /* Animación a X cuando está activo */
    header:has(.navbar-collapse.show) .navbar-toggler .hamburger-icon span,
    header:has(.navbar-collapse.collapsing) .navbar-toggler .hamburger-icon span {
        background-color: var(--dark-color);
    }

    header:has(.navbar-collapse.show) .navbar-toggler .hamburger-icon span:nth-child(1),
    header:has(.navbar-collapse.collapsing) .navbar-toggler .hamburger-icon span:nth-child(1) {
        top: 10px;
        width: 0%;
        left: 50%;
    }

    header:has(.navbar-collapse.show) .navbar-toggler .hamburger-icon span:nth-child(2),
    header:has(.navbar-collapse.collapsing) .navbar-toggler .hamburger-icon span:nth-child(2) {
        transform: rotate(45deg);
    }

    header:has(.navbar-collapse.show) .navbar-toggler .hamburger-icon span:nth-child(3),
    header:has(.navbar-collapse.collapsing) .navbar-toggler .hamburger-icon span:nth-child(3) {
        transform: rotate(-45deg);
    }

    header:has(.navbar-collapse.show) .navbar-toggler .hamburger-icon span:nth-child(4),
    header:has(.navbar-collapse.collapsing) .navbar-toggler .hamburger-icon span:nth-child(4) {
        top: 10px;
        width: 0%;
        left: 50%;
    }

    /* Cambiar color en modo scrolled */
    .header-scrolled .navbar-toggler .hamburger-icon span {
        background-color: var(--dark-color);
    }

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

    .floral-circle {
        width: 250px;
        height: 250px;
    }

    .couple-names {
        font-size: 2.5rem;
    }

    .anniversary-date {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    /* Mejoras para tablets y dispositivos medianos */
    .logo-container {
        transform: scale(1.15);
        margin-bottom: 2.5rem;
    }

    .floral-circle {
        width: 300px;
        height: 300px;
    }

    .anniversary-date {
        font-size: 1.4rem;
        font-weight: 500;
    }

    .countdown {
        gap: 1rem;
    }

    .time-block {
        min-width: 60px;
    }

    .time-block span:first-child {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .gift-item {
        max-width: 100%;
    }

    .gallery-item img {
        height: 250px;
    }
}

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

    /* Aumentar tamaño del logo-container y sus elementos en móviles */
    .logo-container {
        transform: scale(1.3);
        margin-bottom: 3rem;
    }

    .floral-circle {
        width: 280px;
        height: 280px;
    }

    .floral-logo {
        max-width: 100%;
    }

    .anniversary-date {
        font-size: 1.5rem;
        bottom: calc(25% - 10px);
        font-weight: bold;
    }

    .couple-names {
        font-size: 2.2rem;
    }

    .intro-text, .gift-intro {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .scroll-down {
        top: 420px;
    }

    .time-block {
        min-width: 50px;
    }

    .time-block span:first-child {
        font-size: 1.8rem;
    }

    .time-label {
        font-size: 0.7rem;
    }

    .navbar-brand {
        font-size: 1.8rem;
    }
}

/* Para dispositivos muy pequeños */
@media (max-width: 360px) {
    .logo-container {
        transform: scale(1.2);
    }

    .floral-circle {
        width: 250px;
        height: 250px;
    }

    .anniversary-date {
        font-size: 1.4rem;
    }

    .scroll-down {
        top: 380px;
    }
}
