:root {
  --purple: #812d7b;
  --purple-dark: #5f1f5b;
  --purple-soft: #f4e9f3;
  --petrol: #0f5257;
  --petrol-dark: #0a3b3f;
  --ice: #e0f3f1;
  --ice-2: #f3fafa;
  --bg: #ffffff;
  --text: #1c2a2d;
  --muted: #5b6b6e;
  --line: #d7e6e5;
  --ok: #1f7a4d;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 82, 87, .10);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ice-2); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; color: var(--petrol-dark); }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.section.alt { background: #fff; }
.eyebrow { color: var(--purple); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4em; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Üst bilgi şeridi */
.legalbar { background: var(--petrol-dark); color: #d9efed; font-size: .78rem; text-align: center; padding: 6px 12px; }
.legalbar strong { color: #fff; font-weight: 600; }

/* Header */
.site-header { background: var(--ice); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand img { height: 46px; width: auto; }
.nav-toggle { background: none; border: 0; padding: 10px; cursor: pointer; color: var(--petrol-dark); }
.nav-toggle svg { width: 28px; height: 28px; }
.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ice); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.main-nav.open { display: block; }
.main-nav a { display: block; padding: 14px 20px; text-decoration: none; color: var(--petrol-dark); font-weight: 600; border-top: 1px solid var(--line); }
.main-nav a.active { color: var(--purple); }
.main-nav .btn { margin: 12px 16px 16px; display: block; text-align: center; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex !important; position: static; background: none; border: 0; box-shadow: none; align-items: center; gap: 4px; }
  .main-nav a { border: 0; padding: 8px 12px; border-radius: 8px; }
  .main-nav a:hover { background: rgba(255,255,255,.6); }
  .main-nav .btn { margin: 0 0 0 8px; display: inline-block; }
  .brand img { height: 54px; }
}

/* Buttons */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; transition: transform .05s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--purple); color: #fff !important; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-secondary { background: var(--petrol); color: #fff !important; }
.btn-secondary:hover { background: var(--petrol-dark); }
.btn-ghost { background: #fff; color: var(--petrol-dark) !important; border: 1.5px solid var(--line); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-danger { background: #b42318; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--ice) 0%, #fff 60%); padding: 36px 0 44px; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
.hero h1 { color: var(--petrol-dark); }
.hero h1 span { color: var(--purple); }
.hero p.lead { font-size: 1.1rem; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.hero-visual img { width: 100%; height: 300px; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: 64px 0; }
  .hero .wrap { grid-template-columns: 1.1fr 1fr; }
  .hero-visual img { height: 420px; }
}

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.trust div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .9rem; }
.trust strong { display: block; color: var(--purple); font-size: 1.05rem; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* Highlight */
.highlight { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%); color: #fff; border-radius: 22px; padding: 26px; display: grid; gap: 20px; align-items: center; }
.highlight h2, .highlight h3 { color: #fff; }
.highlight .eyebrow { color: #f3c9ef; }
.highlight img { border-radius: 14px; background: #fff; max-height: 280px; width: 100%; object-fit: cover; }
.highlight ul { padding-left: 1.1em; margin: 0 0 1em; }
@media (min-width: 900px) { .highlight { grid-template-columns: 1.2fr 1fr; padding: 40px; } }

/* Cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.card .media { background: #fff; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); position: relative; }
.card .media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card .media.cover img { object-fit: cover; padding: 0; }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body p { color: var(--muted); font-size: .95rem; }
.card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.card .actions .btn { flex: 1; }
.badge { display: inline-block; background: var(--purple); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.media .badge { position: absolute; top: 10px; left: 10px; }
.tag { display: inline-block; font-size: .78rem; color: var(--petrol); background: var(--ice); padding: 3px 10px; border-radius: 999px; }
.card-title { margin: 0; font-size: 1.15rem; }
.card-title a { color: var(--petrol-dark); text-decoration: none; }

/* News */
.news-card .meta { font-size: .82rem; color: var(--muted); }
.news-card .media { aspect-ratio: 16 / 7; }

/* Page head */
.page-head { background: var(--ice); padding: 28px 0; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }

/* Product detail */
.detail { display: grid; gap: 26px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 1fr; align-items: start; } }
.gallery .main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs button { width: 72px; height: 72px; border: 2px solid var(--line); border-radius: 10px; padding: 0; background: #fff; cursor: pointer; overflow: hidden; }
.gallery .thumbs button.active { border-color: var(--purple); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.2em; }
.chips span { background: var(--purple-soft); color: var(--purple-dark); padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.sticky-cta { position: sticky; bottom: 0; background: rgba(255,255,255,.96); padding: 12px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .sticky-cta { position: static; background: none; border: 0; padding: 0; } }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article img.cover { border-radius: var(--radius); margin: 0 0 20px; width: 100%; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--petrol-dark); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.form textarea { min-height: 110px; resize: vertical; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--purple); flex: none; }
.form-note { font-size: .8rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 16px; }
.info-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-list b { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.map { border: 0; width: 100%; height: 300px; border-radius: var(--radius); background: var(--ice); }
.panel-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(10, 40, 43, .55); z-index: 100; display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; }
.modal .sheet { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 22px 18px 26px; animation: up .22s ease-out; }
@media (min-width: 640px) { .modal { align-items: center; } .modal .sheet { border-radius: 20px; padding: 28px; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .close { float: right; background: var(--ice); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.success { text-align: center; padding: 20px 0; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }

/* WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; }
body.has-sticky .wa-float { bottom: 84px; }
@media (min-width: 900px) { body.has-sticky .wa-float { bottom: 16px; } }

/* Footer */
.site-footer { background: var(--petrol-dark); color: #cfe6e4; padding: 36px 0 90px; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 22px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } .site-footer { padding-bottom: 36px; } }
.site-footer h4 { color: #fff; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 16px; font-size: .8rem; }
.foot-logo { background: var(--ice); display: inline-block; border-radius: 10px; padding: 6px 10px; margin-bottom: 10px; }
.foot-logo img { height: 40px; }

/* Toast */
.toast-wrap { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: calc(100% - 32px); max-width: 420px; }
.toast { background: var(--petrol-dark); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; animation: up .2s ease-out; }
.toast.ok { background: var(--ok); }
.toast.li { background: #0a66c2; }

.demo-flag { background: #fff6d6; color: #6b5300; font-size: .78rem; text-align: center; padding: 5px 12px; }
.empty { text-align: center; color: var(--muted); padding: 30px; border: 2px dashed var(--line); border-radius: var(--radius); background: #fff; }
