/* Importar fuentes (si usas Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Imperial+Script&family=Raleway:wght@400;700&display=swap');

body {
    font-family: 'Raleway', sans-serif; /* Fuente principal para texto */
    color: #555; /* Color de texto principal */
}


/* --- Títulos y Fuentes Especiales --- */
.main-title {
    font-family: 'Great Vibes', cursive; /* Fuente elegante para el título principal */
    font-size: 4.5rem; /* Ajusta según necesites */
    color: #fff; /* Asegura contraste con el fondo */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra para legibilidad */
}

.section-title {
    font-family: 'Great Vibes', cursive; /* Fuente elegante para títulos de sección */
    font-size: 2.8rem;
    color: #8B4513; /* Un color tierra o dorado suave */
    margin-bottom: 1.5rem;
    position: relative; /* Para pseudo-elementos florales */
    display: inline-block; /* Para que los before/after se posicionen bien */
    padding: 0 15px;
}

h1, h2, .display-classic {
    font-family: 'Imperial Script', cursive;
}

.text-xl {
    font-size: xxx-large;
}

.text-l {
    font-size: xx-large;
}

.bg-img {
    background-size: cover;
    background-position: center;
    z-index: 1;
    position: relative;
}

.bg-img.fixed {
    background-attachment: fixed;
}

.bg-img::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .3);
}

/* Opcional: Añadir líneas o adornos florales a los títulos */
.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px; /* Ancho del adorno */
    height: 2px; /* Grosor de la línea */
    background-color: #bfa880; /* Color dorado/tierra claro */
}

.section-title::before {
    left: -60px; /* Posición a la izquierda */
}

.section-title::after {
    right: -60px; /* Posición a la derecha */
}


/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: url('/images/V&S_bg.jpeg') no-repeat center center;
    background-size: cover; /* Para que cubra toda la sección */
    position: relative; /* Para el overlay */
}

/* Overlay oscuro opcional para mejorar legibilidad del texto blanco */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Ajusta la opacidad */
    z-index: 1; /* Detrás del contenido */
}

.brand {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: -40px;
    transform: translate(-50%, 0%);
    z-index: 2;
    padding: 8px;
}

.hero-section .container {
    position: relative; /* Para que el contenido esté sobre el overlay */
    z-index: 2;
}

.wedding-date {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
}

/* --- Countdown Timer --- */
.countdown-timer {
    /*color: #8B4513; /* Color tierra/principal */
    color: white; /* Color tierra/principal */
    font-weight: bold;
    font-size: 2rem; /* Tamaño base, ajusta si es necesario */

    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.countdown-timer span {
    display: inline-block;
    margin: 0 15px;
    text-align: center;

    border: 3px solid #ffff;
    border-radius: 50%;
    padding: 1rem;
    font-size: 1.5rem;
    width: 5em;
    height: 5em;
    color: #ffff;
}

.countdown-timer span div:first-child {
    font-size: 3rem; /* Números más grandes */
}

.countdown-timer span div:last-child {
    font-size: 0.9rem; /* Texto (Días, Horas) más pequeño */
    text-transform: uppercase;
}


/* --- Invitation Card --- */
section.fixed-section {
    scroll-snap-align: start;
    position: relative;
}

.section-sobre {
    background-color: #F5EFE4;
    position: relative;
}

.section-sobre .invitacion {
    background-color: #F5EFE4;
    border: solid 2px black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    justify-content: center;
    align-items: center;
    text-align: center;
}

/* --- Location Tabs --- */
#locations-section .nav-tabs {
    display: flex;
}

#locations-section .nav-tabs .nav-item {
    width: 50%;
    display: flex;
}

#locations-section .nav-tabs .nav-item img {
    max-width: 50%;
    align-self: center;
}

#locations-section .nav-tabs .nav-link {
    color: #8B4513; /* Color de pestaña inactiva */
    border-bottom: 2px solid transparent;
}

#locations-section .nav-tabs .nav-link.active {
    color: #5a2d0c; /* Color más oscuro para la activa */
    border-color: #bfa880 #bfa880 #fff; /* Colores de borde para la activa */
    font-weight: bold;
}

#locations-section .tab-content {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 0 0 0.25rem 0.25rem; /* Redondear esquinas inferiores */
    background-color: #fdfdfd; /* Fondo ligeramente diferente */
}

#locations-section .fa-map-marker-alt,
#locations-section .fa-clock {
    color: #bfa880; /* Iconos en tono dorado/tierra */
}

#locations-section img {
    max-width: 100%;
    height: auto;
}

/* --- RSVP Button --- */
.rsvp-button {
    background-color: #a07c54; /* Color principal botón */
    border-color: #a07c54;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.rsvp-button:hover {
    background-color: #8B4513; /* Color más oscuro al pasar el ratón */
    border-color: #8B4513;
}

/* --- Footer --- */
.footer-section {
    background-color: #f8f9fa; /* Un gris muy claro */
    color: #6c757d; /* Color de texto gris */
    border-top: 1px solid #eee; /* Línea superior sutil */
}


/* --- Responsive Adjustments (Bootstrap se encarga de mucho, pero puedes añadir más) --- */
@media (max-width: 768px) {
    /* --- Hero --- */
    .brand {
        width: 200px;
        height: 200px;
    }

    .text-xl {
        font-size: xx-large;
    }

    .text-l {
        font-size: x-large;
    }

    .main-title {
        font-size: 3rem;
    }

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

    .countdown-timer {
        font-size: 1.5rem;
        gap: 0.5rem;
    }

    .countdown-timer span {
        width: 90px;
        height: 90px;
    }

    .countdown-timer span div:first-child {
        font-size: 1.8rem;
    }

    .countdown-timer span div:last-child {
        font-size: 0.8rem;
    }

    .section-title::before,
    .section-title::after {
        display: none; /* Ocultar adornos en pantallas pequeñas si molestan */
    }

    .bg-img.fixed {
        background-attachment: unset;
    }
}

.map-fluid {
    position: relative;
    padding-bottom: 56.25%; /* proporción 16:9 */
    height: 0;
    overflow: hidden;
}

.map-fluid iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 576px) {
    .countdown-timer span {
        margin: 0 8px; /* Menos espacio en móviles */
    }

    .section-sobre {
        min-height: 800px;
    }

    .section-sobre .invitacion {
        top: 180px;
        left: 50%;
        transform: translate(-50%, 0%);
    }

    .bg-img {
        content: '';
        min-height: 300px;
    }
}
