@font-face {
    font-family: "IRANBlack";
    src: url("../fonts/IRANBlack.woff2") format("woff2"),
         url("../fonts/IRANBlack.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #070707;
    --surface: #101010;
    --surface-2: #171717;
    --gold: #d7a53d;
    --gold-light: #f2cc73;
    --white: #f5f2ea;
    --muted: #aaa69e;
    --line: rgba(215, 165, 61, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: "IRANBlack", Tahoma, Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: 82px;
    padding: 0 clamp(24px, 5vw, 78px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, height .3s;
}
.site-header.scrolled { height: 68px; background: rgba(7,7,7,.9); border-color: var(--line); backdrop-filter: blur(15px); }
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: 2px; font-size: 17px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand b, .footer-brand span { color: var(--gold); font-weight: 500; }
.main-nav { display: flex; gap: 34px; direction: rtl; font-size: 14px; }
.main-nav a { position: relative; color: #d4d1ca; transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; width: 0; height: 1px; background: var(--gold); transition: width .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: var(--white); transition: .25s; }

.hero {
    min-height: 100vh;
    padding: 130px clamp(24px, 8vw, 130px) 70px;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    align-items: center;
    gap: clamp(35px, 6vw, 100px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(115deg, #080808 15%, #10100e 60%, #070707); }
.hero::after { content: "2009"; position: absolute; z-index: -1; left: 1vw; bottom: -11vw; font: 800 clamp(160px, 28vw, 500px)/1 Arial; color: rgba(255,255,255,.018); letter-spacing: -3vw; }
.hero-glow { position: absolute; z-index: -1; width: 52vw; height: 52vw; left: 46%; top: 15%; background: radial-gradient(circle, rgba(194,138,31,.12), transparent 65%); filter: blur(20px); }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 16px; color: var(--gold-light); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 6.3vw, 98px); line-height: 1.13; letter-spacing: -2px; }
h1 span { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.lead { max-width: 590px; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 10px 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 14px; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { border-color: var(--gold); color: #0b0b0b; background: linear-gradient(135deg, var(--gold-light), #b77a16); font-weight: 700; }
.button-ghost:hover { background: rgba(215,165,61,.08); color: var(--gold-light); }
.hero-mark { position: relative; }
.logo-frame { position: relative; max-width: 520px; margin-inline: auto; padding: 12px; border: 1px solid var(--line); transform: rotate(1.5deg); box-shadow: 0 35px 90px rgba(0,0,0,.5); }
.logo-frame::before, .logo-frame::after { content: ""; position: absolute; width: 45%; height: 45%; border-color: var(--gold); pointer-events: none; }
.logo-frame::before { top: -7px; right: -7px; border-top: 1px solid; border-right: 1px solid; }
.logo-frame::after { bottom: -7px; left: -7px; border-bottom: 1px solid; border-left: 1px solid; }
.logo-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; width: 28px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 12px; width: 3px; height: 7px; border-radius: 5px; background: var(--gold); animation: scroll 1.7s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(17px); } }

.section { padding: clamp(90px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.section-heading { max-width: 720px; margin-bottom: 56px; }
.section-intro { color: var(--muted); }
h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.25; }
.categories { background: #0b0b0b; }
.category-search-box { width: min(100%, 520px); height: 54px; margin: -25px 0 34px auto; padding: 0 17px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.14); background: #121212; }
.category-search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,165,61,.08); }
.category-search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--white); font: inherit; }
.category-search-box input::placeholder { color: #777; }
.category-search-box > span:last-child { color: var(--gold-light); font: 24px Arial; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.category-card { min-height: 190px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface-2); border: 1px solid rgba(255,255,255,.06); transition: transform .3s, background .3s, border-color .3s; }
.category-card > span { color: var(--gold); font: 12px Arial; }
.category-card h3 { margin: 24px 0; font-size: 18px; }
.category-card small { color: var(--muted); }
.category-card b { color: var(--gold-light); font-size: 22px; font-weight: 400; }
.category-card:hover { transform: translateY(-6px); background: #1b1914; border-color: var(--gold); }
.products { background: linear-gradient(180deg, #10100e, #080808); }
.products-head { display: flex; align-items: end; justify-content: center; gap: 30px; margin-bottom: 28px; text-align: center; }
.products-head .section-heading { margin: 0; }
.price-notice { max-width: 760px; margin: 22px auto 0; padding: 15px 18px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid rgba(215,165,61,.35); background: rgba(215,165,61,.08); color: #d6d0c4; font-size: 13px; line-height: 1.9; }
.price-notice > span { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #080808; font: 700 17px Arial; }
.price-notice strong { color: var(--gold-light); white-space: nowrap; }
.catalog-controls { max-width: 880px; margin: 0 auto 38px; display: grid; grid-template-columns: repeat(2, minmax(280px, 420px)); justify-content: center; align-items: stretch; gap: 20px; }
.product-search { width: 100%; min-width: 0; height: 58px; padding: 0 18px; display: flex; align-items: center; gap: 10px; border: 2px solid var(--gold); background: #101010; box-shadow: 0 0 0 3px rgba(215,165,61,.07); }
.product-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--white); font: inherit; }
.product-search input::placeholder { color: #777; }
.product-search > span:last-child { color: var(--gold); font-size: 22px; }
.product-filters { height: 58px; display: flex; align-items: center; gap: 10px; margin: 0; padding-right: 14px; border: 2px solid #3184df; background: #101010; box-shadow: 0 0 0 3px rgba(49,132,223,.07); }
.category-select-label { align-self: center; color: var(--muted); font-size: 13px; }
#category-filter { flex: 1; min-width: 0; height: 100%; padding: 10px 16px; border: 0; outline: 0; background: #111; color: var(--white); font: inherit; }
#category-filter:focus { border-color: var(--gold); }
.filter { padding: 8px 18px; border: 1px solid rgba(255,255,255,.1); background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; transition: .25s; }
.filter:hover, .filter.active { border-color: var(--gold); background: rgba(215,165,61,.1); color: var(--gold-light); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: #131313; border: 1px solid rgba(255,255,255,.06); overflow: hidden; transition: transform .3s, border-color .3s; }
.product-card:hover { transform: translateY(-7px); border-color: var(--line); }
.product-card.is-hidden { display: none; }
.product-visual { height: 300px; position: relative; display: grid; place-items: center; overflow: hidden; background: #f5f5f3; }
.product-image-button { width: 100%; padding: 0; border: 0; color: inherit; cursor: zoom-in; font: inherit; }
.product-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .09; filter: grayscale(1); transform: scale(1.2); }
.product-visual img.product-photo { padding: 12px; opacity: 1; filter: none; transform: none; object-fit: contain; object-position: center; background: #f5f5f3; transition: transform .35s; }
.product-card:hover .product-photo { transform: scale(1.025); }
.image-zoom-hint { position: absolute; z-index: 3; left: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(7,7,7,.78); color: var(--gold-light); font: 700 22px Arial; opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .25s; }
.product-image-button:hover .image-zoom-hint, .product-image-button:focus-visible .image-zoom-hint { opacity: 1; transform: none; }
.stock { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 4px 10px; border-radius: 20px; font-style: normal; font-size: 11px; backdrop-filter: blur(8px); }
.stock.available { background: rgba(12,111,67,.88); color: #dffbed; }
.stock.unavailable { background: rgba(143,34,34,.88); color: #ffe3e3; }
.product-visual > span { position: relative; z-index: 1; color: var(--gold-light); font: 400 72px/1 Georgia, serif; text-shadow: 0 0 35px rgba(215,165,61,.35); }
.product-info { padding: 26px; }
.product-info small { color: var(--gold); }
.product-info h3 { margin: 8px 0 10px; font-size: 21px; }
.product-info p { min-height: 52px; color: var(--muted); font-size: 13px; }
.product-bottom { margin-top: 20px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.product-bottom strong { color: var(--gold-light); font: 700 20px Arial, sans-serif; direction: ltr; }
.product-bottom strong span { color: var(--muted); font: 11px Tahoma, sans-serif; }
.product-link { display: inline-flex; gap: 10px; align-items: center; color: var(--gold-light); font-size: 13px; }
.product-link span { transition: transform .25s; }
.product-link:hover span { transform: translateX(-5px); }
.no-results { padding: 50px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.catalog-loading, .catalog-error { grid-column: 1 / -1; width: 100%; padding: 52px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.catalog-error { color: #e7a3a3; }
.pagination { margin-top: 38px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.pagination button { min-width: 90px; padding: 9px 18px; border: 1px solid var(--gold); background: transparent; color: var(--gold-light); font: inherit; cursor: pointer; }
.pagination button:disabled { opacity: .35; cursor: not-allowed; }
.pagination span { color: var(--muted); font-size: 13px; }
.about { background: #0b0b0b; border-top: 1px solid rgba(255,255,255,.04); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: start; }
.about-copy { color: var(--muted); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stats div { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line); }
.stats div:last-child { border-left: 0; }
.stats strong { display: block; color: var(--gold-light); font: 500 clamp(28px, 3vw, 46px)/1 Arial; direction: ltr; }
.stats span { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }
.services { background: linear-gradient(180deg, #0f0f0f, #080808); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 290px; padding: 38px; position: relative; background: var(--surface-2); border: 1px solid rgba(255,255,255,.06); overflow: hidden; transition: transform .3s, border-color .3s; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.service-card:hover { transform: translateY(-8px); border-color: var(--line); }
.service-card:hover::after { transform: scaleX(1); }
.service-card > span { color: var(--gold); font: 13px Arial; letter-spacing: 2px; }
.service-card h3 { margin: 46px 0 14px; font-size: 23px; }
.service-card p { color: var(--muted); font-size: 14px; }
.contact { padding: clamp(90px, 12vw, 170px) 24px; text-align: center; background: radial-gradient(circle at center, rgba(189,129,23,.13), transparent 55%), #090909; border-block: 1px solid var(--line); }
.contact-inner { max-width: 760px; margin: auto; }
.contact-inner p:not(.eyebrow) { color: var(--muted); }
.contact .button { margin-top: 20px; }
.contact-cards { margin: 40px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: right; }
.contact-cards a { min-height: 118px; padding: 20px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px; border: 1px solid rgba(255,255,255,.09); background: rgba(18,18,18,.78); transition: transform .25s, border-color .25s, background .25s; }
.contact-cards a:hover { transform: translateY(-4px); border-color: var(--gold); background: #19160f; }
.contact-cards a > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(215,165,61,.12); color: var(--gold-light); font: 700 19px Arial; }
.contact-cards small { color: var(--muted); }
.contact-cards strong { color: var(--white); font-size: 13px; overflow-wrap: anywhere; }
.contact-form { max-width: 720px; margin: 42px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: right; }
.contact-form label { display: grid; gap: 8px; color: #c9c5bc; font-size: 13px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 0; outline: 0; padding: 14px; background: rgba(10,10,10,.75); color: var(--white); font: inherit; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,165,61,.08); }
.contact-form .button { border: 0; cursor: pointer; font: inherit; }
.form-status { min-height: 25px; margin: 0; text-align: center; color: var(--gold-light) !important; }
.image-lightbox { width: min(90vw, 920px); height: min(88vh, 760px); max-height: 88vh; margin: auto; padding: 16px; overflow: hidden; border: 1px solid var(--line); background: #0c0c0c; color: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.8); text-align: center; }
.image-lightbox::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(7px); }
.lightbox-stage { width: 100%; height: calc(100% - 105px); min-height: 0; display: grid; place-items: center; background: #f5f5f3; overflow: hidden; }
.lightbox-stage img { display: block; width: auto; height: auto; max-width: 70vw; max-height: 55vh; padding: 0; object-fit: contain; object-position: center; }
.image-lightbox h2 { margin: 18px 50px 5px; font-size: clamp(18px, 2.2vw, 30px); }
.image-lightbox p { margin: 0; color: var(--muted); font-size: 11px; }
.lightbox-close { position: absolute; z-index: 2; top: 24px; left: 24px; width: 48px; height: 48px; border: 2px solid #fff; border-radius: 50%; background: #d71f2b; color: #fff; font: 34px/1 Arial; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,.4); }
.lightbox-close:hover { background: #ff3340; transform: scale(1.06); }
footer { padding: 28px clamp(24px, 8vw, 130px); display: flex; align-items: center; justify-content: space-between; gap: 20px; direction: ltr; color: #777; font-size: 12px; }
.footer-brand { font: 600 16px Arial; letter-spacing: 2px; }
footer p { margin: 0; direction: rtl; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-light); font: 700 13px Arial; transition: background .25s; }
.footer-socials a:hover { background: rgba(215,165,61,.12); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Keep long Kurdish product/category names inside the mobile viewport. */
.product-card, .category-card, .catalog-controls > *, .contact-cards a { min-width: 0; }
.product-info h3, .category-card h3, .service-card h3 { overflow-wrap: anywhere; }
body:has(.image-lightbox[open]) { overflow: hidden; }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-nav { position: absolute; top: 100%; inset-inline: 0; padding: 24px; flex-direction: column; align-items: center; gap: 22px; background: rgba(7,7,7,.97); border-bottom: 1px solid var(--line); transform: translateY(-140%); opacity: 0; visibility: hidden; transition: .3s; }
    .site-header.menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
    .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: center; }
    .hero-copy { margin-inline: auto; }
    .lead { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-mark { width: min(72vw, 480px); margin: 15px auto 30px; }
    .scroll-cue { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .catalog-controls { width: 100%; grid-template-columns: 1fr; gap: 14px; }
    .product-search, .product-filters { width: 100%; min-width: 0; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
}
@media (max-width: 560px) {
    .site-header { height: 68px; padding-inline: 18px; }
    .brand span { display: none; }
    .hero { padding-inline: 20px; }
    h1 { font-size: clamp(42px, 14vw, 64px); }
    .hero-actions { flex-direction: column; }
    .button { width: 100%; }
    .hero-mark { width: 88vw; }
    .product-visual { height: 270px; }
    .section { padding-inline: 18px; }
    .image-lightbox { width: calc(100vw - 16px); max-width: none; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); padding: 8px; }
    .lightbox-stage { height: calc(100% - 102px); }
    .lightbox-close { top: 14px; left: 14px; width: 44px; height: 44px; }
    .lightbox-stage img { width: auto; height: auto; max-width: calc(100vw - 38px); max-height: calc(100dvh - 142px); }
    .image-lightbox h2 { margin: 13px 46px 3px; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
    .category-grid, .product-grid { grid-template-columns: 1fr; }
    .products-head { align-items: stretch; flex-direction: column; }
    .price-notice { align-items: flex-start; padding: 13px; text-align: right; }
    .price-notice strong { white-space: normal; }
    .catalog-controls { width: 100%; grid-template-columns: 1fr; gap: 14px; }
    .product-search { width: 100%; min-width: 0; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .contact-form label { grid-column: 1 / -1; }
    .stats { grid-template-columns: 1fr; }
    .stats div { border-left: 0; border-bottom: 1px solid var(--line); }
    .stats div:last-child { border-bottom: 0; }
    .pagination { gap: 8px; }
    .pagination button { min-width: 0; padding-inline: 12px; }
    .pagination span { flex: 1; min-width: 0; text-align: center; }
    footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
