/* ==========================================================================
   CSS Variables & Design System Setup
   Theme: Elegant, luxurious, modern.
   Colors: Clean white/cream, deep greens, subtle reds, premium gold/charcoal.
   ========================================================================== */
:root {
    /* Color Palette matching the provided logo */
    --color-bg: #FFFFFF; /* Pure White background */
    --color-primary: #109A47; /* Logo's Green */
    --color-accent: #E32322; /* Logo's Red */
    --color-red: #E32322; /* Logo's Red */
    --color-text: #2D2D2D; /* Charcoal body text */
    --color-text-light: #5A5A5A;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(16, 154, 71, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(16, 154, 71, 0.08);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Animation Speeds (User can adjust these!) */
    --float-speed: 6s;      /* How fast the elements bob up and down */
    --float-distance: -15px; /* How high the elements bob up */
}

/* ==========================================================================
   Global Resets & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

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

h1.brand-name-en {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

h2.brand-name-ar {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 2rem;
    direction: rtl; /* Right to left for Arabic */
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--color-primary);
}

p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ==========================================================================
   Anti-Gravity Animations (Continuous Float)
   ========================================================================== */
@keyframes float-up-down {
    0% { transform: translateY(0px); }
    50% { transform: translateY(var(--float-distance)); } /* Bobs up */
    100% { transform: translateY(0px); }
}

/* Base class applied to elements that should float */
.anti-gravity-element {
    animation: float-up-down var(--float-speed) ease-in-out infinite;
    will-change: transform; /* Hinting for browser optimization */
}

/* Delay variations to make elements float out of sync naturally */
.delayed-1 { animation-delay: 1.5s; }
.delayed-2 { animation-delay: 3s; }
.delayed-3 { animation-delay: 4.5s; }

/* ==========================================================================
   Glassmorphism Utilities
   ========================================================================== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* ==========================================================================
   Parallax Background Layers
   ========================================================================== */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}

/* Subtle abstract patterns or soft gradients for parallax effect */
.layer-1 {
    background: radial-gradient(circle at 10% 20%, rgba(227, 35, 34, 0.05) 0%, transparent 40%);
}

.layer-2 {
    background: radial-gradient(circle at 90% 80%, rgba(16, 154, 71, 0.05) 0%, transparent 40%);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05); /* subtle border */
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* soft drop shadow */
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.floating-logo-small.rounded-logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    /* Gentle independent float for nav logo */
    animation: float-up-down 5s ease-in-out infinite;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a {
    position: relative;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--color-text); /* dark text */
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links li a:hover {
    color: #0c8a44; /* Premium green */
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #0c8a44; /* Premium green */
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px 10px;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 76, 58, 0.2);
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.02) !important; /* Temporarily override float */
    box-shadow: 0 15px 25px rgba(15, 76, 58, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: -2;
    animation: kenBurns 25s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(10, 10, 10, 0.8));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1.brand-name-en {
    color: #ffffff;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-section h2.brand-name-ar {
    color: #fdfbf7;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.logo-wrapper {
    margin-bottom: 2.5rem;
}

.hero-logo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-btn {
    background-color: #0c8a44;
    border-color: #0c8a44;
    color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(12, 138, 68, 0.3);
}

.hero-btn:hover {
    background-color: #0a6b35 !important;
    border-color: #0a6b35 !important;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(12, 138, 68, 0.6) !important;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .section-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .about-text {
        flex: 1;
        padding-right: 3rem;
    }
    .about-images {
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

.about-images {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
}

.floating-img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    object-fit: cover;
}

.img-1 {
    width: 75%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 2;
    border: 4px solid var(--color-bg);
}

.img-2 {
    width: 65%;
    height: auto;
    bottom: -20px;
    right: 0;
    z-index: 1;
    border: 4px solid var(--color-bg);
}

/* ==========================================================================
   Services Section (Grid & Cards)
   ========================================================================== */
.services-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(15, 76, 58, 0.03));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    /* Add perspective for the 3D tilt effect */
    perspective: 1200px; 
}

.service-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(15, 76, 58, 0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    /* Move image slightly forward in 3D space */
    transform: translateZ(40px);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

.card-content h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    transform: translateZ(30px);
}

.card-content p {
    font-size: 1.05rem;
    transform: translateZ(20px);
}

/* ==========================================================================
   Footer & Contact Section
   ========================================================================== */
.footer-section {
    background-color: #0a1c11; /* Very Dark Forest Green */
    color: #f9f7f2; /* Highly readable soft cream */
    padding: 6rem 2rem 2rem;
    text-align: left;
}

