/* =========================================
   GLOBAL
========================================= */
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #e6e6e6;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
    animation: fadeIn 1s ease;
}

:root {
    --gold: #c9a856;
    --gold-light: #e3c878;
}

* { transition: 0.3s ease; }

@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

/* =========================================
   FLOATING GOLD PARTICLES
========================================= */
.particles {
    position: absolute;
    top: 100px;
    left: 0;
    height: 350px;
    width: 100%;
    pointer-events: none;

    background:
        radial-gradient(circle, rgba(255,215,0,0.10) 2px, transparent 3px),
        radial-gradient(circle, rgba(255,215,0,0.06) 2px, transparent 3px),
        radial-gradient(circle, rgba(255,215,0,0.14) 2px, transparent 3px);

    background-size: 160px 160px, 200px 200px, 120px 120px;
    animation: floatParticles 28s linear infinite;
}

@keyframes floatParticles {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* =========================================
   LANGUAGE SWITCH
========================================= */
.lang-switch {
    text-align: right;
    padding: 12px 25px;
    background: #0d0d0d;
}

.lang-switch button {
    background: var(--gold);
    border: none;
    padding: 8px 18px;
    margin-left: 8px;
    color: #000;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0d0d0d;
    padding: 18px 60px;
    border-bottom: 1px solid #222;
    box-shadow: 0 0 10px #000;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold);
}

nav {
    display: flex;
    gap: 20px;
}

nav .nav-link {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
}

nav .nav-link:hover {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

/* =========================================
   HERO SECTION — STRETCHED DOWN & NO TOP SHADING
========================================= */
/* HERO SECTION — IMAGE STRETCHED FULL DOWN */
.hero {
    position: relative;
    text-align: center;

    padding: 100px 20px 140px;

    background:
        linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.65)),
        url('../logos/hero.jpg');

    background-size: cover;

    /* STRETCH IMAGE ALL THE WAY DOWN */
    background-position: center 100%;

    /* remove any image masking */
    mask-image: none;
    -webkit-mask-image: none;

    box-shadow: inset 0 0 50px rgba(237, 237, 237, 0.35);
}

/* Soft gold glow */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at center,
        rgba(201,168,86,0.07),
        transparent 75%
    );

    pointer-events: none;
}

/* =========================================
   HERO TEXT
========================================= */
.hero h1 {
    font-size: 50px;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(201,168,86,0.4);
    position: relative;
}

.hero h1::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 170px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.7;
}

.hero p {
    max-width: 700px;
    margin: 20px auto 25px;
    font-size: 18px;
    line-height: 1.6;
    color: #f2f2f2;
    text-shadow: 0 0 6px rgba(0,0,0,0.7);
}

/* Button */
.primary-btn {
    padding: 12px 32px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(201,168,86,0.5);
}

.primary-btn:hover {
    background: var(--gold-light);
    box-shadow: 0 0 18px rgba(201,168,86,0.8);
}

/* =========================================
   ABOUT SECTION
========================================= */
.preview-section {
    padding: 100px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
    background: linear-gradient(to bottom, 000, #0a0a0a);
    border-top: 1px solid #222;
}

.preview-section h2 {
    font-size: 32px;
    color: var(--gold);
    text-shadow: 0 0 12px rgba(201,168,86,0.5);
}

.preview-section p {
    font-size: 18px;
    color: #d8d8d8;
    margin-top: 15px;
    line-height: 1.9;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

/* FOOTER */
.main-footer {
    text-align: center;
    padding: 20px;
    background: #f4f6f3;
    color: #888;
}
.main-footer:hover { color: var(--gold); }

/* RTL */
.ltr { direction: ltr; text-align: left; }
.rtl { direction: rtl; text-align: right; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 16px; }
}
/* =====================================================
   HOME PAGE — MODERN BLACK & GOLD HERO STYLE
   Keeps existing fonts, sizes, layout, and functionality
===================================================== */

/* HERO LAYOUT */
.hero {
    position: relative;
    min-height: 560px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 90px 20px;
    text-align: center;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.34)
        ),
        url("../logos/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: none;
    overflow: hidden;
}

/* REMOVE OLD EXTRA HERO OVERLAY */
.hero::before {
    display: none;
}

/* HERO TITLE */
.hero h1 {
    width: 50%;
    max-width: none;

    margin: 0 auto 20px;

    color: #efeeef;
    text-align: center;
    white-space: nowrap;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.75),
        0 0 16px rgba(201, 168, 86, 0.28);
}

/* GOLD UNDERLINE */
.hero h1::after {
    content: "";
    display: block;

    width: 170px;
    height: 3px;

    margin: 16px auto 0;

    background: linear-gradient(
        to right,
        transparent,
        #c9a856,
        transparent
    );

    border-radius: 4px;
}

/* HERO DESCRIPTION */
.hero p {
    max-width: 900px;

    margin: 0 auto 28px;

    color: #ffffff;
    text-align: center;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85);
}

/* HERO BUTTON */
.primary-btn {
    display: inline-block;

    margin: 0 auto;
    padding: 12px 32px;

    background: #c9a856;
    color: #000000;

    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35),
        0 0 16px rgba(201, 168, 86, 0.25);
}

.primary-btn:hover {
    background: #e3c878;
    color: #000000;

    transform: translateY(-3px);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.42),
        0 0 22px rgba(201, 168, 86, 0.4);
}

/* ARABIC HERO — KEEP CENTERED */
body.rtl .hero {
    align-items: center;
    text-align: center;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.34)
        ),
        url("../logos/hero.jpg");

    background-size: cover;
    background-position: center;
}

body.rtl .hero h1,
body.rtl .hero p,
body.rtl .primary-btn {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.rtl .hero h1::after {
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero h1 {
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 470px;
        padding: 70px 20px;
    }

    .hero h1 {
        white-space: normal;
    }

    .hero p {
        max-width: 95%;
    }
}