/*
Theme Name: My Spa Theme New
Theme URI: http://example.com/my-spa-theme
Author: amr
Author URI: http://example.com
Description: A simple and elegant spa theme for Abu Dhabi Golf Resort.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Text Domain: my-spa-theme
*/
html {
    scroll-behavior: smooth;

}

/* --- Design System --- */
:root {
    --primary-gold: #BF9850;
    --book-now-gold: #C7A762;
    --dark-charcoal: #333333;
    --off-white: #fdfdfd;
    --off-white-footer: #DBDBDB;
    --white: #ffffff;
    --text-dark: #333333;
    --transition: all 0.3s ease;
}


body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    padding: 0;
    margin: 0;
}



h1,
h2,
h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Layout --- */
.container {
    max-width: 1400px;
    /* Wider container for premium feel */
    margin: 0 auto;
    padding: 0 30px;
}

.container-50 {
    width: 80%;
    max-width: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    flex: 0 0 50%;
    -webkit-flex: 0 0 80%;
    margin: 0 auto;
    padding: 0 15px;
}

.container-50 .rooms-carousel .swiper {
    height: 300px;
}

.container-70 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;


}



/* --- Buttons --- */
.btn-gold {
    background-color: var(--primary-gold);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-gold:hover {
    background-color: #a68444;
}

.btn-dark {
    background-color: var(--dark-charcoal);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-dark:hover {
    background-color: #000000;
}

.btn-book-now {
    background-color: var(--book-now-gold);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-book-now:hover {
    background-color: #b39556;
}

/* --- Language Dropdown --- */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropbtn {
    background-color: transparent;
    color: var(--text-dark);
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.lang-dropbtn:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-gold);
}

.lang-dropbtn i.fa-globe {
    color: var(--primary-gold);
}

.lang-dropbtn i.fa-angle-down {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.lang-dropdown:hover .lang-dropbtn i.fa-angle-down {
    transform: rotate(180deg);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
    overflow: hidden;
    padding-top: 5px;
    /* Added small padding to bridge gap */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Invisible bridge to keep dropdown open when moving mouse between button and list */
.lang-dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lang-dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-dropdown-content a img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--primary-gold);
}

.lang-dropdown-content a.active {
    background-color: #f0f0f0;
    color: var(--primary-gold);
    pointer-events: none;
}

body.rtl .lang-dropdown-content {
    right: auto;
    left: 0;
}

body.rtl .lang-dropbtn i.fa-angle-down {
    margin-left: 0;
    margin-right: 5px;
}

/* --- Navigation --- */
.site-header {
    background-color:#f4e9d2;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;

}

.logo img {
    max-height: 40px;
    /* Slimmer header logo */
    width: auto;
}

nav#site-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    /* Center the menu */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-gold);
}

.header-buttons {
    display: flex;
    gap: 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* --- Sections --- */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

/* --- Landing Section --- */
.landing-section {
    height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.landing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.landing-content {
    position: relative;
    z-index: 1;
}

.landing-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 700;
}

.landing-content p {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* --- Wellcome Section --- */
.wellcome-section {
    padding: 50px 0;
    text-align: center;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.wellcome-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;

}

.wellcome-header {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;

}

.wellcome-subtitle {
    display: block;

    color: var(--dark-charcoal);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.wellcome-title {

    color: var(--primary-gold);

    margin: 0;
    position: relative;
    padding-bottom: 25px;
}

.wellcome-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-gold);
}

.wellcome-tagline {
    font-size: 22px;
    color: var(--dark-charcoal);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 40px;
    text-transform: none;
    letter-spacing: 0.5px;
}

.wellcome-description {
    font-size: 17px;
    color: #666;
    line-height: 1.8;

}

.wellcome-description p {
    margin: 0;
    padding: 0;

}

/* ---  Resort Features  Section --- */

.resort-features-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.resort-features-grid {
    margin-top: 20px;
}

.resort-features-section ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 40px;
    padding: 0;
    margin: 0;
}

.resort-features-section ul li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none;
    flex: 0 0 calc(12.5% - 40px);
    min-width: 100px;
}

.resort-features-section ul li i {
    font-size: 48px;
    color: var(--primary-gold);
    margin-bottom: 15px;
    transition: var(--transition);
}

.resort-features-section ul li:hover i {
    transform: scale(1.1);
    color: var(--dark-charcoal);
}

.resort-features-section ul li p {
    color: var(--dark-charcoal);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* --- About Section --- */
.about-section {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
}

.wellcome-content {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0px var(--off-white);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-content h2::after {
    left: 30px;
}

.about-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* --- Rooms & Suites Section --- */
.rooms-suites-section {
    padding: 50px 0;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #777;
    margin-bottom: 50px;
    margin-top: -30px;
    display: flex;

}

.rooms-carousel {
    position: relative;
    overflow: visible;
    /* Allow arrows to be outside */
    margin-top: 30px;


}




.rooms-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.rooms-image-wrapper {
    flex: 0 0 50%;

}

.rooms-image-wrapper img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rooms-content-wrapper {
    flex: 0 0 50%;
}

.rooms-content-wrapper h3 {
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: normal;
}

.rooms-content-wrapper p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.rooms-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    /* Default swiper size is usually smaller/different */
    height: 44px;
    z-index: 10;
    cursor: pointer;
    /* Swiper Styling */
    color: var(--primary-gold);
    --swiper-navigation-color: var(--primary-gold);
}

.rooms-nav:hover {
    color: var(--dark-charcoal);
}

.rooms-nav.prev {
    left: -60px;
}

.rooms-nav.next {
    right: -60px;
}

/* --- Special Offers --- */
.special-offers {
    background-color: #f9f9f9;
}

.special-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.offer-card {
    background: var(--white);
    padding: 0;
    /* Remove padding to let image fill top */
    border-radius: 12px;
    text-align: left;
    /* Align text left for better readability */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 0;
}

.offer-card-content {
    padding: 30px;
}

.offer-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-charcoal);
}

