/* ===== RESET بسيط ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #202020 0, #050507 50%, #020203 100%);
    color: #f5f5f7;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ===== VARIABLES ===== */
:root {
    --bg-main: #050507;
    --bg-elevated: #0f1013;
    --bg-soft: #14151a;
    --bg-soft-2: #181920;
    --accent: #ff9d2d;
    --accent-soft: rgba(255, 157, 45, 0.15);
    --text-main: #f5f5f7;
    --text-muted: #9fa1aa;
    --border-subtle: rgba(255, 255, 255, 0.04);
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.75);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.65);
    --container-width: 1200px;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    padding-inline: 16px;
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.section-soft {
    padding: 72px 0;
    background: radial-gradient(circle at top, #15161d 0, #050507 55%, #020203 100%);
}

.section-dark {
    padding: 80px 0 90px;
    background: linear-gradient(145deg, #050507 0, #05050a 35%, #050507 100%);
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head.align-left {
    text-align: left;
}

.section-head h2 {
    font-size: clamp(1.8rem, 2.1vw, 2.3rem);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5, 5, 8, 0.95), rgba(5, 5, 8, 0.80), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    position: relative;
    font-size: 0.92rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 18px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #f5f5f7;
}

/* Mobile nav */
.nav-mobile {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 45;
}

.nav-mobile.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-mobile-inner {
    width: 78%;
    max-width: 320px;
    height: 100%;
    background: #050509;
    padding: 22px 18px;
    box-shadow: var(--shadow-soft);
    transform: translateX(-14px);
    animation: slideIn 0.26s ease-out forwards;
}

.nav-mobile-logo {
    font-weight: 600;
    margin-bottom: 20px;
}

.nav-mobile-logo span {
    color: var(--accent);
}

.nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.7rem;
    color: #f5f5f7;
}

.nav-mobile .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 0.98rem;
}

