/* Custom Properties for Ultra Premium Luxury Brown Look */
:root {
   --primary-color: #C08A4B;
--primary-hover: #9E6A33;       /* Deeper Antique Gold */
    --accent-color: #3B1F0A;        /* Deep Espresso Brown */
    --accent-light: #6B3A1F;        /* Rich Walnut Brown */
    --text-dark: #1E0F00;           /* Deep Coffee Dark */
    --text-light: #6B5B4E;          /* Warm Brown-Gray */
    --bg-white: #ffffff;            /* Pure White */
    --bg-light: #F7F7F7;            /* Light Gray */
    --bg-gray: #F0F0F0;             /* Soft Gray */
    --border-color: #E5E0D8;        /* Subtle Warm Border */
    --font-family: 'Tajawal', 'Cairo', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(59, 31, 10, 0.06), 0 2px 4px -1px rgba(59, 31, 10, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(59, 31, 10, 0.1), 0 4px 6px -2px rgba(59, 31, 10, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(59, 31, 10, 0.15), 0 10px 10px -5px rgba(59, 31, 10, 0.07);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-whatsapp, .btn-whatsapp-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* WhatsApp Green Buttons */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.btn-whatsapp-outline {
    background-color: transparent;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn-whatsapp-outline:hover {
    background-color: #25D366;
    color: #fff;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 31, 10, 0.08);
    transition: var(--transition);
}

.navbar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    justify-content: flex-end;
}

.nav-contact .btn-primary-outline {
    padding: 10px 25px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Hero Video Background */
.video-background-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.video-fallback {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: opacity 1.5s ease;
}

.video-fallback.fade-out {
    opacity: 0;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30, 15, 0, 0.65), rgba(30, 15, 0, 0.75));
    z-index: 2;
}

.video-foreground {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 100 * 9 / 16 (16:9 ratio) */
    min-height: 100vh;
    min-width: 177.77vh; /* 100 * 16 / 9 */
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.video-foreground iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sound Control Button */
.sound-control-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.sound-control-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Hero Content & Buttons */
.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Video Lightbox Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 8, 0, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(192, 138, 75, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-responsive-container {
    width: 100%;
    height: 100%;
}

.video-responsive-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    background: rgba(239, 68, 68, 0.8);
    color: #fff;
    transform: rotate(90deg);
}

.badge {
    display: inline-block;
    background-color: rgba(184, 134, 11, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-hover);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: #f1f5f9;
}

.owner-direct {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #a8f0c6 !important;
    letter-spacing: 1px;
    margin-bottom: 35px !important;
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.overview-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2.2rem;
    transition: var(--transition);
}

.overview-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #fff;
}

.overview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.overview-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.feature-box {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: var(--shadow-lg);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.feature-header i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.feature-header h3 {
    font-size: 1.6rem;
    color: var(--accent-color);
}

.feature-box ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-box li {
    position: relative;
    padding-right: 30px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.feature-box li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 2px;
    color: var(--primary-color);
}

/* Floors Timeline Section */
.floor-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px;
}

.floor-timeline::before {
    content: '';
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color);
}

.floor-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.floor-item:last-child {
    margin-bottom: 0;
}

.floor-marker {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 0 8px #fff, var(--shadow-sm);
}

.floor-content {
    background: #fff;
    margin-right: 40px;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    width: 100%;
}

.floor-content h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.floor-content p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.notes {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    border-right: 4px solid var(--primary-color);
}

.notes p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Gallery Section */
.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding-bottom: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block; /* Standard layout display */
}

/* Transparent shield to prevent right-click save and dragging on gallery images */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: rgba(0, 0, 0, 0);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    /* Disable drag and select */
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(30, 15, 0, 0.85), rgba(30, 15, 0, 0));
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
    text-align: right;
    z-index: 6; /* above the shield */
}

.gallery-item-info span {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.2px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-item-info {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    background-color: #ffffff;
    padding: 100px 0;
    position: relative;
}

.cta-section .container {
    background: #fff;
    border-radius: 30px;
    padding: 80px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}



.cta-section h2 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about .logo {
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a, .footer-contact a, .footer-contact li {
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
    animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.85), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar-container {
        grid-template-columns: auto 1fr;
    }
    .nav-links {
        display: none;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }
    .hero-buttons .btn-large,
    .hero-buttons a.btn-large {
        width: 100%;
        max-width: 320px;
        font-size: 1.1rem;
        padding: 14px 25px;
    }
    .sound-control-btn {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .floor-timeline::before {
        right: 20px;
    }
    .floor-marker {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .floor-content {
        margin-right: 20px;
        padding: 20px;
    }
    .cta-section h2 {
        font-size: 2.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
