/* Variables Globales / Paleta de Colores */
:root {
    --color-primary: #C9A96E; /* Dorado elegante */
    --color-primary-dark: #A88B56;
    --color-bg: #FAF8F5; /* Blanco crema */
    --color-text: #2C2C2C; /* Gris oscuro */
    --color-text-light: #5A5A5A; /* Gris medio */
    --color-dark: #1A1A1A; /* Negro suave */
    --color-light: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-light);
}

.text-center {
    text-align: center;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* Typography Classes */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
    padding: 1.5rem 0;
}

.header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    color: var(--color-light);
}

.header:not(.scrolled) .logo {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.header:not(.scrolled) .nav-link {
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-reserva {
    background-color: var(--color-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 2px;
}

.nav-link.btn-reserva::after {
    display: none;
}

.nav-link.btn-reserva:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-light);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../imagenes/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-light);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--color-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Grids Base */
.grids-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.align-start {
    align-items: start;
}

/* About Section */
.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.image-wrapper {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.image-wrapper img {
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}

.accent-box {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    z-index: 1;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(201, 169, 110, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--color-light);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--color-light);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover {
    color: var(--color-primary);
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.amenity-card {
    background: var(--color-light);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.amenity-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--color-primary);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.amenity-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.amenity-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.amenities-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Location & Reviews */
.location-list {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.location-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
    width: 20px;
}

.map-container {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.review-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.score-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
    font-weight: 600;
}

.score-stars {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.score-text {
    font-weight: 500;
    letter-spacing: 1px;
}

.review-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1rem;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.review-text {
    font-style: italic;
    color: var(--color-text-light);
}

/* CTA Section / Reservas */
.cta-section {
    position: relative;
    background-image: url('../imagenes/kitchen.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 8rem 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.85); /* Black overlay */
}

.cta-container {
    position: relative;
    z-index: 2;
    color: var(--color-light);
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.booking-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-bg);
    padding: 5rem 0 0 0;
}

.footer h3, .footer h4 {
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: #999;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--color-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #999;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    color: #999;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--color-primary);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.3);
    padding: 1.5rem 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
    transition-duration: 0.8s;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .grids-2 {
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-dark);
        padding: 5rem 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .header {
        background-color: var(--color-dark);
        padding: 1rem 0;
    }
    
    .grids-2 {
        grid-template-columns: 1fr;
    }
    
    .image-wrapper {
        margin-top: 2rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
    }
    
    .accent-box {
        top: 1rem;
        left: 1rem;
    }
    
    .booking-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}
