/* ----------------------------------------------------------
   GLOBAL STYLES – Premium Aljawad Identity
---------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #ffffff;
    color: #3a3a3a;
}

/* GOLD BRAND COLOR */
:root {
    --gold: #c9a95a;
    --dark: #222222;
}


/* ----------------------------------------------------------
   NAVIGATION BAR
---------------------------------------------------------- */

nav {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.nav-logo {
    height: 55px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--gold);
}

/* Careers button */
.careers-btn {
    padding: 8px 16px;
    background-color: var(--gold);
    border-radius: 5px;
    color: #fff !important;
}

.careers-btn:hover {
    background-color: #b39047;
}


/* ----------------------------------------------------------
   HERO SECTION
---------------------------------------------------------- */

.hero {
    height: 500px;
    background: linear-gradient(to bottom, #fafafa, #ffffff);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    text-align: center;
}

.hero-logo {
    width: 180px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 44px;
    color: var(--dark);
    margin: 10px 0;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    width: 70%;
    max-width: 700px;
    color: #616161;
}


/* ----------------------------------------------------------
   SECTIONS
---------------------------------------------------------- */

section {
    padding: 90px 50px;
    text-align: center;
    border-bottom: 1px solid #f2f2f2;
}

section h2 {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 16px;
}

section p {
    font-size: 17px;
    max-width: 900px;
    margin: auto;
    line-height: 1.7;
    color: #444;
}


/* ----------------------------------------------------------
   FEATURES LIST (Logistics Section)
---------------------------------------------------------- */

.features {
    list-style: none;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0;
    text-align: left;
}

.features li {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
}

.features strong {
    color: var(--dark);
}


/* ----------------------------------------------------------
   IMAGE SECTIONS (Brands & Partners)
---------------------------------------------------------- */

.brands-img,
.partners-img,
.license-logo {
    width: 80%;
    max-width: 900px;
    margin-top: 25px;
}


/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */

footer {
    background-color: var(--dark);
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 15px;
}
.site-footer {
    background: #111;
    color: #ccc;
    padding: 30px 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-social a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 13px;
    color: #aaa;
}

/* ----------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------- */

@media (max-width: 900px) {
    nav {
        padding: 10px 20px;
    }

    nav ul {
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        width: 90%;
        font-size: 16px;
    }

    section {
        padding: 70px 20px;
    }
}

@media (max-width: 600px) {
    nav ul {
        display: none; /* Add optional mobile menu later */
    }

    .hero-logo {
        width: 140px;
    }

    section h2 {
        font-size: 26px;
    }

    section p {
        font-size: 16px;
    }
}img {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-logo,
.brands-img,
.partners-img,
.license-logo {
    display: block !important;
    margin: 20px auto !important;
    opacity: 1 !important;
}

/* ----------------------------------------------------------
   RTL SUPPORT FOR ARABIC PAGE
---------------------------------------------------------- */

body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl nav ul {
    flex-direction: row-reverse;
}

body.rtl h1,
body.rtl h2,
body.rtl p,
body.rtl li {
    text-align: right;
}
/* Store Button */
.store-btn {
    padding: 8px 16px;
    background-color: #222;
    color: #fff !important;
    border-radius: 5px;
    transition: 0.3s;
}

.store-btn:hover {
    background-color: var(--gold);
}

/* Language Button */
.lang-btn {
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid var(--gold);
    border-radius: 5px;
    color: var(--gold) !important;
    font-weight: 600;
}

.lang-btn:hover {
    background-color: var(--gold);
    color: #fff !important;
}

/* Navigation container wrapper */
.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Allow wrapping to avoid overflowing */
nav ul {
    flex-wrap: wrap;
}

/* Fix RTL nav direction */
body.rtl .nav-container {
    flex-direction: row-reverse;
}

/* ============================= */
/* Partners Slider – FINAL */
/* ============================= */

.partners-slider {
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partner-scroll 10s linear infinite;
}

.partner-item {
    width: calc(100vw / 7);
    max-width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* RTL direction */
.partners-slider.rtl .partners-track {
    animation-direction: reverse;
}

/* Animation */
@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .partner-item {
        width: calc(100vw / 4);
    }
}

@media (max-width: 600px) {
    .partner-item {
        width: calc(100vw / 2);
    }
}