/* ============================================
   24K Restaurant - Luxury Gold Edition (2026)
   ============================================ */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Luxury Gold Palette */
    --gold-primary: #D4AF37;
    --gold-light: #F5E6C8;
    --gold-dark: #8A6E2F;
    --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --gold-text-gradient: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7);

    /* Backgrounds */
    --black: #050505;
    --black-soft: #0F0F0F;
    --black-glass: rgba(10, 10, 10, 0.85);

    /* Text */
    --white: #FFFFFF;
    --gray: #B0B0B0;

    /* Effects */
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.15);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.8);
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===== RESET & TYPOGRAPHY ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Arabic Font Override */
body[lang="ar"] {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

body[lang="ar"] h1,
body[lang="ar"] h2,
body[lang="ar"] h3 {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVIGATION ===== */
/* ===== NAVIGATION ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

/* Navbar scrolled state removed as requested */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Force LTR layout for navbar even in RTL mode to keep logo on left */
html[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

.nav-logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 55px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 2;
    /* Ensure controls are on the right in LTR */
}

/* In RTL with row-reverse, we need to ensure correct ordering visually */
html[dir="rtl"] .nav-controls {
    /* No specific change needed if row-reverse handles the container */
}

.lang-toggle-btn {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 8px 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.lang-toggle-btn:hover {
    background: var(--gold-primary);
    color: var(--black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-btn {
    padding: 0.9rem 2.2rem;
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.menu-btn:hover {
    background: var(--gold-primary);
    color: var(--black);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO SECTION (REDESIGNED) ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.hero-frame {
    position: relative;
    z-index: 3;
    padding: 4rem 3rem;
    border: 3px solid;
    border-image: var(--gold-gradient) 1;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    max-width: 900px;
    text-align: center;
    box-shadow:
        0 0 60px rgba(212, 175, 55, 0.3),
        inset 0 0 60px rgba(212, 175, 55, 0.05);
    animation: frameGlow 3s ease-in-out infinite alternate;
}

@keyframes frameGlow {
    from {
        box-shadow: 0 0 60px rgba(212, 175, 55, 0.3), inset 0 0 60px rgba(212, 175, 55, 0.05);
    }

    to {
        box-shadow: 0 0 80px rgba(212, 175, 55, 0.5), inset 0 0 80px rgba(212, 175, 55, 0.1);
    }
}

.hero-frame::before,
.hero-frame::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid var(--gold-primary);
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.hero-frame::before {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
}

.hero-frame::after {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
}

.hero-badge {
    color: var(--gold-primary);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 6rem;
    font-weight: 700;
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    color: var(--gold-light);
    font-weight: 400;
    letter-spacing: 8px;
    margin-top: 1rem;
    text-transform: uppercase;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 2rem auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1.2rem 3rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: var(--black);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    background-position: right center;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* ===== RESPONSIBILITY SECTION (NEW) ===== */
.responsibility {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--black), var(--black-soft));
    position: relative;
}

.responsibility-box {
    border: 2px solid;
    border-image: var(--gold-gradient) 1;
    padding: 5rem 4rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0.5) 70%);
    position: relative;
    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.2),
        inset 0 0 40px rgba(212, 175, 55, 0.05);
}

.responsibility-box::before {
    content: '❝';
    font-size: 8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
}

.responsibility-text {
    font-size: 1.4rem;
    color: var(--gray);
    max-width: 950px;
    margin: 2rem auto;
    line-height: 2;
    font-weight: 300;
}

.responsibility-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.responsibility-icons span {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gold-light);
    transition: var(--transition);
}

.responsibility-icons span:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 8rem 0;
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.image-frame {
    position: relative;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.image-frame img {
    width: 100%;
    filter: grayscale(20%) contrast(110%);
    transition: var(--transition);
}

.image-frame:hover img {
    filter: grayscale(0%);
}

.section-label {
    color: var(--gold-primary);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.2;
}

.about-text {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.feature-item h3 {
    font-size: 1rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 8rem 0;
    background: var(--black-soft);
}

.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(0, 0, 0, 1));
    padding: 3rem 2rem;
    border: 2px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: var(--transition);
    border-radius: 50%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

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

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 5px;
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0));
    border-color: rgba(212, 175, 55, 0.3);
}

