/* =============================================
   base.css - المتغيرات والأساسيات والطباعة
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    /* الألوان */
    --gold: #D4A843;
    --gold-dark: #B8860B;
    --gold-light: #F0D78C;
    --green: #1B5E20;
    --green-light: #2E7D32;
    --blue-dark: #0D1B2A;
    --blue: #1B2838;
    --black: #0A0A0A;
    --cream: #F5F0E8;
    --cream-light: #FAF8F5;
    --text-light: rgba(245, 240, 232, 0.85);

    /* الخطوط */
    --font-heading: 'Amiri', serif;
    --font-body: 'Tajawal', sans-serif;

    /* الحركة */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--cream);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    position: relative;
}

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

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

ul, ol {
    list-style: none;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--blue-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

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

/* ===== SVG Icons Base ===== */
.leader-icon svg,
.service-card .icon svg,
.value-item .icon svg,
.contact-detail .icon svg {
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes patternMove {
    to {
        background-position: 400px 400px;
    }
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}
/* =============================================
   layout.css - Navbar + Hero + Sections + Footer
   ============================================= */

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    max-width: 100%;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.3));
}

.nav-logo span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0;
    white-space: nowrap;
}

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

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

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

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.06;
    animation: patternMove 60s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--black) 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 2rem 1.5rem;
}

.hero-logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 2rem;
    display: block;
    animation: fadeInDown 1s ease;
    filter: drop-shadow(0 0 25px rgba(212, 168, 67, 0.2));
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 0 40px rgba(212, 168, 67, 0.12);
    line-height: 1.4;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--gold-light);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 1.5rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 2;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.8s both;
    cursor: pointer;
    background: transparent;
}

.hero-btn:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 30px rgba(212, 168, 67, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 35px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: 2px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.section-dark {
    background: var(--blue-dark);
}

.section-darker {
    background: var(--black);
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.section-header .line {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 0.8rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--blue-dark);
    border-top: 1px solid rgba(212, 168, 67, 0.1);
    padding: 2.5rem 0 1.5rem;
    max-width: 100%;
    overflow: hidden;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-logo span {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(212, 168, 67, 0.05);
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.6;
}
/* =============================================
   components.css - About, Leaders, Business,
   Heritage, Values, Contact components
   ============================================= */

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1rem;
    font-size: 0.98rem;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-image .frame {
    border: 2px solid var(--gold-dark);
    padding: 1.5rem;
    position: relative;
}

.about-image .frame::before,
.about-image .frame::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--gold);
    border-style: solid;
}

.about-image .frame::before {
    top: -5px;
    right: -5px;
    border-width: 2px 2px 0 0;
}

.about-image .frame::after {
    bottom: -5px;
    left: -5px;
    border-width: 0 0 2px 2px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(212, 168, 67, 0.04);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 4px;
}

.stat-item .num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    display: block;
}

.stat-item .label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

/* ===== LEADERS ===== */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.leader-card {
    background: rgba(27, 43, 56, 0.4);
    border: 1px solid rgba(212, 168, 67, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 168, 67, 0.25);
}

.leader-card.featured {
    border-color: var(--gold-dark);
    background: rgba(212, 168, 67, 0.06);
}

.leader-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--gold);
    background: rgba(212, 168, 67, 0.04);
}

.leader-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--gold);
}

.leader-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.leader-card .role {
    color: var(--gold-light);
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 0.8rem;
}

.leader-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.8;
}

/* ===== BUSINESS ===== */
.business-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.service-card {
    background: rgba(27, 46, 50, 0.3);
    border: 1px solid rgba(212, 168, 67, 0.08);
    padding: 1.8rem 1.2rem;
    text-align: center;
    border-radius: 6px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(212, 168, 67, 0.25);
    transform: translateY(-3px);
}

.service-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.04);
}

.service-card .icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
}

.service-card h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ===== HERITAGE ===== */
.heritage-content {
    max-width: 850px;
    margin: 0 auto;
}

.heritage-story {
    background: rgba(27, 43, 56, 0.3);
    border-right: 3px solid var(--gold);
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 0 6px 6px 0;
}

.heritage-story h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.heritage-story p {
    color: var(--text-light);
    line-height: 2;
    font-size: 0.95rem;
}

.heritage-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.heritage-locations span {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(212, 168, 67, 0.2);
    color: var(--gold-light);
    font-size: 0.85rem;
    border-radius: 3px;
    background: rgba(212, 168, 67, 0.03);
}

.heritage-quote {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-top: 1.5rem;
    position: relative;
}

.heritage-quote::before {
    content: '\201D';
    font-size: 4.5rem;
    color: var(--gold);
    opacity: 0.12;
    position: absolute;
    top: -0.5rem;
    right: 50%;
    transform: translateX(50%);
    font-family: var(--font-heading);
    line-height: 1;
}

.heritage-quote p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-light);
    font-style: italic;
    padding-top: 1.5rem;
    line-height: 1.9;
}

/* ===== VALUES ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem 0.8rem;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-item .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 168, 67, 0.12);
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.04);
}

.value-item .icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
}

.value-item h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.contact-info p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(212, 168, 67, 0.03);
    border: 1px solid rgba(212, 168, 67, 0.08);
    border-radius: 6px;
    transition: var(--transition);
}

.contact-detail:hover {
    border-color: rgba(212, 168, 67, 0.2);
}

.contact-detail .icon {
    color: var(--gold);
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail .icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
}

.contact-detail .text {
    color: var(--text-light);
}

.contact-detail .text strong {
    display: block;
    color: var(--cream);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contact-detail .text span {
    font-size: 0.85rem;
    direction: ltr;
    display: inline-block;
}

/* ===== FORM ===== */
.contact-form {
    background: rgba(27, 43, 56, 0.3);
    border: 1px solid rgba(212, 168, 67, 0.1);
    padding: 2rem;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    color: var(--gold-light);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(212, 168, 67, 0.15);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition);
    direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 168, 67, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 0.9rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.submit-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    display: none;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    display: block;
    background: rgba(27, 94, 32, 0.15);
    border: 1px solid var(--green);
    color: #81C784;
}

