/* =========================================
   Variables & Resets
   ========================================= */
:root {
    /* Colors */
    --primary: #cba360; /* Elegant gold/bronze */
    --primary-dark: #b08d53;
    --secondary: #1a2b4c; /* Deep blue, very premium */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   Utility Classes
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background: rgba(26, 43, 76, 0.8); /* Dark semi-transparent initial */
    backdrop-filter: blur(5px);
}

.navbar.scrolled {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar .btn-reservar {
    padding: 10px 24px;
}

.nav-item-reservar-mobile {
    display: none;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .hamburger {
    color: var(--secondary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary) 0%, #2a4175 100%);
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Soft overlay for gradient */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: var(--white);
    padding-top: 80px; /* offset for navbar */
}

.hero-content h1 {
    font-size: 64px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s ease;
}

.hero-content .highlight {
    color: var(--primary);
    font-style: italic;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary);
}

/* =========================================
   About Section
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary);
    font-weight: 500;
}

.about-features i {
    color: var(--primary);
    font-size: 20px;
}

.about-img-real {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}

.about-img-real:hover {
    transform: scale(1.02);
}

/* =========================================
   Rooms Section
   ========================================= */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.room-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-img img {
    transform: scale(1.1);
}

.room-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.room-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    min-height: 66px;
}

.room-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.room-features span {
    font-size: 13px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.room-features i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    font-family: var(--font-body);
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(203, 163, 96, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* =========================================
   Gallery Section (Swiper)
   ========================================= */
.swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 60%;
        height: 500px;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: #b0c4de;
    margin-bottom: 25px;
    max-width: 350px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

.footer-col h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #b0c4de;
    font-size: 15px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    color: #b0c4de;
    align-items: flex-start;
    font-size: 15px;
}

.contact-info i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #121e36;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #888;
    font-size: 14px;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsive Media Queries
   ========================================= */
@media (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h1 {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease-in-out;
    }
    
    .navbar:not(.scrolled) .nav-links {
        background-color: var(--secondary);
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 20px;
        color: var(--secondary);
        border-bottom: 1px solid #eee;
    }
    
    .navbar:not(.scrolled) .nav-links a {
        color: var(--white);
        border-bottom-color: rgba(255,255,255,0.1);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .navbar .btn-reservar {
        display: none;
    }

    .nav-item-reservar-mobile {
        display: block;
        padding: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .navbar:not(.scrolled) .nav-item-reservar-mobile {
        border-bottom-color: rgba(255,255,255,0.1);
    }
    
    .nav-links .nav-item-reservar-mobile a.btn {
        display: block;
        padding: 14px 20px;
        color: var(--white) !important;
        border-bottom: none;
        border-radius: 4px;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .navbar:not(.scrolled) .nav-links .nav-item-reservar-mobile a.btn {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
