@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --primary: #a8753d;
    --secondary: #4b2e1f;
    --dark: #2c1a12;
    --light: #f7eedc;
    --white: #fffaf1;
    --gray: #705c4c;
    --shadow: 0 18px 45px rgba(75, 46, 31, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fffaf1 0%, #ead4af 100%);
    color: var(--dark);
    overflow-x: hidden;
}

section {
    padding: 100px 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.navbar {
    padding: 16px 0;
    transition: 0.4s ease;
    background: transparent;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(232, 204, 161, 0.3);
}

.navbar-brand {
    color: white !important;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.page-detail .navbar {
    background: #f1dfc0;
    border-bottom-color: rgba(75, 46, 31, 0.18);
}

.page-detail .nav-link {
    color: var(--secondary) !important;
}

.page-detail .nav-link:hover {
    color: var(--primary) !important;
}

.page-detail .navbar-toggler {
    border-color: rgba(75, 46, 31, 0.35);
}

.page-detail .navbar-toggler-icon {
    filter: invert(20%) sepia(18%) saturate(1896%) hue-rotate(342deg) brightness(89%) contrast(92%);
}

.brand-logo {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.18));
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin-left: 12px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #f1d29c !important;
}
.dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.dropdown-item {
    padding: 10px 16px;
    color: var(--secondary);
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #6b4026);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    color: #fffdfa;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #c3955f, #57301e);
}

.map-button {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    padding: 0;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark);
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--dark);
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel img {
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-inner {
    border-radius: 0;
}

.hero-carousel img {
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel .carousel-item img {
    object-fit: cover;
    object-position: center;
    background: transparent;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 39, 43, 0.58), rgba(15, 79, 94, 0.36), rgba(57, 168, 182, 0.24));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero p {
    max-width: 680px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.badge-custom {
    background: rgba(255,255,255,0.16);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
}

.hero-panel {
    background: rgba(255,248,235,0.14);
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 24px;
    padding: 28px;
    backdrop-filter: blur(12px);
    color: white;
    box-shadow: var(--shadow);
}

.hero-panel h3 {
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.hero-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-panel li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.counter-box {
    background: var(--white);
    border: 1px solid rgba(201, 169, 107, 0.25);
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: var(--shadow);
}

.counter-box h2 {
    font-size: 2.4rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.counter-box span {
    color: var(--gray);
    font-size: 0.95rem;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 10px auto 0;
    line-height: 1.7;
}

.section-alt {
    background: rgba(246, 239, 227, 0.8);
}

.info-card,
.timeline-card,
.speaker-card,
.gallery-card,
.registration-card {
    background: var(--white);
    border: 1px solid rgba(201, 169, 107, 0.22);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.room-card {
    padding: 0;
    overflow: hidden;
}

.room-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 18px;
}

.info-card i {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 0 28px;
}

.info-card h3,
.info-card p {
    padding: 0 28px;
}

.btn-outline-primary {
    margin: 0 28px 20px;
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 999px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.suite-details {
    margin: 0 28px 20px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--light);
    color: var(--secondary);
}

.suite-details p {
    padding: 0;
    margin-bottom: 10px;
}

.info-card h3,
.timeline-card h3,
.speaker-card h3,
.gallery-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}

.info-card p,
.timeline-card li,
.speaker-card p,
.gallery-card p,
.registration-card p {
    color: var(--gray);
    line-height: 1.7;
}

.day-badge {
    display: inline-block;
    background: rgba(168, 117, 61, 0.12);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.timeline-card ul {
    padding-left: 18px;
    margin: 0;
}

.service-card {
    height: 100%;
    text-align: center;
}

.service-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 18px;
}

.service-price {
    color: var(--secondary) !important;
    font-size: 1.7rem;
    font-weight: 700;
    margin: 14px 0 0;
}

.service-note {
    font-size: 0.9rem;
    margin: 8px 0 0;
}

.menu-toggle {
    margin-top: 18px;
    padding: 9px 20px;
}

.food-menu {
    padding: 36px;
    background: var(--white);
    border: 1px solid rgba(168, 117, 61, 0.28);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

#menuDetails .modal-dialog {
    height: calc(100% - 2rem);
    margin: 1rem auto;
}

#menuDetails .modal-content {
    max-height: 100%;
    pointer-events: auto;
}

#menuDetails .modal-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

.food-menu-heading {
    margin-bottom: 30px;
    text-align: center;
}

.food-menu-heading span,
.food-menu-heading h3,
.food-menu-category h4 {
    color: var(--secondary);
}

.food-menu-heading span {
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.food-menu-heading h3 {
    margin: 8px 0;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
}

.food-menu-heading p,
.food-menu-description,
.food-menu-footer,
.beverage-item p {
    color: var(--gray);
}

.food-menu-category {
    height: 100%;
    padding: 22px;
    border: 1px solid rgba(168, 117, 61, 0.2);
    border-radius: 18px;
    background: var(--light);
}

.food-menu-category h4 {
    margin-bottom: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
}

.food-menu-category h4 i {
    color: var(--primary);
    margin-right: 8px;
}

.food-menu-description {
    min-height: 52px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.menu-item {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(75, 46, 31, 0.25);
    color: var(--secondary);
}

.menu-item:last-child {
    border-bottom: 0;
}

.menu-item small {
    color: var(--gray);
}

.menu-item strong,
.beverage-item strong {
    color: var(--primary);
    white-space: nowrap;
}

.beverages {
    background: rgba(234, 212, 175, 0.38);
}

.beverage-item {
    height: 100%;
    padding: 14px;
    text-align: center;
    border-right: 1px solid rgba(75, 46, 31, 0.18);
}

.beverage-item h5 {
    color: var(--secondary);
}

.beverage-item p {
    margin: 8px 0 0;
    font-size: 0.9rem;
}

.food-menu-footer {
    margin: 26px 0 0;
    text-align: center;
    font-style: italic;
}

.service-alerts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
    padding: 18px 24px;
    background: rgba(201, 169, 107, 0.12);
    border-radius: 16px;
    color: var(--secondary);
    font-weight: 600;
}

.service-alerts p {
    margin: 0;
}

.service-alerts i {
    color: var(--primary);
    margin-right: 8px;
}

.booking-engine-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(201, 169, 107, 0.22);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.booking-engine-frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
}

.booking-engine-fallback {
    margin: 0;
    padding: 14px 24px;
    text-align: center;
    color: var(--gray);
}

.booking-engine-fallback a {
    color: var(--primary);
    font-weight: 700;
}

.speaker-card {
    text-align: center;
}

#ubicacion .row > [class*="col-"] {
    display: flex;
}

#ubicacion .speaker-card {
    width: 100%;
    height: 100%;
}