.form-status.error {
    display: block;
    background: rgba(183, 28, 28, 0.1);
    border: 1px solid #C62828;
    color: #EF9A9A;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* =============================================
   GALLERY - معرض الصور
   ============================================= */

/* Slider Container */
.gallery-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 67, 0.15);
}

.gallery-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    background: var(--black);
}

.gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
    background: #0a0a0a;
    cursor: pointer;
}

/* Arrows - overlay on image */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 168, 67, 0.4);
    color: var(--gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-prev {
    right: 1rem;
}

.gallery-next {
    left: 1rem;
}

.gallery-arrow:hover {
    background: rgba(212, 168, 67, 0.3);
    border-color: var(--gold);
}

.gallery-arrow svg {
    stroke: var(--gold);
    stroke-width: 2.5;
    fill: none;
}

/* Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.2);
    border: 1px solid rgba(212, 168, 67, 0.3);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.gallery-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    color: var(--gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--gold);
    color: var(--black);
}

/* Video */
.gallery-video {
    margin-top: 3rem;
    text-align: center;
}

.gallery-video h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 67, 0.15);
    background: #000;
}

.video-wrapper video {
    width: 100%;
    display: block;
    max-height: 450px;
}

/* =============================================
   responsive.css - تنسيق جميع أحجام الشاشات
   ============================================= */

/* ===== Tablet Landscape (1024px) ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

/* ===== Tablet Portrait (768px) ===== */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1.2rem;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: transform 0.4s ease, visibility 0.4s ease;
        z-index: 1000;
        padding: 2rem 0;
        transform: translateX(100%);
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .hero-desc {
        font-size: 0.92rem;
        margin-bottom: 2rem;
    }

    .hero-btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Sections */
    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    /* About */
    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .stat-item {
        padding: 0.8rem 0.3rem;
    }

    .stat-item .num {
        font-size: 1.4rem;
    }

    .stat-item .label {
        font-size: 0.72rem;
    }

    /* Leaders */
    .leaders-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

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

    .leader-icon {
        width: 56px;
        height: 56px;
    }

    .leader-icon svg {
        width: 22px;
        height: 22px;
    }

    .leader-card h3 {
        font-size: 1rem;
    }

    .leader-card p {
        font-size: 0.82rem;
    }

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

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

    /* Heritage */
    .heritage-story {
        padding: 1.2rem 1.5rem;
    }

    .heritage-story h3 {
        font-size: 1.15rem;
    }

    .heritage-quote p {
        font-size: 1.05rem;
    }

    /* Values */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .value-item {
        padding: 1rem 0.5rem;
    }

    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ===== Mobile (480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Hero */
    .hero-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1.2rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

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

    .hero-desc {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header p {
        font-size: 0.88rem;
    }

    /* About */
    .about-text p {
        font-size: 0.9rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stat-item .num {
        font-size: 1.2rem;
    }

    /* Leaders */
    .leaders-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .leader-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: right;
        gap: 1rem;
        padding: 1.2rem;
    }

    .leader-icon {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
    }

    .leader-icon svg {
        width: 20px;
        height: 20px;
    }

    .leader-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .leader-card .role {
        margin-bottom: 0.3rem;
        font-size: 0.78rem;
    }

    .leader-card p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .service-card {
        padding: 1.2rem 0.8rem;
    }

    .service-card .icon {
        width: 42px;
        height: 42px;
    }

    .service-card .icon svg {
        width: 18px;
        height: 18px;
    }

    .service-card h4 {
        font-size: 0.92rem;
    }

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

    /* Heritage */
    .heritage-story {
        padding: 1rem 1.2rem;
        margin-bottom: 1rem;
    }

    .heritage-story h3 {
        font-size: 1.05rem;
    }

    .heritage-story p {
        font-size: 0.88rem;
    }

    .heritage-locations {
        gap: 0.5rem;
    }

    .heritage-locations span {
        font-size: 0.78rem;
        padding: 0.3rem 0.8rem;
    }

    .heritage-quote {
        padding: 2rem 1rem;
    }

    .heritage-quote p {
        font-size: 0.95rem;
    }

    /* Values */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .value-item .icon {
        width: 44px;
        height: 44px;
    }

    .value-item .icon svg {
        width: 20px;
        height: 20px;
    }

    .value-item h4 {
        font-size: 0.92rem;
    }

    .value-item p {
        font-size: 0.75rem;
    }

    /* Contact */
    .contact-info h3 {
        font-size: 1.2rem;
    }

    .contact-detail {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }

    .submit-btn {
        padding: 0.8rem;
        font-size: 0.88rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-links {
        gap: 0.8rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }
}

/* ===== Small Mobile (360px) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 0.8rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

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

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

    .about-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-slide img {
        height: 300px;
    }
    .gallery-arrow {
        width: 36px;
        height: 36px;
    }
    .gallery-prev {
        right: 0.5rem;
    }
    .gallery-next {
        left: 0.5rem;
    }
    .gallery-arrow svg {
        width: 18px;
        height: 18px;
    }
    .video-wrapper video {
        max-height: 280px;
    }
    .gallery-video h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gallery-slide img {
        height: 250px;
    }
    .gallery-arrow {
        width: 32px;
        height: 32px;
    }
    .gallery-prev {
        right: 0.3rem;
    }
    .gallery-next {
        left: 0.3rem;
    }
    .video-wrapper video {
        max-height: 200px;
    }
}
