:root {
    --primary-color: #8B7355;
    --primary-hover: #6d5a43;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --nav-text: #555;
    --light-text: #fff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.serif {
    font-family: 'Libre Baskerville', serif;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 8px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 100;
}

.top-bar .info span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.top-bar .info i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 14px;
}

.top-bar .socials a {
    color: var(--light-text);
    margin-left: 18px;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.top-bar .socials a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Header & Logo */
header {
    background: #fff;
    padding: 40px 0 20px;
    text-align: center;
}

.logo-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    height: 140px;
    width: auto;
    transition: transform 0.5s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    border-top: 1px solid #f2f2f2;
    padding: 25px 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.dropdown-icon {
    font-size: 9px;
    opacity: 0.7;
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/foto_6.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    border-bottom: 15px solid var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 25px;
    font-weight: 400;
    animation: fadeInUp 1s ease forwards;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.15s forwards;
    opacity: 0;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

/* Booking Bar */
.booking-bar {
    background: #fff;
    width: 80%;
    margin: -50px auto 100px;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
    border-bottom: 2px solid var(--primary-color);
}

.booking-field {
    flex: 1;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
}

.booking-field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #888;
    font-weight: 600;
}

.booking-field input,
.booking-field select {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-family: 'Libre Baskerville', serif;
    font-size: 15px;
    outline: none;
    background: transparent;
    transition: var(--transition);
}

.booking-field input:focus {
    border-bottom-color: var(--primary-color);
}

.btn-book {
    background: var(--dark-color);
    color: #fff;
    padding: 18px 40px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-book:hover {
    background: var(--primary-color);
}

/* Section Containers */
section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--primary-color);
}

/* Features/Services Section */
.features {
    background-color: #fcfcfc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    background: #fff;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--primary-hover);
}

.feature-link i {
    margin-left: 5px;
    font-size: 11px;
}

/* Gallery Preview */
.gallery-preview {
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/foto_12.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 10%;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 80px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

.footer-col p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #555;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Content Page Styles */
.page-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/foto_20.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    border-bottom: 10px solid var(--primary-color);
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.content-section {
    padding: 80px 10%;
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-family: 'Libre Baskerville', serif;
}

.content-section h3 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--primary-color);
    font-family: 'Libre Baskerville', serif;
}

.content-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.content-section ul {
    list-style: none;
    margin: 30px 0;
}

.content-section ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Room Cards */
.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.room-card {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: var(--transition);
}

.room-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.room-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.room-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.room-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.room-slider::-webkit-scrollbar {
    display: none;
}

.room-slider .slide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: var(--primary-color);
}
.slider-btn.prev {
    left: 10px;
}
.slider-btn.next {
    right: 10px;
}

.room-card-content {
    padding: 30px;
}

.room-card-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Libre Baskerville', serif;
    color: var(--text-color);
}

.room-card-content p {
    color: #777;
    line-height: 1.6;
    margin-bottom: 20px;
}

.room-card-content ul {
    margin: 20px 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .top-bar {
        padding: 10px 5%;
    }

    nav ul {
        gap: 15px;
    }

    .hero-title {
        font-size: 48px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar .info span {
        margin: 0 10px;
        font-size: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav ul li a {
        font-size: 11px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: 6px;
    }

    .page-hero h1 {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .booking-bar {
        flex-direction: column;
        width: 90%;
    }

    .booking-field {
        margin: 10px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   LANGUAGE SWITCHER
   ============================================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 20px;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
    overflow: hidden;
}

.lang-btn {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 10px;
    transition: background 0.2s, color 0.2s;
    line-height: 1.4;
    min-width: 32px;
    text-align: center;
}

.lang-btn:last-child {
    border-right: none;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.lang-btn--active {
    color: #fff !important;
    background: var(--primary-color) !important;
    font-weight: 800;
}

@media (max-width: 768px) {
    .lang-switcher {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 6px;
        border-radius: 4px;
    }
}