/* ===== EVENTS SECTION ===== */
.events {
    padding: 8rem 0;
    background: var(--black);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.event-card {
    background: var(--black-soft);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.event-card:hover {
    background: var(--gold-primary);
    transform: translateY(-5px);
}

.event-card:hover h3,
.event-card:hover .event-icon {
    color: var(--black);
}

.event-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--gold-primary);
    transition: var(--transition);
}

.event-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.3));
}

.event-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

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

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 8rem 0;
    background: var(--black-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Different size classes for variety */
.gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.medium {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.tall {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

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

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-auto-rows: 200px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 12px;
    }

    /* On mobile, all images should be uniform size - override all size classes */
    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.medium,
    .gallery-item.small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .gallery-item.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    /* Ensure images fill the container properly on mobile */
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Reduce border radius for mobile for cleaner look */
    .gallery-item {
        border-radius: 10px;
    }
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== CONTACT & MAP SECTION ===== */
.contact {
    padding: 8rem 0;
    background: var(--black);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.location-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9), rgba(0, 0, 0, 1));
    border: 2px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.8s ease;
}

.location-card:hover::before {
    left: 100%;
}

.location-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.location-info {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.location-info h3 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.location-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

.map-frame {
    width: 100%;
    height: 300px;
    filter: grayscale(100%) invert(90%);
    transition: var(--transition);
}

.location-card:hover .map-frame {
    filter: grayscale(0%) invert(0%);
}

.contact-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--gold-primary);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links a:hover {
    color: var(--gold-primary);
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 1));
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: shimmer 4s linear infinite;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 0;
    background: #000;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin: 0 auto 1rem;
}

.footer p {
    color: var(--gray);
    font-size: 0.8rem;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5),
        0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5),
            0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6),
        0 0 0 0 rgba(37, 211, 102, 0);
}

.whatsapp-btn:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.whatsapp-text {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .title-main {
        font-size: 3.5rem;
    }

    .hero-frame {
        padding: 2rem;
        margin: 1rem;
    }

    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Hide navigation menu completely on mobile */
    .nav-menu {
        display: none !important;
    }

    .nav-toggle {
        display: none !important;
        /* Keep hidden as per request */
    }

    /* Center logo on mobile */
    .nav-container {
        justify-content: center;
        padding: 0 1rem;
        position: relative;
        /* For absolute positioning of controls if needed */
    }

    /* Position controls (lang button) on the right/left depending on dir */
    .nav-controls {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 1rem;
        /* In LTR */
    }

    html[dir="rtl"] .nav-controls {
        right: auto;
        left: 1rem;
        /* In RTL */
    }

    /* But wait, user wants logo centered. If I use absolute for controls, logo stays centered. */

    .nav-logo img {
        height: 60px;
    }

    /* Adjust language switcher for mobile */
    .lang-toggle-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Hero section mobile adjustments */
    .title-main {
        font-size: 4.5rem;
    }

    .title-sub {
        font-size: 1.4rem;
        letter-spacing: 5px;
    }

    .hero-frame {
        padding: 2rem 1rem;
        margin: 0.5rem auto;
        max-width: 96%;
        width: 96%;
    }

    .hero-frame::before,
    .hero-frame::after {
        display: none;
    }

    .hero-badge {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    /* Section titles mobile */
    .section-title {
        font-size: 2.2rem;
    }

    .section-label {
        font-size: 0.8rem;
    }

    /* Responsibility section mobile */
    .responsibility {
        padding: 4rem 0;
    }

    .responsibility-box {
        padding: 3rem 1.5rem;
    }

    .responsibility-box::before {
        font-size: 5rem;
        top: -25px;
    }

    .responsibility-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .responsibility-icons {
        gap: 1rem;
    }

    .responsibility-icons span {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    /* About section mobile */
    .about,
    .services,
    .events,
    .gallery,
    .contact,
    .final-cta {
        padding: 4rem 0;
    }

    .about-text {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Services mobile */
    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Events mobile */
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .event-card {
        padding: 1.5rem 1rem;
    }

    .event-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .event-card h3 {
        font-size: 0.95rem;
    }

    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .gallery-item,
    .gallery-item.large {
        height: 250px;
    }

    /* Contact mobile */
    .contact-footer {
        flex-direction: column;
        gap: 1.5rem;
    }

    .location-card {
        padding: 1rem;
    }

    .location-info {
        padding: 1rem;
    }

    .map-frame {
        height: 250px;
    }

    /* Final CTA mobile */
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }

    /* WhatsApp button mobile */
    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
        padding: 8px 16px;
    }

    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-text {
        font-size: 0.85rem;
    }

    /* Container padding mobile */
    .container,
    .container-wide {
        padding: 0 1.5rem;
    }
}

/* ===== BRANCH SELECTION MODAL ===== */
.branch-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.branch-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 3rem;
    border: 2px solid;
    border-image: var(--gold-gradient) 1;
    max-width: 700px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--gold-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.branch-modal-close:hover {
    color: var(--gold-light);
    transform: rotate(90deg);
}

.branch-modal-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branch-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.branch-option {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.5));
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.branch-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition);
}

