:root {
  --navy: #0b1930;
  --deep: #081324;
  --blue: #142849;
  --gold: #e5c074;
  --gold-dark: #805b22;
  --paper: #f8f5ee;
  --ink: #18243a;
  --muted: #555f70;
  --line: #dfd7c9;
  --card-surface: linear-gradient(145deg, #fffefa, #f4eee2);
  --card-shadow: 0 12px 30px #19243a0c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1; }
h2 { font-size: clamp(2.75rem, 5vw, 4.5rem); letter-spacing: -.045em; }
h3 { font-size: 2rem; letter-spacing: -.025em; }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
:focus-visible { outline: 2px solid #ad722c; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 110px); }
.eyebrow { color: var(--gold-dark); font-size: .73rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 15px; }
.skip { position: fixed; left: 12px; top: 12px; padding: 12px; background: white; transform: translateY(-150%); z-index: 10; }
.skip:focus { transform: none; }

.announcement {
  background: linear-gradient(100deg, #d9ae60, #efd399 53%, #ddb56a);
  color: var(--deep);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .035em;
}
.announcement-window { overflow: hidden; container-type: inline-size; }
.announcement-track {
  display: flex;
  width: max-content;
  animation: announcement-scroll 24s linear infinite;
}
.announcement-copy {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
  min-width: 100cqw;
  padding: 8px 16px;
  white-space: nowrap;
}
.announcement-divider { color: var(--gold-dark); font-size: .56rem; }
@keyframes announcement-scroll { to { transform: translateX(-50%); } }

.topbar { background: var(--deep); color: #d7c49f; font-size: .73rem; }
.topbar-inner, .header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-inner { min-height: 34px; }
.topbar a:hover, .footer a:hover { color: var(--gold); }
.header { background: var(--navy); color: #f8f5ee; border-block: 1px solid #ffffff13; position: relative; z-index: 2; }
.header-inner { min-height: 84px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; }
.brand img:first-child { width: 31px; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); font-size: .875rem; }
.header nav a:hover { color: var(--gold); }
.header-action { color: var(--gold); border: 1px solid #e5c07465; padding: 8px 15px; font-size: .83rem; }
.header-action:hover { background: #e5c07418; }
.menu-toggle { display: none; border: 1px solid #e5c07465; background: transparent; padding: 7px 12px; color: var(--gold); }

.hero { position: relative; overflow: hidden; background: var(--navy); color: #f8f5ee; }
.hero-photo {
  position: absolute;
  inset: 0 0 0 43%;
  background: linear-gradient(90deg, var(--navy), transparent 29%), linear-gradient(0deg, #08132429, transparent 40%), url("assets/vitrin.webp") center 53% / cover, radial-gradient(ellipse at 55% 45%, #23436d, var(--navy) 75%);
}
.hero-inner { position: relative; min-height: clamp(520px, 47vw, 675px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 76px; }
.hero .eyebrow, .app-section .eyebrow { color: var(--gold); }
.hero .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.hero h1 { font-size: clamp(4rem, 6.2vw, 7rem); letter-spacing: -.058em; line-height: .94; }
.hero-text { max-width: 350px; color: #d0d8e6; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; justify-content: space-between; gap: 18px; align-items: center; padding: 10px 17px; font-size: .86rem; font-weight: 700; border: 1px solid transparent; transition: background .18s, color .18s; }
.gold { background: linear-gradient(140deg, #f3d798, #dfb766); color: var(--deep); box-shadow: 0 4px 18px #e5c07418; }
.gold:hover { background: #f4d798; }
.outline { border-color: #e5c0747a; color: #fff8ea; }
.outline:hover { background: #e5c07420; }
.navy { color: white; background: var(--navy); }
.navy:hover { background: var(--blue); }
.market-strip {
  background: linear-gradient(105deg, #111f35, #192b44 50%, #111f35);
  color: #e0d9ca;
  border-bottom: 1px solid #d1b27c42;
}
.market-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: .84rem; }
.market-label, .market-inner a { color: #d4b780; font-weight: 700; }
.market-label span { margin-right: 8px; font-size: .67rem; }
.market-status, .market-updated { color: #e0d9ca; font-size: .78rem; }
.market-inner a:hover { color: #eed5a8; text-decoration: underline; }
.market-scroll { overflow-x: auto; margin-bottom: 14px; scrollbar-width: thin; scrollbar-color: #a58c62 #0b1930; }
.market-quotes { display: flex; gap: 10px; margin: 0; padding: 0 0 7px; list-style: none; }
.market-quote {
  flex: 1 0 182px;
  padding: 8px 12px;
  border: 1px solid #d1b27c42;
  background: #08132445;
  font-size: .81rem;
  font-variant-numeric: tabular-nums;
}
.market-quote strong { display: block; color: #f5e8ce; }
.market-quote span { display: block; }

.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 35px; }
.section-head > p { max-width: 290px; color: var(--muted); }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2vw, 28px);
}
.category { min-width: 0; }
.category, .calculator form, .contact-card {
  border: 1px solid var(--line);
  border-top-color: #c6a165;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}
.category-summary { display: block; }
.category-photo {
  display: block;
  aspect-ratio: 3 / 2;
  background-color: var(--navy);
  background-image: url("assets/koleksiyon.webp");
  background-size: 200% 200%;
  background-repeat: no-repeat;
  border-bottom: 1px solid #c6a165;
}
.category-photo--gram { background-position: left top; }
.category-photo--ziynet { background-position: right top; }
.category-photo--bilezik { background-position: left bottom; }
.category-photo--taki { background-position: right bottom; }
.category-content {
  display: grid;
  gap: 6px;
  padding: clamp(17px, 3vw, 28px);
}
.category-title { font: 600 clamp(1.9rem, 4vw, 3rem)/1 var(--serif); letter-spacing: -.03em; }
.category-description { color: var(--muted); font-size: .92rem; }
.category-discover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 7px;
  color: var(--gold-dark);
  font-size: .87rem;
  font-weight: 700;
}
.category-summary:hover .category-discover { text-decoration: underline; }
.text-link { color: var(--gold-dark); font-size: .86rem; font-weight: 700; }
.text-link:hover { text-decoration: underline; }

.catalog-back { color: var(--gold); font-size: .88rem; font-weight: 600; }
.catalog-back:hover { text-decoration: underline; }
.catalog-intro {
  padding-block: clamp(28px, 5vw, 56px);
  background: radial-gradient(ellipse at top right, #20395e, var(--navy) 74%);
  border-bottom: 1px solid #b08c4d;
  color: #fff8ea;
}
.catalog-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(36%, 360px));
  align-items: center;
  gap: clamp(18px, 4vw, 50px);
}
.catalog-intro .eyebrow { color: var(--gold); }
.catalog-intro h1 { font-size: clamp(3.15rem, 7vw, 6.4rem); letter-spacing: -.045em; }
#catalog-description { margin-top: 12px; color: #d3dbeb; }
.catalog-intro .category-photo { border: 1px solid #e5c07452; }
.catalog-body { padding-top: clamp(32px, 5vw, 64px); }
.catalog-collections, .catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-collections { padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.catalog-collections a, .catalog-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #c8b897;
  font-size: .9rem;
  font-weight: 700;
}
.catalog-collections a:hover, .catalog-filters a:hover { background: #e9e1d1; }
.catalog-collections a[aria-current], .catalog-filters a[aria-current] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--gold);
}
.catalog-filters { margin-top: 17px; }
.catalog-products { margin-top: 38px; }
.catalog-products h2, #catalog-filters-title { font-size: clamp(2.2rem, 4vw, 3.35rem); }
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.catalog-product {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top-color: #c6a165;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}
.catalog-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.catalog-product .text-link { margin-top: auto; }
.catalog-empty { margin-top: 15px; color: var(--muted); }

.admin-main h1 { font-size: clamp(3.2rem, 7vw, 5.6rem); letter-spacing: -.04em; }
.admin-main h2 { font-size: clamp(2rem, 5vw, 3rem); }
.admin-header > a:last-child { color: var(--gold); font-weight: 700; }
.admin-status { min-height: 1.6em; margin: 14px 0; color: var(--gold-dark); }
.admin-toolbar, .admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-toolbar { justify-content: space-between; margin-bottom: 20px; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: start; gap: 18px; }
.admin-panel {
  display: grid;
  gap: 15px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-top-color: #c6a165;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}
#login-form { max-width: 480px; }
.admin-panel form, .admin-product { display: grid; gap: 10px; }
.admin-panel label { display: grid; gap: 5px; font-weight: 700; }
.admin-panel input, .admin-panel select {
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #b9b3a8;
  color: var(--ink);
}
.admin-panel button { justify-self: start; }
.admin-types, .admin-products { display: grid; gap: 10px; }
.admin-types button {
  justify-self: stretch;
  padding: 9px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  text-align: left;
}
.admin-types button[aria-pressed="true"] { background: var(--navy); color: var(--gold); }
.admin-product { padding: 13px; border: 1px solid var(--line); }
.admin-product img { width: 100%; max-height: 190px; object-fit: contain; background: #fffdf8; }
.admin-remove { padding: 0; border: 0; color: #9e3224; background: transparent; font-size: .83rem; text-decoration: underline; }
.admin-main button:disabled { opacity: .55; cursor: default; }

.app-section { background: radial-gradient(ellipse at top right, #20395e, var(--navy) 74%); color: #fff8ea; }
.app-grid, .about-grid, .calculator { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 120px); align-items: center; }
.section-copy { color: #d3dbeb; margin-top: 17px; max-width: 400px; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: 22px; }
.store-badges a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
.store-badges img { width: auto; height: 44px; }
.store-badges .google-play-badge img { height: 58px; }
.app-preview {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid #e5c07444;
  background: radial-gradient(ellipse at center, #29466b, #101e35 75%);
}
.app-phone {
  width: min(100%, 236px);
  padding: 7px;
  border: 1px solid #e5c07472;
  border-radius: 24px;
  background: var(--deep);
  box-shadow: 0 20px 40px #0006;
}
.app-phone img { width: 100%; border-radius: 17px; }
.app-preview figcaption { color: #d3dbeb; text-align: center; font-size: .78rem; }
.feature-list { max-width: 460px; padding: 0; margin: 0; list-style: none; }
.feature-list li { border-top: 1px solid #e5c07449; padding: 17px 0 17px 25px; position: relative; }
.feature-list li:last-child { border-bottom: 1px solid #e5c07449; }
.feature-list li::before { position: absolute; top: 21px; left: 0; content: "◆"; font-size: .65rem; color: var(--gold); }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { font-size: .89rem; color: #d3dbeb; }
.calculator > div > p:not(.eyebrow) { margin: 15px 0; color: var(--muted); max-width: 380px; }
.calculator form { padding: clamp(17px, 3vw, 35px); }
.zakat-calculator { border-top: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 15px; }
.fields label:first-child, .field-wide { grid-column: 1 / -1; }
.fields label { display: grid; gap: 5px; font-size: .83rem; font-weight: 700; }
.fields input, .fields select { min-width: 0; width: 100%; background: white; border: 1px solid #b9b3a8; border-radius: 0; padding: 8px 10px; color: var(--ink); font-size: 1rem; font-weight: 400; }
.field-help { color: var(--muted); font-size: .82rem; margin-block: 0 12px; }
.results + .field-help { margin: 8px 0 0; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.results span { display: block; font-size: .8rem; color: var(--muted); }
.results output { font-size: 1.2rem; font-weight: 700; overflow-wrap: anywhere; }
#calc-error, .calc-error { color: #9e3224; margin-top: 10px; font-size: .86rem; }

.about { background: #eee8dc; }
.about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.about-mark { display: grid; place-items: center; min-height: 365px; padding: 40px; background: radial-gradient(ellipse at 55% 30%, #1d3456, var(--deep)); border: 1px solid #b08c4d; outline: 1px solid #e5c07445; outline-offset: -12px; }
.about-grid p:not(.eyebrow) { color: var(--muted); margin-top: 15px; }
.reviews {
  color: #fff8ea;
  background: radial-gradient(ellipse at top left, #1a3052, var(--deep) 76%);
  border-block: 1px solid #b08c4d;
}
.reviews .section-head > p { color: #cfd7e5; }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid #e5c07448;
  background: linear-gradient(155deg, #ffffff0d, #ffffff03);
}
.review-stars { color: var(--gold); letter-spacing: .17em; font-size: .9rem; }
.review-card blockquote { margin: 14px 0 22px; font: 500 1.38rem/1.22 var(--serif); }
.review-card figcaption { margin-top: auto; padding-top: 12px; border-top: 1px solid #e5c07448; color: #e2c798; font-size: .76rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 15px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: clamp(18px, 2.4vw, 30px); }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p, .contact-card address, .contact-card a:not(.text-link) { color: var(--muted); font-size: .91rem; font-style: normal; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .iban { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.contact-card .transfer-note { font-size: .75rem; }
.contact-card .text-link { margin-top: auto; padding-top: 5px; }
.copy { border: 0; background: transparent; padding: 0; text-align: left; }
#copy-status:empty { display: none; }
#copy-status { font-size: .78rem; color: var(--muted); }
.footer { color: #e9e0cd; background: var(--deep); font-size: .82rem; }
.footer-inner { min-height: 105px; padding-block: 16px; padding-inline-end: 66px; }
.whatsapp-float {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #087d58;
  color: white;
  box-shadow: 0 4px 16px #08132440;
}
.whatsapp-float:hover { background: #066849; }
.whatsapp-float svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 56px); }
  .header-action { display: none; }
  .hero-photo { left: 38%; }
  .hero h1 { font-size: clamp(3.7rem, 8vw, 5.7rem); }
}

@media (max-width: 800px) {
  .admin-layout { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 36px); }
  .topbar-inner { justify-content: center; }
  .topbar-inner > span { display: none; }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0; }
  .brand img:first-child { width: 26px; }
  .brand img:last-child { width: 106px; }
  .menu-toggle { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; }
  .header nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--navy); padding: 12px 18px 20px; border-bottom: 1px solid #e5c07465; }
  .header nav.open { display: grid; gap: 0; }
  .header nav a { padding: 10px 0; }
  .hero-photo { inset: 0; opacity: .63; background: linear-gradient(90deg, #0b1930ec 5%, #0b193078 64%, #0b193020), linear-gradient(0deg, #0b1930 2%, transparent 60%), url("assets/vitrin.webp") 63% center / cover, var(--navy); }
  .hero-inner { min-height: 500px; padding-block: 65px; }
  .hero h1 { font-size: clamp(2.95rem, 10vw, 4.75rem); }
  .hero-text { margin-top: 18px; max-width: 310px; }
  .actions { margin-top: 21px; }
  .market-inner { flex-wrap: wrap; gap: 3px 10px; font-size: .75rem; min-height: 47px; padding-block: 8px; }
  .market-status, .market-updated { flex-basis: 100%; order: 1; }
  .section-head { display: grid; gap: 10px; margin-bottom: 23px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card h3 { font-size: 1.7rem; }
  .app-grid, .about-grid, .calculator, .contact-grid { grid-template-columns: 1fr; }
  .about-mark { min-height: 225px; order: 2; padding: 30px; }
  .about-mark img { width: min(55%, 185px); }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .footer-inner img { width: 100px; }
}

@media (max-width: 520px) {
  .collection-grid, .review-grid { grid-template-columns: 1fr; }
  .catalog-intro-grid { grid-template-columns: 1fr; }
  .catalog-header { gap: 12px; }
  .catalog-header .catalog-back { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
