/* =========================================================
   SULTAN HILAL TEXTILE TRADING LLC
   FINAL FIXED CSS
   Correct structure:
   CSS:  /website/assets/css/style.css
   HERO: /website/assets/images/hero.jpg
   LOGO: /images/sultan_logo.png
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #12372a;
    --green-dark: #0b261d;
    --gold: #d4af37;
    --gold-dark: #b8891c;
    --cream: #f7f3ea;
    --cream-light: #fffaf0;
    --text: #1f2933;
    --muted: #6b7280;
    --white: #ffffff;
    --border: #eadfca;
    --shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
    --soft-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* =========================================================
   HEADER SUPPORT
   Supports:
   - working UI: header-flex / brand / nav
   - old UI: header-container / logo-area / main-nav
========================================================= */

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(12px);
}

.header-flex,
.header-container {
    max-width: 1200px;
    margin: auto;
    min-height: 86px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand,
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--green);
}

.brand img,
.logo-area img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.brand-arabic {
    font-family: "Noto Kufi Arabic", "Cairo", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--green);
    line-height: 1.4;
}

.brand-english {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.1px;
    color: #7a6847;
    margin-top: 3px;
}

.logo-area h1 {
    color: var(--green);
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 1px;
    font-weight: 900;
}

.logo-area p {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #7a6847;
}

.nav,
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a,
.main-nav a {
    color: var(--green);
    font-size: 15px;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 999px;
    transition: 0.25s ease;
}

.nav a:hover,
.nav a.active,
.main-nav a:hover,
.main-nav a.active {
    background: var(--green);
    color: var(--white);
}

/* =========================================================
   HERO
========================================================= */

.hero,
.uae-hero {
    position: relative;
    padding: 95px 0;
    min-height: 640px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(11, 38, 29, 0.82), rgba(18, 55, 42, 0.70)),
        url("/website/assets/images/hero.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.hero::before,
.uae-pattern {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(212, 175, 55, 0.09) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(212, 175, 55, 0.09) 25%, transparent 25%);
    background-size: 76px 76px;
    opacity: 0.55;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -110px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 45px solid rgba(212, 175, 55, 0.12);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 45px;
}

.hero-text,
.uae-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.uae-hero-content {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.tag,
.heritage-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.18);
    color: #f7d878;
    border: 1px solid rgba(212, 175, 55, 0.50);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-text h1,
.uae-hero-content h1,
.uae-hero-content h2 {
    font-size: 58px;
    line-height: 1.12;
    max-width: 760px;
    margin-bottom: 22px;
    font-weight: 900;
}

.hero-text p,
.uae-hero-content p {
    font-size: 18px;
    max-width: 680px;
    color: #e7f0eb;
    line-height: 1.9;
    margin-bottom: 32px;
}

.hero-actions,
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn,
.btn-primary,
.btn-secondary,
.simple-link-btn,
.heritage-btn,
.whatsapp-btn,
.inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 27px;
    font-size: 15px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn.primary,
.btn-primary,
.simple-link-btn {
    background: var(--gold);
    color: var(--green);
}

.btn.primary:hover,
.btn-primary:hover,
.simple-link-btn:hover {
    background: var(--white);
    color: var(--green);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--green);
    transform: translateY(-3px);
}

.btn.whatsapp,
.whatsapp-btn {
    background: #25d366;
    color: var(--white);
}

.btn.whatsapp:hover,
.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

.product-btn {
    width: 100%;
    margin-top: 5px;
}

/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(234, 223, 202, 0.95);
    border-radius: 30px;
    padding: 38px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, var(--green), var(--gold));
}

.hero-card img {
    width: 155px;
    height: 155px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.hero-card h2 {
    font-size: 30px;
    color: var(--green);
    margin-bottom: 8px;
    font-weight: 900;
}

.hero-card p {
    color: var(--muted);
    font-weight: 700;
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section,
.home-intro,
.about-modern-section,
.about-section,
.heritage-section {
    padding: 78px 0;
    background: var(--white);
}

.section.light,
.featured-section,
.product-categories,
.products-grid-section,
.gallery-section,
.contact-section,
.values-section,
.collections-section {
    padding: 78px 0;
    background: var(--cream);
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}

.section-title span,
.small-title {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2,
.section-title {
    color: var(--green);
}

h2.section-title {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 900;
}

.section-title h2 {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 900;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -30px;
    margin-bottom: 42px;
}

/* =========================================================
   CARDS
========================================================= */

.cards,
.product-grid,
.category-grid,
.products-grid,
.gallery-grid,
.values-grid,
.featured-grid,
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card,
.product-card,
.category-card,
.featured-card,
.collection-card,
.value-card,
.gallery-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.card,
.category-card,
.featured-card,
.collection-card,
.value-card {
    padding: 34px 26px;
    text-align: center;
}

.card::before,
.category-card::before,
.collection-card::before,
.featured-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--green), var(--gold));
}