.no-scroll {
    overflow: hidden;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* ===== HERO ===== */
.hero-section {
    padding-top: 90px;
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-text .eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 3.1rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-sub {
    color: var(--text-muted);
    max-width: 520px;
    font-size: 0.98rem;
    margin-bottom: 18px;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 20px;
    color: #d0d1d8;
    font-size: 0.93rem;
}

.hero-bullets li + li {
    margin-top: 4px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-price {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero-price strong {
    color: var(--accent);
    font-weight: 600;
}

/* Hero image */
.hero-image-wrap {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: radial-gradient(circle at top left, #22232b 0, #14151a 40%, #090911 100%);
    border-radius: 32px;
    padding: 26px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    max-width: 380px;
}

.hero-card img {
    border-radius: 26px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ffb347, #ff9d2d);
    color: #20130c;
    box-shadow: 0 14px 30px rgba(255, 157, 45, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(255, 157, 45, 0.55);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    color: #f5f5f7;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.04);
}

.btn-full {
    width: 100%;
}

/* ===== CARDS & GRIDS ===== */
.card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    padding: 22px 22px 24px;
}

.card-soft {
    background: var(--bg-soft);
}

.grid {
    display: grid;
    gap: 22px;
}

.grid-categories {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-products {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.category-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.18s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 157, 45, 0.35);
}

.category-img-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #191a22;
    padding: 10px;
    margin-bottom: 14px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.category-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.category-link {
    font-size: 0.86rem;
    color: var(--accent);
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-img-wrap {
    border-radius: 22px;
    overflow: hidden;
    background: radial-gradient(circle at top, #292a33 0, #15151c 40%, #0b0b11 100%);
    margin-bottom: 16px;
    padding: 12px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.product-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.about-text p + p {
    margin-top: 8px;
}

.about-list {
    list-style: none;
    margin: 12px 0 6px;
    color: #d0d1d8;
    font-size: 0.9rem;
}

.about-list li + li {
    margin-top: 4px;
}

.about-address {
    font-size: 0.9rem;
    margin-top: 10px;
    color: var(--text-muted);
}

.about-image img {
    border-radius: var(--radius-lg);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    margin-bottom: 26px;
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.contact-list {
    list-style: none;
    font-size: 0.9rem;
    color: #e8e8ee;
}

.contact-list li + li {
    margin-top: 8px;
}

.contact-list .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* Formulaire */
.contact-form {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0c0d11;
    color: #f5f5f7;
    padding: 10px 12px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5c5e67;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 157, 45, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 157, 45, 0.25);
    background: #101117;
}

.hp-field {
    display: none !important;
}

/* Map */
.map-wrap {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.map-wrap iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: #050507;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-dev {
    opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-section {
        padding-top: 90px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 60px 0;
    }

    .hero-section {
        padding-bottom: 64px;
    }

    .hero-card {
        max-width: 310px;
    }
}

@media (max-width: 480px) {
    .card {
        padding-inline: 18px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ===== FOOTER ===== */
.footer {
    background: #050507;
    padding: 70px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

/* LOGO */
.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.footer-logo span {
    color: var(--accent);
}

/* DESCRIPTION */
.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

/* SOCIALS */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #0d0e12;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.2s;
}

.footer-social a:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

/* ICONS */
.icon-facebook,
.icon-instagram,
.icon-tiktok {
    display: block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-facebook  { background-image: url('../icons/facebook.svg'); }
.icon-instagram { background-image: url('../icons/instagram.svg'); }
.icon-tiktok    { background-image: url('../icons/tiktok.svg'); }

/* LINKS */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li + li,
.footer-contact li + li {
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: 0.2s;
}

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

/* CONTACT */
.footer-contact li {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact a {
    color: #e3e3e3;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 50px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.footer-dev {
    opacity: 0.85;
}

/* MOBILE */
@media (max-width: 600px) {
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* ===== CATALOGUE FILTER ===== */
.catalogue-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.filter-pill {
    font-size: 0.86rem;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-muted);
    background: rgba(10, 10, 14, 0.8);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
}

.filter-pill:hover {
    border-color: rgba(255, 157, 45, 0.6);
    color: #fff;
}

.filter-pill.active {
    background: linear-gradient(135deg, #ffb347, #ff9d2d);
    border-color: transparent;
    color: #20130c;
    box-shadow: 0 8px 18px rgba(255, 157, 45, 0.45);
    transform: translateY(-1px);
}

/* نص الكاتيجوري في الكرت */
.product-category {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* لو حابب تميّز كتلوج عن New Arrivals */
.catalogue-grid {
    margin-top: 4px;
}
/* === Image Cards (Hero + À propos) === */
.section-image-card {
    width: 380px;            /* الحجم المثالي للديزاين */
    max-width: 100%;
    aspect-ratio: 3/4;       /* شكل عمودي أنيق */
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    background: #111;
}

.section-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive: تصغير إضافي للموبايل */
@media (max-width: 768px) {
    .section-image-card {
        width: 260px;
        aspect-ratio: 3/4;
    }
}
/* ===== Success Modal (sans Bootstrap) ===== */
.success-modal {
    position: fixed;
    inset: 0;
    display: none;               /* مخفي افتراضيًا */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.success-modal.is-visible {
    display: flex;               /* نظهره عند النجاح */
}

.success-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
}

.success-modal__content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: 90%;
    background: #020617;
    border-radius: 18px;
    padding: 24px 24px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    color: #e5e7eb;
}

.success-modal__title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.success-modal__body {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #9ca3af;
}

.success-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.success-modal__btn {
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
}

.success-modal__btn-primary {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #111827;
}

.success-modal__btn-primary:hover {
    opacity: 0.9;
}
/* === Product cards === */
.product-card {
    /* لو عندك هذا الكلاس، نخليه بعرض منطقي */
    max-width: 320px;
    margin: 0 auto 2rem;
}

.product-card-img {
    width: 100%;
    height: 260px;          /* ارتفاع ثابت مريح */
    border-radius: 20px;
    overflow: hidden;
    display: block;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* يملأ الإطار بدون تمدد غريب */
    display: block;
}
