/* Variables de Diseño Luxury */
:root {
    --dark-bg: #11151c;
    --darker-bg: #0a0c10;
    --gold: #C5A880;
    --gold-hover: #b0926a;
    --light-bg: #f9f6f0;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    
    --font-title: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.text-white { color: var(--white) !important; }

.mt-4 { margin-top: 30px; }

/* Textos y Separadores */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 600;
}

.gold-text {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.separator {
    height: 2px;
    width: 60px;
    background-color: var(--gold);
    margin: 20px 0;
}

.separator-center {
    height: 2px;
    width: 60px;
    background-color: var(--gold);
    margin: 20px auto;
}

.subtitle-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navbar Dinámico */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--dark-bg);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 2.2rem;
    letter-spacing: 2px;
}

.logo h1 span { color: var(--gold); }

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

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

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

/* Botones y Selector de Idioma */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-btn:hover { color: var(--gold); }

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 25px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/hero-exterior.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 21, 28, 0.75), rgba(17, 21, 28, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content .subtitle {
    font-family: var(--font-title);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.hero-content h2 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Barra de Reservas */
.booking-bar-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.booking-bar {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-radius: 4px;
}

.booking-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group label i {
    color: var(--gold);
    margin-right: 5px;
}

.input-group input, .input-group select {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    height: 50px;
    white-space: nowrap;
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 168, 128, 0.3);
}

/* Secciones Generales (Split) */
.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.reverse-layout {
    flex-direction: row-reverse;
}

.split-layout .text-content { flex: 1; }

.split-layout .text-content h2 {
    font-size: 2.8rem;
    color: var(--dark-bg);
    margin-bottom: 25px;
    line-height: 1.2;
}

.split-layout .text-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.bg-dark .text-content p {
    color: #cccccc;
}

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

.features-grid-inline .feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-bg);
}

.features-grid-inline i { color: var(--gold); }

/* Gastronomía List */
.gastronomy-list {
    list-style: none;
    margin-top: 30px;
}

.gastronomy-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gastronomy-list li i {
    color: var(--gold);
    font-size: 1.3rem;
}

.split-layout .image-content, .split-layout .map-content {
    flex: 1;
    width: 100%;
}

.image-frame {
    position: relative;
    padding: 20px 0 0 20px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 2px solid var(--gold);
    z-index: 0;
}

.gold-frame::before {
    border-color: rgba(197, 168, 128, 0.4);
    left: auto;
    right: 0;
    top: 20px;
    padding: 0 20px 20px 0;
}
.gold-frame { padding: 0 20px 20px 0; }

.image-frame img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Suites */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark-bg);
}

.suites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.suite-card {
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.suite-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.suite-img {
    overflow: hidden;
    height: 350px;
}

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

.suite-card:hover .suite-img img { transform: scale(1.05); }

.suite-info { padding: 40px; }

.suite-info h3 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.suite-info p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.amenities-list {
    display: flex;
    gap: 20px;
    list-style: none;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.amenities-list li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.amenities-list li i { color: var(--gold); }

/* Galería Visual Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
    border-bottom: 3px solid var(--gold);
}

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

.testimonial-card .quote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.testimonial-card .author {
    font-family: var(--font-title);
    color: var(--dark-bg);
    font-size: 1rem;
}

/* Turismo Grid */
.tourism-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tour-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}

.tour-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tour-info {
    position: absolute;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    width: 100%;
    padding: 30px 20px 20px;
    color: var(--white);
}

.tour-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--gold);
}

/* FAQ Acordeón */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.faq-question i {
    color: var(--gold);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-top: 15px;
    color: #aaa;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Ajustar si el texto es muy largo */
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: var(--white);
    padding: 50px;
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-box { transform: translateY(0); }

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}

.close-btn:hover { color: var(--dark-bg); }

.gold-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.modal-header h3 {
    color: var(--dark-bg);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 { font-size: 2.5rem; }
.footer-brand h2 span { color: var(--gold); }
.footer-brand .slogan {
    color: var(--gold);
    font-family: var(--font-title);
    margin-top: 10px;
}

.footer-contact h3, .footer-social h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #666;
    font-size: 0.85rem;
}

/* Animaciones Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .split-layout, .suites-grid, .tourism-grid, .reverse-layout {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .hero-content h2 { font-size: 3.5rem; }
    .booking-form { flex-direction: column; }
    .btn-gold { width: 100%; }
}

@media (max-width: 768px) {
    .nav-links, .btn-outline { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}