/* Üst əlaqə zolağı və header (templates/partials/header.php).
   Prospect saytının header sistemi Sarı Makina rənglərində: Poppins menyu, bayraqlı dil seçimi, bir sarı düymə. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --sm-ink: #1D1F1E;
  --sm-text: #4B524E;
  --sm-line: #E3E5E1;
  --sm-soft: #F6F6F3;
  --sm-bar: #F2F3F0;
  --sm-sari: #FFC20E;
  --sm-sari-hover: #F2B300;
  --sm-sari-soft: #FFF5D4;
  --sm-wa: #1FAF54;
  --sm-ui: 'Poppins', 'Segoe UI', sans-serif;
}

.sm-wrap { box-sizing: border-box; width: 100%; max-width: 1344px; margin-inline: auto; padding-inline: 32px; }
.sm-top, .sm-hdr { font-family: var(--sm-ui); -webkit-font-smoothing: antialiased; }
.sm-top *, .sm-hdr * { box-sizing: border-box; }

/* Üst zolaq: solda e-poçt, sağda WhatsApp nömrələri */
.sm-top { position: relative; z-index: 31; background: var(--sm-bar); border-bottom: 1px solid var(--sm-line); color: var(--sm-text); font-size: 13px; line-height: 1.3; }
.sm-top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.sm-top a { color: inherit; text-decoration: none; }
.sm-top svg { flex: none; width: 17px; height: 17px; }
.sm-top-mail { display: inline-flex; align-items: center; gap: 8px; }
.sm-top-mail svg { color: var(--sm-text); }
.sm-top-mail b { color: var(--sm-ink); font-weight: 600; }
.sm-top-mail:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sm-top-wa { display: inline-flex; align-items: center; gap: 8px; }
.sm-top-wa .sm-wa { color: var(--sm-wa); }
.sm-top-num { padding-left: 10px; margin-left: 2px; border-left: 1px solid #CDD0CB; color: var(--sm-ink) !important; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sm-top-label + .sm-top-num { padding-left: 4px; border-left: 0; }
.sm-top-num:hover { text-decoration: underline; text-underline-offset: 3px; }
.sm-top-note { margin-left: 4px; color: #7A807C; }
/* Instagram, Facebook: WhatsApp nömrələrinin sağında, ayırıcı xətlə */
.sm-top-soc { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding-left: 12px; border-left: 1px solid #CDD0CB; }
.sm-top-soc a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; transition: background-color .15s; }
.sm-top-soc svg { width: 17px; height: 17px; }
/* brend rəngləri: Instagram öz qradiyenti ilə, Facebook mavi */
.sm-top-soc .sm-soc-instagram { fill: url(#smIgGrad); }
.sm-top-soc .sm-soc-facebook { fill: #1877F2; }
.sm-top-soc a:hover { background: #FFFFFF; }

/* Header */
.sm-hdr { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--sm-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sm-hdr .hdr-in { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 76px; }
.sm-logo { display: flex; align-items: center; }
.sm-logo img { display: block; width: auto; height: 46px; }
.sm-nav { display: flex; justify-content: center; gap: 2px; }
.sm-nav a { padding: 10px 12px; border-radius: 3px; color: var(--sm-ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .18s, color .18s; }
.sm-nav a:hover, .sm-nav a:focus-visible { background: var(--sm-soft); }
.sm-nav a[aria-current="page"] { background: var(--sm-sari-soft); }
.sm-acts { display: flex; align-items: center; gap: 10px; }

/* Dil seçimi */
.sm-lang { position: relative; }
.sm-lang > summary { display: flex; align-items: center; gap: 6px; padding: 9px 8px; border-radius: 3px; color: var(--sm-ink); list-style: none; cursor: pointer; }
.sm-lang > summary::-webkit-details-marker { display: none; }
.sm-lang > summary:hover { background: var(--sm-soft); }
.sm-flag { display: block; flex: none; width: 24px; height: 16px; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px rgb(20 30 25 / .12); }
.sm-lang-code { font-size: 12px; font-weight: 700; }
.sm-chev { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; color: var(--sm-text); transform: rotate(45deg) translateY(-2px); }
.sm-lang[open] .sm-chev { transform: rotate(225deg) translateY(-1px); }
.sm-lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: 180px; padding: 6px; border: 1px solid var(--sm-line); border-radius: 12px; background: #FFFFFF; box-shadow: 0 14px 34px rgb(30 30 20 / .12); }
.sm-lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 8px; color: var(--sm-ink); font-size: 13px; text-decoration: none; }
.sm-lang-menu a:hover, .sm-lang-menu a:focus-visible, .sm-lang-menu a[aria-current="true"] { background: var(--sm-sari-soft); }

/* Əsas düymə */
.sm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px; background: var(--sm-sari); color: var(--sm-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .18s; }
.sm-btn:hover { background: var(--sm-sari-hover); }
.sm-hdr :focus-visible, .sm-top :focus-visible { outline: 2px solid var(--sm-ink); outline-offset: 2px; }

.sm-burger { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--sm-line); border-radius: 3px; background: #FFFFFF; color: var(--sm-ink); cursor: pointer; }
.sm-burger svg { display: block; width: 22px; height: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

@media (max-width: 1100px) {
  .sm-hdr .hdr-in { grid-template-columns: auto 1fr; gap: 12px; }
  .sm-acts { justify-self: end; }
  .sm-burger { display: block; }
  .sm-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 32px 18px; background: #FFFFFF; border-bottom: 1px solid var(--sm-line); box-shadow: 0 12px 20px rgb(30 30 20 / .06); }
  .sm-hdr .hdr-in.open .sm-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sm-nav a { padding: 14px 12px; background: var(--sm-soft); }
  .sm-top-note { display: none; }
}
@media (max-width: 720px) {
  .sm-wrap { padding-inline: 16px; }
  .sm-nav { padding-inline: 16px; }
  .sm-top-in { justify-content: center; }
  .sm-top-mail, .sm-top-wa .sm-top-label { display: none; }
  .sm-hdr .hdr-in { min-height: 64px; }
  .sm-logo img { height: 38px; }
  .sm-lang-code, .sm-chev { display: none; }
  .sm-btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 400px) {
  .sm-btn { padding: 0 10px; font-size: 12px; }
  .sm-top-num:last-of-type { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sm-nav a, .sm-btn { transition: none; }
}

/* Üst əlaqə zolağı da header kimi səhifə boyu yuxarıda qalır: zolaq 0-da, header onun altında */
.sm-top { position: sticky; top: 0; z-index: 31; height: 42px; }
.sm-top-in { height: 42px; min-height: 0; white-space: nowrap; }
.sm-hdr { top: 42px; }
html { scroll-padding-top: 130px; }



/* Footer (Prospect quruluşu): linklər iki sütunda, böyük nömrə və e-poçt, ünvan + xəritə, dairəvi sosial ikonlar */
.ftr .ftr-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 20px 56px; margin-top: 4px; }
.ftr .ftr-links a { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.ftr .ftr-contact a.big { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.ftr .ftr-addr { margin-top: 6px; font-size: 14px; line-height: 1.6; }
.ftr .ftr-addr a { display: inline; font-size: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ftr .ftr-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ftr .ftr-social a { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; background: #1D1F1E; color: #FFFFFF; transition: background-color .18s; }
.ftr .ftr-social a:hover { background: #000000; }
.ftr .ftr-social svg { width: 19px; height: 19px; fill: currentColor; }
@media (max-width: 520px) { .ftr .ftr-links { gap: 16px 28px; } .ftr .ftr-links a { font-size: 17px; } .ftr .ftr-contact a.big { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .ftr .ftr-social a { transition: none; } }


/* Ümumi fon (bütün səhifələr): ağdan isti ağa keçid, arxada yavaş hərəkət edən sarı ləkələr (base.php-dəki .sm-amb). */
html body { background: linear-gradient(180deg, #FFFFFF 0, #FBFAF6 520px, #FBFAF6 100%) fixed; }
.sm-amb { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sm-amb i { position: absolute; border-radius: 50%; will-change: transform; animation: sm-amb-drift 30s ease-in-out infinite alternate; }
.sm-amb i:nth-child(1) { width: 48vw; aspect-ratio: 1; left: -8vw; top: -12vh; background: radial-gradient(circle, rgb(255 194 14 / .26), transparent 68%); }
.sm-amb i:nth-child(2) { width: 42vw; aspect-ratio: 1; right: -6vw; top: 18vh; background: radial-gradient(circle, rgb(255 168 0 / .18), transparent 68%); animation-duration: 36s; animation-delay: -10s; }
.sm-amb i:nth-child(3) { width: 40vw; aspect-ratio: 1; left: 28vw; bottom: -20vh; background: radial-gradient(circle, rgb(255 214 92 / .22), transparent 68%); animation-duration: 42s; animation-delay: -18s; }
@keyframes sm-amb-drift { to { transform: translate3d(8%, 7%, 0) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .sm-amb i { animation: none; } }

/* Qum rəngli zolaq: bölmə ekranın bütün enində qum rəngində, yuxarı kənarında sarı-qara xəbərdarlıq xətti (tikinti meydançası kimi). */
.sm-sand { position: relative; isolation: isolate; }
.sm-sand::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: #F3EEE1; }
.sm-sand::after { content: ""; position: absolute; top: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 8px; background: repeating-linear-gradient(-45deg, #FFC20E 0 12px, #1D1F1E 12px 24px); }
html, body { overflow-x: clip; }