.card:hover,
.product-card:hover,
.category-card:hover,
.featured-card:hover,
.collection-card:hover,
.value-card:hover,
.gallery-item:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.icon,
.category-icon,
.featured-icon,
.collection-icon,
.value-icon {
    width: 72px;
    height: 72px;
    background: #f1eadb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 22px;
    font-weight: 900;
    color: var(--green);
}

.card h3,
.category-card h3,
.featured-card h3,
.collection-card h3,
.value-card h3 {
    color: var(--green);
    font-size: 23px;
    margin-bottom: 12px;
    font-weight: 900;
}

.card p,
.category-card p,
.featured-card p,
.collection-card p,
.value-card p {
    color: #5f666f;
    font-size: 15px;
}

.category-card span {
    display: inline-block;
    margin-top: 18px;
    background: var(--green);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

/* =========================================================
   ABOUT / INTRO GRIDS
========================================================= */

.about-grid,
.intro-grid,
.about-modern-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.about-grid h2,
.intro-text h2,
.about-modern-text h2 {
    color: var(--green);
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 900;
}

.about-grid p,
.intro-text p,
.about-modern-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-box,
.intro-card,
.about-feature-card,
.contact-card,
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 6px solid var(--gold);
    border-radius: 26px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.about-box h3,
.intro-card h3,
.about-feature-card h3,
.contact-card h3,
.contact-form h3 {
    color: var(--green);
    font-size: 27px;
    margin-bottom: 18px;
    font-weight: 900;
}

.about-box ul,
.intro-card ul {
    list-style: none;
}

.about-box li,
.intro-card li {
    padding: 12px 0;
    border-bottom: 1px solid #eee4d1;
    color: #444;
    font-weight: 800;
}

.about-box li:last-child,
.intro-card li:last-child {
    border-bottom: none;
}

.about-box li::before,
.intro-card li::before {
    content: "◆";
    color: var(--gold);
    font-size: 11px;
    margin-right: 10px;
}

.about-feature-item {
    display: flex;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #eee4d1;
}

.about-feature-item:last-child {
    border-bottom: none;
}

.about-feature-item span {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: #f1eadb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-weight: 900;
}

.about-feature-item h4 {
    color: var(--green);
    font-size: 17px;
    font-weight: 900;
}

.about-feature-item p {
    color: #666;
    font-size: 14px;
}

/* =========================================================
   PRODUCT CARDS
========================================================= */

.product-card {
    border-radius: 26px;
}

.product-image {
    height: 245px;
    background:
        linear-gradient(135deg, rgba(18, 55, 42, 0.12), rgba(212, 175, 55, 0.12)),
        #f1eadb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-image img {
    width: 145px;
    height: 145px;
    object-fit: contain;
    opacity: 0.95;
}

.product-card img,
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-content,
.product-card-content,
.product-info {
    padding: 24px;
    text-align: center;
}

.product-category {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-content h3,
.product-card-content h3,
.product-info h3 {
    color: var(--green);
    font-size: 23px;
    margin-bottom: 10px;
    font-weight: 900;
}

.product-content p,
.product-card-content p,
.product-info p {
    color: #606873;
    font-size: 15px;
    min-height: 70px;
    margin-bottom: 18px;
}

.inquiry-btn {
    background: var(--green);
    color: var(--white);
}

.inquiry-btn:hover {
    background: var(--gold);
    color: var(--green);
}

/* =========================================================
   INNER PAGE HEROES
========================================================= */

.products-hero,
.collection-hero,
.about-hero {
    background:
        linear-gradient(135deg, rgba(11, 38, 29, 0.82), rgba(18, 55, 42, 0.70)),
        url("/website/assets/images/hero.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: var(--white);
    text-align: center;
    padding: 90px 20px;
}

.products-hero-content,
.about-hero-content {
    max-width: 900px;
    margin: auto;
}

.products-hero h1,
.products-hero h2,
.collection-hero h1,
.collection-hero h2,
.about-hero h1,
.about-hero h2 {
    font-size: 44px;
    margin-bottom: 14px;
    font-weight: 900;
}

.products-hero p,
.collection-hero p,
.about-hero p {
    max-width: 780px;
    margin: auto;
    color: #e7f0eb;
}

/* =========================================================
   HERITAGE BOX
========================================================= */

.heritage-box {
    background:
        linear-gradient(135deg, rgba(18, 55, 42, 0.98), rgba(11, 38, 29, 0.98));
    color: var(--white);
    border-radius: 30px;
    padding: 55px 35px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.heritage-box::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border: 28px solid rgba(212, 175, 55, 0.16);
    border-radius: 50%;
}

.small-title.light {
    color: #f7d878;
}

.heritage-box h2 {
    font-size: 36px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.heritage-box p {
    color: #e7f0eb;
    position: relative;
    z-index: 2;
}

.heritage-btn {
    background: var(--gold);
    color: var(--green);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.heritage-btn:hover {
    background: var(--white);
    color: var(--green);
    transform: translateY(-3px);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    grid-template-columns: 1fr 1fr;
}

.contact-card p {
    margin-bottom: 14px;
    color: #555;
}

.contact-card a {
    color: var(--green);
    font-weight: 900;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 15px;
    border: 1px solid #d6cbb5;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form button {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-section {
    padding: 55px 0;
    background: var(--white);
}

.whatsapp-box {
    background: var(--green);
    color: var(--white);
    text-align: center;
    border-radius: 26px;
    padding: 45px 25px;
    box-shadow: var(--shadow);
}

.whatsapp-box h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.whatsapp-box p {
    color: #e7f0eb;
    margin-bottom: 22px;
}

/* =========================================================
   CTA
========================================================= */

.cta {
    background:
        linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    text-align: center;
    border-radius: 30px;
    padding: 55px 25px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border: 28px solid rgba(212, 175, 55, 0.16);
    border-radius: 50%;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.cta p {
    color: #e7f0eb;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.cta .btn {
    position: relative;
    z-index: 2;
}

/* =========================================================
   FOOTER SUPPORT
   Supports:
   - working footer: footer / footer-flex
   - old footer: site-footer
========================================================= */

.footer,
.site-footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 24px 0;
    text-align: center;
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer p,
.site-footer p {
    color: #e7f0eb;
    font-size: 14px;
}

.footer p[lang="ar"] {
    font-family: "Noto Kufi Arabic", "Cairo", sans-serif;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {
    .header-flex,
    .header-container {
        flex-direction: column;
        padding-top: 18px;
        padding-bottom: 18px;
        text-align: center;
    }

    .brand,
    .logo-area {
        justify-content: center;
    }

    .nav,
    .main-nav {
        justify-content: center;
    }

    .hero-grid,
    .about-grid,
    .intro-grid,
    .about-modern-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text,
    .uae-hero-content {
        text-align: center;
    }

    .hero-text h1,
    .hero-text p,
    .uae-hero-content h1,
    .uae-hero-content h2,
    .uae-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-buttons {
        justify-content: center;
    }

    .cards,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .products-grid,
    .gallery-grid,
    .values-grid,
    .featured-grid,
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card {
        max-width: 430px;
        margin: auto;
    }

    .heritage-box {
        flex-direction: column;
        text-align: center;
    }

    .footer-flex {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 650px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .brand,
    .logo-area {
        flex-direction: column;
        text-align: center;
    }

    .brand img,
    .logo-area img {
        width: 72px;
        height: 72px;
    }

    .brand-arabic {
        font-size: 14px;
    }

    .brand-english,
    .logo-area p {
        font-size: 11px;
    }

    .nav a,
    .main-nav a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .hero,
    .uae-hero {
        min-height: auto;
        padding: 70px 0;
    }

    .hero-text h1,
    .uae-hero-content h1,
    .uae-hero-content h2 {
        font-size: 34px;
    }

    .hero-text p,
    .uae-hero-content p {
        font-size: 15px;
    }

    .section,
    .section.light,
    .home-intro,
    .about-modern-section,
    .about-section,
    .heritage-section,
    .featured-section,
    .product-categories,
    .products-grid-section,
    .gallery-section,
    .contact-section,
    .values-section,
    .collections-section {
        padding: 55px 0;
    }

    .section-title h2,
    h2.section-title,
    .about-grid h2,
    .intro-text h2,
    .about-modern-text h2,
    .cta h2,
    .heritage-box h2 {
        font-size: 29px;
    }

    .hero-card,
    .card,
    .about-box,
    .intro-card,
    .about-feature-card,
    .product-content,
    .product-card-content,
    .contact-card,
    .contact-form,
    .whatsapp-box,
    .heritage-box {
        padding: 24px 20px;
    }

    .product-image {
        height: 210px;
    }

    .product-content p,
    .product-card-content p,
    .product-info p {
        min-height: auto;
    }

    .products-hero h1,
    .products-hero h2,
    .collection-hero h1,
    .collection-hero h2,
    .about-hero h1,
    .about-hero h2 {
        font-size: 31px;
    }

    .category-grid,
    .products-grid,
    .gallery-grid,
    .values-grid,
    .featured-grid,
    .collection-grid {
        grid-template-columns: 1fr;
    }
}