.speaker-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #8b5a2b, #d4a86a);
    color: white;
    font-weight: 700;
}

.sponsor-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
    color: var(--secondary);
    font-weight: 700;
}

.gallery-image {
    height: 190px;
    border-radius: 16px;
    margin-bottom: 16px;
    background-size: cover;
    background-position: center;
}

.gallery-1 {
    background: linear-gradient(135deg, rgba(75,46,31,0.72), rgba(168,117,61,0.85)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=900&q=80');
}

.gallery-2 {
    background: linear-gradient(135deg, rgba(75,46,31,0.72), rgba(168,117,61,0.85)), url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=900&q=80');
}

.gallery-3 {
    background: linear-gradient(135deg, rgba(75,46,31,0.72), rgba(168,117,61,0.85)), url('https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=900&q=80');
}

.registration-card {
    background: linear-gradient(135deg, #2f241d, #7d5731);
    color: white;
}

.registration-card p {
    color: rgba(255,255,255,0.85);
}

.footer {
    padding: 28px 0 40px;
    color: var(--gray);
    text-align: center;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
}

.social-button i {
    font-size: 1.15rem;
}

.page-detail {
    padding-top: 72px;
}

.room-gallery-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    display: block;
    background-color: #f7f3ea;
    padding: 6px;
}

.carousel-item img {
    object-fit: contain;
    object-position: center;
    background-color: #f7f3ea;
}

.carousel-inner {
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .navbar {
        background: rgba(59, 36, 25, 0.97);
    }

    .hero {
        padding-top: 90px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }

    .counter-box {
        padding: 22px 16px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
}

.hero h1{

    animation:fadeUp 1.5s;

}

.hero p{

    animation:fadeUp 2s;

}

.hero .btn{

    animation:fadeUp 2.4s;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(50px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:992px){

.hero h1{

font-size:45px;

}

.hero p{

font-size:18px;

}

.counter-box{

margin-bottom:20px;

}

}

@media(max-width:768px){

.hero{

text-align:center;

}

.hero h1{

font-size:36px;

}

.navbar{

background:#3b2419;

}

.btn{

margin-bottom:15px;

}

}

/* Ajustes para pantallas pequeñas, tabletas y móviles */
@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }

    .navbar .navbar-collapse {
        margin-top: 12px;
        padding: 12px 16px;
        border-radius: 16px;
        background: rgba(75, 46, 31, 0.97);
    }

    .page-detail .navbar .navbar-collapse {
        background: #f1dfc0;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-link {
        margin: 4px 0;
        padding: 10px 8px;
    }

    .navbar .btn {
        margin: 10px 0 0;
        width: 100%;
    }

    .navbar .map-button {
        width: 48px;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 70px;
    }

    .hero .row {
        min-height: auto !important;
    }

    .hero-panel {
        max-width: 560px;
        margin-right: auto;
        margin-left: auto;
    }

    .countdown {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 0.95rem;
    }

    .brand-logo {
        height: 54px;
        max-width: 170px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2 {
        font-size: 1.85rem;
    }

    .info-card,
    .timeline-card,
    .speaker-card,
    .gallery-card,
    .registration-card {
        padding: 22px;
    }

    .counter-box {
        padding: 20px 12px;
    }

    .counter-box h2 {
        font-size: 2rem;
    }

    .room-gallery-image {
        height: 220px;
    }

    .service-alerts {
        justify-content: flex-start;
        padding: 16px;
    }

    .booking-engine-frame {
        min-height: 620px;
    }

    #menuDetails .modal-dialog {
        height: calc(100% - 1rem);
        margin: 0.5rem;
    }

    .food-menu {
        padding: 24px 16px;
    }

    .food-menu-heading h3 {
        font-size: 1.85rem;
    }

    .food-menu-description {
        min-height: 0;
    }

    .beverage-item {
        border-right: 0;
        border-bottom: 1px solid rgba(75, 46, 31, 0.18);
    }
}

@media (max-width: 420px) {
    section {
        padding: 64px 0;
    }

    .hero {
        padding-top: 96px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .badge-custom {
        font-size: 0.78rem;
    }

    .room-gallery-image {
        height: 190px;
    }
}
