/* =========================
   GENERAL
========================= */

body {
    margin: 0;
    font-family: Arial, Tahoma, sans-serif;
    background-color: #e4ded3;
    color: #24302a;
}

main {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}


/* =========================
   LANGUAGE SWITCHER
========================= */

.language-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.language-switcher button {
    background-color: rgba(255, 255, 255, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.6);

    color: #24302a;

    border-radius: 999px;

    padding: 7px 14px;

    font-size: 12px;

    font-family: inherit;

    cursor: pointer;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher button:hover {
    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(36, 48, 42, 0.08);
}


/* =========================
   HERO
========================= */

.hero {
    padding-top: 20px;
}

.logo {
    width: 300px;
    height: auto;
    margin: 0 auto 20px;
    overflow: visible;
    border-radius: 0;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero p {
    margin: 0;

    color: #59635d;

    font-size: 16px;

    letter-spacing: 0.3px;
}


/* =========================
   PHOTO GALLERY
========================= */

.photo-gallery {
    margin-top: 35px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.main-photo,
.small-photo {
    aspect-ratio: 1 / 1;

    border-radius: 20px;

    overflow: hidden;

    display: block;

    cursor: pointer;

    transition: transform 0.25s ease;
}

.main-photo img,
.small-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;
}

.main-photo:hover,
.small-photo:hover {
    transform: scale(1.02);
}


/* =========================
   ABOUT + FEATURES
========================= */

.about {
    margin-top: 25px;

    padding: 20px;

    background-color: rgba(255, 255, 255, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.6);

    border-radius: 18px;

    box-shadow: 0 6px 18px rgba(36, 48, 42, 0.05);
}

.about p {
    margin: 0;

    color: #3f4842;

    font-size: 15px;

    line-height: 1.7;
}

.features {
    margin-top: 25px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}

.feature {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    color: #24302a;

    font-size: 12px;
}

.feature i {
    font-size: 19px;
}


/* =========================
   BOOKING
========================= */

.booking {
    margin-top: 40px;
}

.booking h2,
.location h2,
.socials h2 {
    font-size: 20px;

    margin-bottom: 18px;
}

.booking-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.booking-card {
    height: 110px;

    background-color: #f7f4ee;

    border: 1px solid #ebe5da;

    border-radius: 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: #24302a;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.booking-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(36, 48, 42, 0.08);
}

.booking-card i {
    font-size: 27px;

    margin-bottom: 9px;
}


/* AIRBNB */

.booking-card .fa-airbnb {
    color: #FF5A5F;
}


/* PLATFORM LOGOS */

.booking-card img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    margin-bottom: 9px;
}

/* BOOKING.COM LOGO */

.booking-card .booking-logo {
    width: 90px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0;
}

/* =========================
   LOCATION
========================= */

.location {
    margin-top: 40px;
}

.location h2 {
    font-size: 20px;

    margin-bottom: 18px;
}

.location-card {
    padding: 20px;

    background-color: rgba(255, 255, 255, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.6);

    border-radius: 18px;

    box-shadow: 0 6px 18px rgba(36, 48, 42, 0.05);
}

.location-name {
    margin: 0 0 12px !important;

    color: #24302a;

    font-size: 15px;

    font-weight: 600;
}

.location-name i {
    margin-right: 6px;

    color: #24302a;

    font-size: 14px;
}

.location-description {
    display: block !important;

    max-width: 500px;

    margin: 0 auto !important;

    color: #59635d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 14px;

    line-height: 1.8;

    letter-spacing: 0.1px;
}


/* =========================
   SOCIALS
========================= */

.socials {
    margin-top: 40px;
}

.socials h2 {
    font-size: 20px;

    margin-bottom: 18px;
}

.social-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.social-card {
    height: 90px;

    background-color: #f7f4ee;

    border: 1px solid #ebe5da;

    border-radius: 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: #24302a;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.social-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(36, 48, 42, 0.08);
}

.social-card i {
    font-size: 24px;

    margin-bottom: 8px;
}


/* SOCIAL BRAND COLORS */

.social-card .fa-whatsapp {
    color: #111111;
}

.social-card .fa-instagram {
    color: #111111;
}

.social-card .fa-tiktok {
    color: #111111;
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    align-items: center;

    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    z-index: 1000;
}

.lightbox img {
    max-width: 95%;

    max-height: 90vh;

    object-fit: contain;

    border-radius: 16px;
}

.close-lightbox {
    position: absolute;

    top: 20px;

    right: 25px;

    color: white;

    font-size: 36px;

    line-height: 1;

    cursor: pointer;
}


/* =========================
   LIGHTBOX ARROWS
========================= */

.lightbox-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.15);

    color: white;

    border: none;

    border-radius: 50%;

    width: 45px;

    height: 45px;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.2s ease;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 55px;

    padding: 20px 0;

    text-align: center;

    color: #7d857f;

    font-size: 12px;

    letter-spacing: 0.3px;
}


/* =========================
   ARABIC / RTL
========================= */

html[dir="rtl"] body {
    font-family: Arial, Tahoma, sans-serif;
}

html[dir="rtl"] .about p {
    line-height: 1.9;
}

html[dir="rtl"] .location p {
    direction: rtl;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 500px) {

    main {
        padding: 40px 16px;
    }

   .logo {
    width: 250px;
    max-width: 100%;
    height: auto;
}

    .photo-gallery {
        grid-template-columns: 1fr 1fr;

        grid-template-rows: 160px 160px;

        gap: 10px;
    }

    .main-photo,
    .small-photo {
        width: 100%;

        height: 100%;
    }

    .booking-grid {
        grid-template-columns: 1fr 1fr;
    }

    .booking-card {
        height: 105px;
    }

    .social-card {
        height: 85px;
    }

    .features {
        grid-template-columns: repeat(4, 1fr);
    }

}