.branch-option:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.branch-option:hover::before {
    opacity: 0.1;
}

.branch-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.branch-option h3 {
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.branch-option p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.branch-phone {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ===== GOOGLE MAPS BUTTONS ===== */
.map-btn {
    display: block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: var(--black);
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    background-position: right center;
}

/* ===== LOCATION PHONE NUMBERS ===== */
.location-phone {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.location-phone a {
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.location-phone a:hover {
    color: var(--gold-light);
    transform: translateX(5px);
}

/* ===== CONTACT FOOTER UPDATES ===== */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item .separator {
    color: var(--gold-primary);
    margin: 0 0.5rem;
}

.contact-item span {
    color: var(--gray);
}

.contact-item a {
    color: var(--gold-primary);
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--gold-light);
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 768px) {
    .branch-modal-content {
        padding: 2rem;
        width: 95%;
    }

    .branch-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .branch-modal-title {
        font-size: 1.5rem;
    }

    .branch-option {
        padding: 1.5rem 1rem;
    }

    .branch-icon {
        font-size: 2.5rem;
    }

    .branch-option h3 {
        font-size: 1.1rem;
    }

    .map-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.3rem;
    }

    .contact-item .separator {
        display: none;
    }
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.gallery-modal-close:hover {
    background: var(--gold-primary);
    color: var(--black);
    transform: rotate(90deg);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-nav:hover {
    background: var(--gold-primary);
    color: var(--black);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

.gallery-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-thumbnails {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    max-width: 90%;
    overflow-x: auto;
    z-index: 10002;
}

.gallery-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
    border-color: var(--gold-primary);
    opacity: 1;
    transform: scale(1.1);
}

/* ===== RESPONSIVE GALLERY MODAL ===== */
@media (max-width: 768px) {
    .gallery-modal-content {
        max-height: 60vh;
    }

    .gallery-modal-content img {
        max-height: 60vh;
    }

    .gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }

    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-thumbnails {
        bottom: 10px;
        padding: 10px;
        gap: 8px;
    }

    .gallery-thumbnails img {
        width: 60px;
        height: 60px;
    }

    .gallery-counter {
        bottom: -40px;
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

/* ===== SOCIAL MEDIA BUTTONS ===== */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn svg {
    transition: transform 0.3s;
}

.social-btn:hover svg {
    transform: scale(1.2) rotate(5deg);
}

/* Instagram Button */
.instagram-btn {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #F77737 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.4);
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.6);
}

/* Facebook Button */
.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.facebook-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

/* TikTok Button */
.tiktok-btn {
    background: linear-gradient(135deg, #000000 0%, #EE1D52 50%, #69C9D0 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(238, 29, 82, 0.4);
}

.tiktok-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(238, 29, 82, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .social-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }

    .social-btn span {
        display: none;
    }

    .social-links {
        gap: 10px;
    }
}
/* Location Images Styling */
.map-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.location-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(20%) brightness(0.95);
}

.map-image-link:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.map-image-link:hover .location-image {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.05);
}
