﻿/* === Al-Minshaw Shop — RTL, Mobile-first, Responsive === */
:root {
    --bg: #0f0f10;
    --panel: #121418;
    --muted: #9aa3ad;
    --text: #e9edf2;
    --brand: #ff8c42;
    --brand-2: #ffc857;
    --line: #21242a;
    --radius: 14px;
    --radius-lg: 18px;
    --maxw: 1150px;
    --shadow: 0 10px 30px rgba(0,0,0,.25);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Cairo',system-ui,sans-serif;
    line-height: 1.7
}

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

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

.container {
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 16px
}

/* Utils */
.mt-16 {
    margin-top: 16px
}

.mt-24 {
    margin-top: 24px
}

.mt-32 {
    margin-top: 32px
}

.m-0 {
    margin: 0
}

.center {
    text-align: center
}

.tag {
    font-size: 12px;
    background: #171a1f;
    color: #cfd6df;
    border: 1px solid #2b3037;
    border-radius: 18px;
    padding: 6px 10px;
    display: inline-block
}

.btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #2a2e35;
    font-weight: 800;
    cursor: pointer;
    display: inline-block;
    background: #14161a
}

.btn-primary {
    background: linear-gradient(135deg,var(--brand),var(--brand-2));
    color: #1b1208;
    border: none
}

.btn:hover {
    transform: translateY(-1px)
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15,15,16,.85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line)
}

    .navbar .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 60px
    }

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800
}

    .brand img {
        width: 32px;
        height: 32px;
        border-radius: 8px
    }

#menu-toggle {
    display: none
}

.burger {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #14161a;
    cursor: pointer
}

    .burger span {
        width: 18px;
        height: 2px;
        background: #cdd3db;
        position: relative
    }

        .burger span::before, .burger span::after {
            content: "";
            position: absolute;
            inset: 0;
            background: #cdd3db;
            transform: translateY(-6px)
        }

        .burger span::after {
            transform: translateY(6px)
        }

.nav {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: #111318;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-top: 10px
}

    .nav a {
        padding: 10px 12px;
        border-radius: 10px;
        color: #c3cbd6;
        font-weight: 700
    }

        .nav a.active, .nav a:hover {
            background: #1d2025;
            color: var(--text)
        }

#menu-toggle:checked ~ .nav {
    display: flex
}

@media (min-width: 860px) {
    .burger {
        display: none
    }

    .nav {
        display: flex;
        flex-direction: row;
        gap: 8px;
        padding: 0;
        background: transparent;
        border: none;
        margin: 0
    }
}

/* Section head */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 18px 0 10px
}

    .section-head h2 {
        margin: 0;
        font-size: 22px
    }

    .section-head p {
        margin: 0;
        color: var(--muted);
        font-size: 14px
    }

@media (min-width:720px) {
    .section-head h2 {
        font-size: 26px
    }
}

/* Hero */
.hero {
    display: grid;
    gap: 16px;
    align-items: center;
    padding: 22px 0
}

    .hero .card {
        background: linear-gradient(180deg,#1a1d21,#13151a);
        border: 1px solid #24272d;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow)
    }

.inner {
    padding: 18px
}

.badge {
    display: inline-block;
    background: rgba(255,140,66,.12);
    color: var(--brand);
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 800;
    margin-bottom: 10px
}

h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 6px 0 10px
}

.lead {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 16px
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.hero-visual .plate {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #24272d
}

.hero-visual .note {
    margin-top: 8px;
    background: #0f1216;
    border: 1px solid #1f232a;
    padding: 8px 10px;
    border-radius: 12px;
    color: #9aa3ad;
    font-size: 12px
}

@media (min-width:920px) {
    .hero {
        grid-template-columns: 1.35fr 1fr;
        gap: 24px
    }

    h1 {
        font-size: 38px
    }

    .lead {
        font-size: 17px
    }
}

/* Grid + Cards */
.grid {
    display: grid;
    gap: 14px
}

    .grid.products {
        grid-template-columns: 1fr
    }

@media (min-width:560px) {
    .grid.products {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (min-width:980px) {
    .grid.products {
        grid-template-columns: repeat(3,1fr)
    }
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.cover {
    position: relative;
    background: #0e1013
}

    .cover img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        filter: saturate(1.02)
    }

.price {
    position: absolute;
    inset-inline-start: 12px;
    bottom: 12px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 800
}

.body {
    padding: 14px
}

.card h3 {
    margin: 0 0 6px;
    font-size: 16px
}

.card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px
}

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

/* Split (about + contact) */
.split {
    display: grid;
    gap: 16px
}

@media (min-width:900px) {
    .split {
        grid-template-columns: 1fr 1fr
    }
}

/* Form */
.form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow)
}

    .form .row {
        display: grid;
        gap: 12px
    }

@media (min-width:720px) {
    .form .row {
        grid-template-columns: 1fr 1fr
    }
}

.form label {
    display: block;
    margin: 8px 0 6px
}

.form input, .form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #2a2e35;
    background: #0f1115;
    color: var(--text)
}

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

.form button {
    margin-top: 10px
}

/* Banner */
.banner-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px
}

@media (min-width:880px) {
    .banner-img {
        max-height: 460px
    }
}

/* Footer */
footer {
    margin-top: 36px;
    border-top: 1px solid var(--line);
    background: #0e1013
}

.footer-grid {
    display: grid;
    gap: 18px;
    padding: 20px 0
}

@media (min-width:820px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr
    }
}

footer h4 {
    margin: 0 0 10px
}

.footer-small {
    border-top: 1px solid var(--line);
    color: #68707b;
    padding: 12px 0;
    font-size: 13px
}