.footer-vip {
    text-align: center;
    margin-bottom: 4rem;
}

.vip-tagline {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: #D4AF37;
}

.gold-divider {
    width: 40px;
    height: 1px;
    background-color: #D4AF37;
    margin: 15px auto 20px auto;
}

.vip-number {
    display: inline-block;
    padding: 15px 45px;
    border-radius: 50px;
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #D4AF37;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.vip-number:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #D4AF37;
    transform: translateY(-3px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .vip-number {
        font-size: 24px;
        padding: 12px 30px;
    }
    
    /* Horizontal Row Layout for Explore Links */
    .links-col ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 20px;
    }
    
    .links-col ul li {
        display: inline-block;
        margin-bottom: 0;
        text-align: center;
    }
    
    .concierge-col ul {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .concierge-col ul li {
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom p span {
        display: block;
        text-align: center;
        margin-bottom: 5px;
        line-height: 1.6;
    }
    
    /* Venue Pills Mobile Responsiveness */
    .premium-venue-pill {
        width: 85%;
        max-width: 260px;
        min-height: 65px;
        margin: 0 auto;
        padding: 10px 20px;
        font-size: 13px;
        align-items: center;
        justify-content: flex-start;
    }
    
    .premium-venue-pill .pill-icon {
        font-size: 13px;
    }

    .venue-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
}

.footer-col h4,
.footer-col h5.col-title {
    color: #D4AF37;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.brand-col .footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border: 2px solid #D4AF37;
}

.brand-col p {
    color: #e0ddd5;
    font-size: 1.05rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #e0ddd5;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #D4AF37;
    transform: translateX(5px);
}

.concierge-col ul li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 0.5rem;
}

.concierge-col .concierge-name {
    color: #e0ddd5;
}

.concierge-col a {
    color: #D4AF37;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .social-icons {
        justify-content: center;
    }
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #f9f7f2;
    transition: all 0.3s ease;
}

.social-icons a svg {
    width: 20px;
    height: 20px;
}

.social-icons a:hover {
    background: #D4AF37;
    color: #0a1c11;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #a09d96;
}

/* ==========================================================================
   Venues Section
   ========================================================================== */
/* ==========================================================================
   Venues Section
   ========================================================================== */
.venues-section {
    padding: 8rem 2rem;
    background-color: #FAF9F6; /* Soft warm cream */
    position: relative;
    overflow: hidden;
}

.venues-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    z-index: 0;
}

.venues-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.section-overline {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
    color: #D4AF37;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.venue-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}

.premium-venue-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 50px;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    font-family: 'Inter', sans-serif;
    color: #0c8a44;
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.premium-venue-pill:hover {
    background-color: #0c8a44;
    color: #D4AF37;
    transform: translateY(-5px) scale(1.03) !important;
    border-color: #0c8a44;
    box-shadow: 0 20px 40px rgba(12, 138, 68, 0.2);
}

.pill-icon {
    font-size: 1.3rem;
    transition: color 0.4s ease;
}

.venue-text {
    display: inline-flex;
    flex-direction: row;
    gap: 0.3em;
    text-align: left;
    line-height: 1.2;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 6rem 2rem;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.gallery-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.gallery-img:hover {
    transform: scale(1.03) !important;
    z-index: 10;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 8rem 2rem;
    background: linear-gradient(to top, transparent, rgba(16, 154, 71, 0.03));
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.testimonial-card {
    padding: 3rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stars {
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.client-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ==========================================================================
   VIP Consultation Inquiry Form
   ========================================================================== */
.inquiry-section {
    padding: 6rem 2rem;
}

.inquiry-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 4.5rem 3.5rem;
    border-radius: 24px;
}

.floating-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.input-group > * {
    flex: 1;
    min-width: 250px;
}

.glass-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

.glass-input::placeholder {
    color: var(--color-text-light);
    opacity: 0.8;
}

/* Custom styling for select dropdown to look sleeker */
select.glass-input {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(16, 154, 71, 0.1);
}

textarea.glass-input {
    resize: vertical;
    min-height: 140px;
}

.float-hover:hover {
    transform: translateY(-5px) scale(1.02) !important;
}

/* ==========================================================================
   Responsive Utilities (Mobile First adaptations)
   ========================================================================== */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-section {
        padding-top: 10rem;
    }
    
    .about-images {
        height: 350px;
    }
    
    .img-1 { width: 85%; }
    .img-2 { width: 75%; bottom: 0; }
    
    .services-grid, .gallery-masonry, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .inquiry-container {
        padding: 3rem 1.5rem;
    }
}
