/* Basic reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f7f5f0;
}

/* Layout helpers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
    background-color: #f7f5f0;
}

.section-alt {
    background-color: #f1ede4;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.section-intro {
    max-width: 650px;
    margin-bottom: 30px;
}

/* Header and navigation */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.logo span {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #333;
}

.main-nav a:hover {
    color: #826b4c;
}

.btn-nav {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #7eaac8;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

/* Overlay on hero image: add a subtle dark gradient to improve text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    /* Reintroduce slight darkness with a gradient from 40% to 15% opacity */
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.15));
}

.hero-content {
    position: relative;
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-bottom: 16px;
}

.hero-content p {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    background-color: #7eaac8;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #5a4834;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Split layout (two columns) */
.split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Ensure images in split layouts scale proportionally */
.split img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
}

/* Cards for suites */
.cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#suites .cards {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

@media (max-width: 900px) {
    #suites .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.card h3 {
    margin-bottom: 10px;
}

.card ul {
    padding-left: 18px;
}

/* Room cards: clean card with image on top */
#suites .room-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

#suites .room-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

#suites .room-content {
    padding: 14px 16px 18px;
}

    #suites .room-content h3 {
        margin-bottom: 6px;
    }

    #suites .room-content ul {
        padding-inline-start: 18px;
        font-size: 0.9rem;
    }



/* Amenities grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* Gallery grid */
/* Gallery grid: use larger minimum widths so images can grow more */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Ensure gallery images scale proportionally and fill their cells */
.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

/* Lightbox gallery */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999;
}

.lightbox.open {
    display: block;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.lightbox-inner {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: none;
}


.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-close {
    top: 18px;
    left: 18px;
}

.lightbox-prev {
    inset-inline-end: auto;
    inset-inline-start: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    inset-inline-start: auto;
    inset-inline-end: 18px;
    top: 50%;
    transform: translateY(-50%);
}


/* Placeholders */
.image-placeholder,
.map-placeholder {
    border-radius: 14px;
    border: 1px dashed #b0c4de;
    background: linear-gradient(135deg, #e0f4ff, #f5fbff);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 0.95rem;
    color: #355d7a;
}

/* Contact section */
.contact-details {
    list-style: none;
    margin-top: 16px;
}

.contact-details li {
    margin-bottom: 6px;
}

.contact-form {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.form-row {
    margin-bottom: 14px;
}

.form-row label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #c6d4e1;
    font: inherit;
}

/* Footer */
.site-footer {
    padding: 20px 0 30px;
    background-color: #5a4834;
    color: #e8dfd1;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.9rem;
}

.footer-content p {
    color: #e8dfd1;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero {
        text-align: center;
    }

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

    .hero-content p {
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 60vh;
    }

    .section {
        padding: 40px 0;
    }
}

/* RTL adjustments: in right-to-left layouts, place the navigation on the right */
html[dir="rtl"] .header-content {
    /* Reverse the order of logo and navigation so that the nav appears on the right */
    flex-direction: row-reverse;
}

html[dir="rtl"] .logo {
    order: 1;
}

html[dir="rtl"] .main-nav {
    order: 2;
}

html[dir="rtl"] .hero-content {
    text-align: center;
}

html[dir="rtl"] .hero-content p {
    margin-inline: auto;
}

/* Pricing layout */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    text-align: right;
    flex: 1 1 260px;
    max-width: 360px;
}



.pricing-card .badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #e8f2ff;
    color: #355d7a;
    margin-bottom: 8px;
}

.pricing-card.popular .badge {
    background-color: #5a4834;
    color: #fff;
}

.price-main {
    font-size: 1rem;
    margin-bottom: 10px;
}

.price-main span {
    font-size: 1.4rem;
    font-weight: 700;
}

.map-image-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.map-hint {
    font-size: 0.85rem;
    margin-top: 6px;
    color: #555;
    text-align: right;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

    .whatsapp-float:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }

.whatsapp-icon {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}


/* Location gallery */
.location-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.location-gallery figure {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.location-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.location-gallery figcaption {
    padding: 8px 10px 10px;
    font-size: 0.85rem;
}

/* Location layout: text on the right, map on the left */
.location-split {
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 40px;
}

@media (max-width: 900px) {
    .location-split {
        flex-direction: column;
    }
}

