@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-brown: #5D4037;
    --light-beige: #F5F5DC;
    --forest-green: #2E7D32;
    --luxury-gold: #D4AF37;
    --off-white: #FAF9F6;
    --text-dark: #333333;
    --montserrat: 'Montserrat', sans-serif;
    --lora: 'Lora', serif;
}

body {
    font-family: var(--lora);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: var(--montserrat);
    font-weight: 600;
}

/* Header & Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-brown) !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.nav-link {
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--forest-green) !important;
}

.btn-reserve {
    background-color: var(--luxury-gold);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-reserve:hover {
    background-color: #bfa030;
    transform: translateY(-2px);
}

/* Hero Section */
#hero-carousel {
    height: 80vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    font-family: var(--lora);
    margin-bottom: 30px;
}

.btn-hero {
    background-color: var(--forest-green);
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-hero:hover {
    background-color: #1b5e20;
    color: white;
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--luxury-gold);
    margin: 15px auto 0;
}

/* Rooms Section */
.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-info {
    padding: 25px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--luxury-gold);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Services Section - Timeline Layout */
.service-row {
    position: relative;
    padding-bottom: 100px; /* Increased spacing between rows */
}

/* Continuous Center Line */
#servicios {
    position: relative;
    overflow: hidden;
}

#servicios::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 150px; /* Adjust based on section title */
    bottom: 50px;
    width: 2px;
    background-color: #ddd;
    z-index: 1;
    transform: translateX(-50%);
}

/* Remove individual row lines */
.service-row::before {
    display: none;
}

.service-indicator {
    position: absolute;
    left: 50%;
    top: 50%; /* Center vertically in the row */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--primary-brown);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.service-img-container {
    position: relative;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin: 0 30px; /* Increased spacing from center */
}

.service-img-container:hover {
    transform: scale(1.03);
}

.service-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 10px;
    font-size: 0.85rem;
    text-align: center;
}

.service-content {
    padding: 20px 50px; /* Increased spacing from center */
}

.service-content h3 {
    font-style: italic;
    font-family: var(--lora);
    color: var(--primary-brown);
    margin-bottom: 15px;
}

/* Animation Classes */
.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.active.reveal-left,
.active.reveal-right {
    opacity: 1;
    transform: translateX(0);
}

.active.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    #servicios::before {
        left: 20px;
        transform: none;
    }
    .service-indicator {
        left: 20px;
        transform: translateY(-50%);
    }
    .service-content {
        padding-left: 50px;
        text-align: left !important;
    }
    .service-img-container {
        margin: 0 0 30px 40px;
    }
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    border-bottom: 4px solid var(--luxury-gold);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.stars {
    color: var(--luxury-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--light-beige);
    color: var(--primary-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.author-info h6 {
    margin: 0;
    font-weight: 700;
}

.author-info span {
    font-size: 0.85rem;
    color: #999;
}

.schedule-item {
    margin: 20px 0;
}

.schedule-item i {
    font-size: 2.5rem;
    color: var(--luxury-gold);
    margin-bottom: 15px;
}

/* Location Section */
#map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.address-info {
    padding: 20px;
}

/* Footer */
footer {
    background-color: #222;
    color: #999;
    padding: 50px 0 20px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer .contact-info p {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.x-small {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#roomList .card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--luxury-gold);
}

#roomList .card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
