/* --- Global Styles & Variables --- */
:root {
    --primary-color: #d4a24e;
    --dark-bg: #121212;
    --light-bg: #f7f7f7;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --font-family: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header --- */
.main-header {
    background-color: #000;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.search-icon {
    color: var(--text-color-light);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-height: 120px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 162, 78, 0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-buttons .btn i {
    margin-left: 8px;
}

/* --- Video Section --- */
.video-section {
    padding: 60px 0;
}

.video-container {
    border: 5px solid #333;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0; /* remove space under image/iframe */
}

/* --- Description Section --- */
.description-section {
    padding: 60px 0;
    text-align: center;
}

.section-title-wrapper {
    background-color: var(--primary-color);
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title-wrapper h2 {
    color: var(--text-color-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.description-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 30px 0 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Amenities Section --- */
.amenities-section {
    padding: 60px 0;
}

.amenities-card {
    background-color: white;
    color: var(--text-color-dark);
    border-radius: 15px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 10px;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.tab-content.active {
    display: grid;
}

.amenity-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
}

.amenity-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

/* --- Location Section --- */
.location-section {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.location-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.location-info {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #333;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.location-info ul {
    list-style: none;
}

.location-info ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.location-info ul li i {
    color: var(--primary-color);
    margin-left: 10px;
    width: 20px;
}

/* --- Floor Plan Section --- */
.floorplan-section {
    padding: 80px 0;
    text-align: center;
}

.btn-large {
    font-size: 1.2rem;
    padding: 15px 40px;
    margin-bottom: 40px;
}

.floorplan-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.floorplan-image img {
    max-width: 100%;
    display: block;
}

/* --- Footer --- */
.main-footer {
    background-color: #000;
    padding-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.footer-info {
    text-align: right;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-info p, .footer-contact p {
    color: #aaa;
    margin-bottom: 5px;
}

.footer-contact {
    text-align: left;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: #aaa;
    text-decoration: none;
    font-size: 1.4rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.copyright-bar {
    background-color: var(--primary-color);
    text-align: center;
    padding: 15px 0;
}

.copyright-bar p {
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 0.9rem;
}


/* --- Responsive Design --- */
/* --- Header --- */
.main-header {
    background-color: #000;
    padding: 15px 0;
    border-bottom: 1px solid #222;
    position: relative; /* Needed for z-index */
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    color: var(--text-color-light);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    /* Hide the desktop navigation links */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 70%;
        height: 100vh;
        background-color: #111;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        z-index: 999;
        padding-top: 60px;
    }

    /* 'show' class will be toggled by JS to slide the menu in */
    .main-nav.show {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .main-nav ul li {
        margin: 20px 0;
    }

    .main-nav ul li a {
        font-size: 1.5rem;
    }

    /* Show the hamburger menu toggle button */
    .menu-toggle {
        display: block;
        z-index: 1001; /* Ensure it's above the nav overlay */
    }

    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 80%; margin: 0 auto;}
    .section-title-wrapper h2 { font-size: 1.4rem; }
    .footer-container { flex-direction: column-reverse; text-align: center; }
    .footer-info, .footer-contact { text-align: center; }
    .amenities-card { padding: 20px; }
    .tab-button { font-size: 1rem; margin: 0 5px; }
    .tab-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    /* Adjust nav width for smaller screens */
    .main-nav {
        width: 85%;
    }
    .gallery-grid { grid-template-columns: 1fr; }
    .tab-content { grid-template-columns: 1fr; }
    .location-section { height: auto; padding: 60px 0; }
    .location-info { padding: 20px; }
}