.offer-card p {
    color: #777;
    margin-bottom: 25px;
}

/* --- WhatsApp Popup --- */
.whatsapp-btn,
.phone-btn,
.instagram-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;

}


.whatsapp-btn:hover,
.phone-btn:hover,
.instagram-btn:hover {
    transition: var(--transition);
    width: 68px;
    height: 68px;
    font-size: 36px;
    background-color: var(--dark-charcoal);

}

.phone-btn {
    bottom: 100px;
}

.instagram-btn {
    bottom:170px;
    background-color: #E1306C;
}

/* --- Carousel Section --- */
.carousel-section {
    padding: 0;
}

.carousel-container {
    height: 700px;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper overrides if needed */
.swiper-slide {
    height: auto;
}

/* --- Footer Section --- */
.site-footer {
    background-color: var(--dark-charcoal);
    color: #fff;
    padding: 60px 0 0;
}


.footer-layers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-info-left {
    flex: 1;
}

.footer-info-left h3 {
    color: var(--primary-gold);
    font-size: 28px;
    margin-bottom: 25px;
}

.footer-info-left p {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-info-right {
    flex: 1;
    padding-bottom: 10px;


}

.footer-info-right iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px;

}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: var(--text-dark);
    background-color: var(--off-white-footer);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.footer-copyright a {
    color: var(--text-dark)
}

/* --- RTL Support --- */
body.rtl {
    direction: rtl;
    text-align: right;
    font-family: 'Almarai', sans-serif;
}

body.rtl .wellcome-title::after,
body.rtl .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

body.rtl .about-content h2::after {
    left: auto;
    right: 30px;
}

body.rtl .rooms-slide,
body.rtl .about-section {
    flex-direction: row-reverse;
}

body.rtl .offer-card,
body.rtl .about-content {
    text-align: right;
}

body.rtl .footer-info-details,
body.rtl .footer-info-grid {
    text-align: right;
}

body.rtl .resort-features-section ul li i {
    margin-right: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    body.rtl .mobile-menu-toggle {
        margin-left: initial;
        margin-right: auto;
    }

    body.rtl .rooms-slide {
        flex-direction: column;
    }

    .footer-info-grid {
        flex-direction: column;

    }


    .nav-container {
        flex-wrap: wrap;
        padding: 15px;

    }

    .logo {
        order: 1;
    }

    .mobile-menu-toggle {
        order: 2;
        margin-left: auto;

        margin-right: 10px;
    }

    .header-buttons {
        order: 3;
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    }

    nav#site-navigation {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav#site-navigation.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
    }

    .about-section,
    body.rtl .about-section,
    .footer-layers {
        flex-direction: column;
        gap: 30px;
    }

    .about-image,
    .about-content {
        width: 100%;
        text-align: center;
    }

    .about-image img {
        box-shadow: 10px 10px 0px var(--off-white);
        margin-bottom: 20px;
    }

    .about-content h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    body.rtl .about-content h2::after {
        right: 50%;
        transform: translateX(50%);
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .special-offers-grid {
        grid-template-columns: 1fr;
    }



    .footer-column {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-newsletter {
        justify-content: center;
    }

    .rooms-slide {
        flex-direction: column;
    }

    .rooms-image-wrapper,
    .rooms-content-wrapper {
        flex: 0 0 100%;
    }

    .wellcome-section {
        padding: 0 0;

    }

    .wellcome-title {
        font-size: 36px;
    }

    .wellcome-tagline {
        font-size: 18px;
    }

    .wellcome-description {
        font-size: 16px;
    }

    .resort-features-section ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .resort-features-section ul li {
        flex: 0 0 calc(50% - 20px);
        min-width: 120px;
    }

    .container-50 {
        max-width: 80%;



    }
}

.contact-info p span {
    text-decoration: underline;
}


.footer-info-details {
    background-color: var(--off-white);
    padding: 0;
    color: var(--text-dark);
}


.footer-info-grid {
    /* display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    padding: 40px 30px;
    max-width: 1400px;
    margin: 0 auto; */
    display: flex;
    justify-content: space-around;
    /* flex-direction: column; */
    padding: 20px
}




.footer-address {
    font-size: 13px;
    line-height: 1.6;
    margin: 5px 0;
    color: var(--text-dark);
}

.footer-phone,
.footer-email {
    font-size: 13px;
    margin: 8px 0;
    color: var(--text-dark);
    direction: ltr;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: var(--text-dark);
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-newsletter {
    display: flex;
    align-items: flex-start;
}

.newsletter-btn {
    background-color: #555;
    color: var(--off-white);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: var(--primary-gold);
}