/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1e3a5c;
    --secondary-color: #c69c6d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white-color: #ffffff;
    --gray-color: #6c757d;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: rgba(28, 54, 95, 1);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-logo {
    height: 70px;
    width: auto;
}

.navbar-toggler {
    padding: 4px 8px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin-right: 5px;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}

.navbar-collapse {
    background-color: rgba(28, 54, 95, 1);
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background-image: url('../img/background-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 2rem;
    border-radius: 10px;
}

.hero-section h1, 
.hero-section h2, 
.hero-section h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.anniversary-title {
    color: var(--secondary-color);
    font-weight: 700;
}

.divider {
    height: 2px;
    width: 60%;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

.divider-left {
    height: 2px;
    width: 60%;
    background-color: var(--secondary-color);
    margin: 1rem 0 2rem 0;
}

.divider-center {
    height: 2px;
    width: 60%;
    background-color: var(--secondary-color);
    margin: 1rem auto 2rem auto;
}

.badge-container {
    margin-top: 1.5rem;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b58a5d;
    border-color: #b58a5d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Secciones */
section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Countdown Section */
.countdown-section {
    background-color: var(--primary-color);
    padding: 60px 0;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.countdown-label {
    display: block;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Programa */
.program-day {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.day-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1.5rem;
    text-align: center;
}

.timeline {
    padding: 2rem;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 2rem;
    border-left: 2px solid var(--secondary-color);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-time {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Ubicación */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 5px;
}

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

/* Contacto */
.contact-item {
    padding: 1.5rem;
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

/* Alojamientos */
.hotel-card {
    transition: all 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.hotel-logo {
    max-height: 80px;
    object-fit: contain;
}

.hotel-info {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.hotel-info li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.hotel-info li i {
    margin-right: 10px;
    margin-top: 5px;
}

.hotel-info a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.hotel-info a:hover {
    color: var(--secondary-color);
}

.hotel-features {
    margin-top: 1rem;
}

.hotel-distance {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    padding: 60px 0 30px;
}

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-icons a {
    color: var(--white-color);
    transition: all 0.3s ease;
}

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

/* Botón Volver Arriba */
.btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 45px;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Calendario */
.calendar-wrapper {
    position: relative;
    z-index: 9999;
}

.calendar-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px;
    z-index: 9999;
}

.calendar-menu {
    display: flex;
    flex-direction: column;
}

.calendar-option {
    padding: 12px 20px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.calendar-option i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.calendar-option:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-logo {
        height: 50px;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .navbar-nav {
        background-color: rgba(28, 54, 95, 1);
        padding: 10px 0;
    }
    
    .navbar-nav .nav-item {
        padding: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .hero-section {
        height: auto;
        padding: 10px 0 80px;
    }
    
    .divider, .divider-center {
        width: 80%;
    }
    
    .calendar-options {
        right: -50px;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .hero-section h3 {
        font-size: 1.2rem;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .divider, .divider-center {
        width: 90%;
    }
    
    .calendar-options {
        right: 0;
        width: 220px;
    }
    
    .hotel-card {
        margin-bottom: 30px;
    }
}