:root {
    --primary-color: #c5b39f; /* A richer, more elegant beige */
    --secondary-color: #4a4a4a; /* Slightly softer dark grey */
    --background-color: #f9f8f6; /* Off-white with a hint of warmth */
    --text-color: #656565;
    --white-color: #ffffff;
    --font-family: 'Lato', sans-serif;
    --title-font: 'Merriweather', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--secondary-color);
    font-family: var(--title-font);
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.5rem; }

/* --- Header --- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    z-index: 999;
    width: 100%;
}

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

.logo {
    font-size: 1.8rem;
    font-family: var(--title-font);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

nav {
    display: flex;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info span {
    font-size: 0.9rem;
}

.contact-info a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.language-selected {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.language-selected:hover {
    background-color: #b3a18e;
}

.language-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white-color);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    min-width: 150px;
}

.language-list.show {
    display: block;
}


.language-list li a {
    display: block;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}

.language-list li a:hover {
    background-color: #f5f5f5;
}

/* --- Hero Section --- */
#hero {
    position: relative;
    color: var(--white-color);
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../src/images/1.jpg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

#hero .container {
    position: relative; /* To be on top of overlay */
}

#hero h1 {
    color: var(--white-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: #b3a18e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- Content Sections --- */
.content-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

/* About Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* --- Gallery Section --- */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-container {
    overflow-x: scroll;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-container::-webkit-scrollbar { 
    display: none;
}

.image-grid {
    display: flex;
    gap: 15px;
}

.image-grid img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    will-change: transform;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gallery-arrow {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-arrow:hover { background-color: white; }
.prev-arrow { left: -25px; }
.next-arrow { right: -25px; }

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.lightbox.show { display: flex; }

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    user-select: none;
}

.lightbox-close { top: 20px; right: 40px; font-size: 60px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); padding: 16px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: #ccc; }

/* --- Location & Contact Section --- */
.location-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-details h2, .contact-details h3 {
    text-align: left;
}

.contact-details h3 {
    margin-top: 2rem;
}

.contact-details .btn {
    margin-top: 1.5rem;
}

.footer-contact p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background-color: #e9e5e1;
    padding: 25px 0;
    text-align: center;
}

.footer-credits p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #888;
}

.footer-credits a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: var(--primary-color);
}

/* --- Reservation Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal.show { display: flex; }

.modal-content {
    background: var(--white-color);
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-close { position: absolute; top: 10px; right: 20px; font-size: 28px; cursor: pointer; color: #aaa; }
.modal-close:hover { color: #333; }

.modal-content h3 { text-align: center; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(197, 179, 159, 0.3);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .location-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-details {
        text-align: center;
    }
    .contact-details h2, .contact-details h3 {
        text-align: center;
    }
    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
        z-index: 999;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    #hero { height: 80vh; }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    nav {
        order: 2;
    }
    .language-dropdown {
        order: 1;
    }

    .content-section {
        padding: 60px 0;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .gallery-arrow { 
        display: none; 
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-item {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    #hero { height: 70vh; }
    #hero p {
        font-size: 1.2rem;
    }
    .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    .contact-info {
        gap: 15px;
    }
}
