/* ============================================================
   AR JEWEL — Modern tasarım sistemi
   ============================================================ */
:root {
    --bg: #faf8f4;
    --surface: #ffffff;
    --ink: #201c17;
    --muted: #8a8172;
    --gold: #b08d57;
    --gold-dark: #96713a;
    --gold-soft: #f3ecdf;
    --line: #eae3d5;
    --dark: #17130e;
    --danger: #b3423f;
    --success: #3d7a4e;
    --radius: 14px;
    --shadow-sm: 0 1px 3px rgba(32, 28, 23, .06);
    --shadow-md: 0 10px 30px rgba(32, 28, 23, .10);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .5em;
    color: var(--ink);
}

a { color: inherit; }

.container {
    width: min(1240px, 92%);
    margin: 0 auto;
}

.section { padding: 56px 0; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: 10px;
}

.section-title { font-size: clamp(28px, 4vw, 40px); margin: 0; }

.section-sub { color: var(--muted); max-width: 560px; margin: 6px 0 0; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }

.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

.btn-sm { padding: 9px 18px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 76px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.main-nav > a,
.nav-drop > a {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border-radius: 8px;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav > a:hover,
.nav-drop > a:hover { color: var(--gold-dark); }

.nav-drop { position: relative; }

.nav-drop .caret {
    width: 9px; height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s;
}

.drop-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 6px;
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .22s ease;
}

.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drop-panel a {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    color: var(--ink);
}

.drop-panel a:hover { background: var(--gold-soft); color: var(--gold-dark); }

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    background: var(--gold-soft);
    border-radius: 999px;
    padding: 8px 16px;
}

.link-quiet {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: .05em;
}
.link-quiet:hover { color: var(--danger); }

.icon-svg { width: 18px; height: 18px; flex: none; }

/* Hamburger */
.nav-burger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
}
.nav-burger svg { width: 26px; height: 26px; }

/* Mobil menü paneli */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--surface);
    z-index: 99;
    padding: 24px 6%;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    padding: 14px 6px;
    font-size: 17px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.mobile-nav .m-group-title {
    padding: 14px 6px 6px;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.mobile-nav .m-sub { padding-left: 20px; font-size: 15.5px; color: #444; }

.mobile-nav .m-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.mobile-nav .m-actions .btn { width: 100%; }

/* ---------- Giriş çekmecesi (drawer) ---------- */
.auth-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    background: var(--surface);
    z-index: 210;
    box-shadow: -18px 0 50px rgba(0, 0, 0, .18);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    overflow-y: auto;
}

.auth-drawer.open { transform: translateX(0); }

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.drawer-head h3 { margin: 0; font-size: 28px; }

.drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
    padding: 6px;
}
.drawer-close:hover { color: var(--ink); }

.page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 19, 14, .45);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
}
.page-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Sepet çekmecesi ---------- */
.cart-drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

.mini-row {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
}

.mini-row .cart-thumb { width: 68px; height: 68px; }

.mini-row h5 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 5px;
}

.mini-qty { margin-top: 8px; }

.qty-stepper.sm button { width: 26px; height: 30px; font-size: 15px; }
.qty-stepper.sm span { min-width: 28px; text-align: center; font-size: 13.5px; }

.mini-foot {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
}

.mini-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: var(--muted);
    padding: 30px 10px;
}

.drawer-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 26px 0 18px;
}
.drawer-divider::before,
.drawer-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Form elemanları ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.field label {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.input,
select.input,
textarea.input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}

select.input {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a8172' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 87, .15); }

textarea.input { resize: vertical; min-height: 96px; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(176, 141, 87, .16), transparent 60%),
        linear-gradient(180deg, #fdfcf9 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 48px;
    padding: 72px 0;
}

.hero h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 500;
    margin: 0 0 18px;
}

.hero h1 em { font-style: italic; color: var(--gold-dark); }

.hero p.lead { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 0 30px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }

.hero-visual .frame {
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--gold);
    border-radius: 24px;
    z-index: -1;
    opacity: .5;
}

/* Kategori şeridi */
.cat-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-chip {
    padding: 10px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    color: var(--ink);
    transition: all .2s;
}

.cat-chip:hover, .cat-chip.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* ---------- Katalog / toolbar ---------- */
.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.toolbar select.input { width: auto; min-width: 190px; }

.result-count { color: var(--muted); font-size: 14px; }

/* ---------- Ürün kartları ---------- */
.grid-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.p-media {
    position: relative;
    background: linear-gradient(160deg, #fdfcfa, #f4efe6);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.p-media img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

.product-card:hover .p-media img { transform: scale(1.05); }

/* Görseli olmayan ürünler için zarif yer tutucu */
.p-media.no-img::before {
    content: "AR JEWEL";
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    letter-spacing: .18em;
    color: rgba(176, 141, 87, .45);
}

.p-gram-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .05em;
    padding: 4px 12px;
    color: var(--gold-dark);
}

.p-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.p-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.p-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.p-opts .input { padding: 8px 10px; font-size: 13px; border-radius: 8px; }
.p-opts select.input { background-position: right 8px center; padding-right: 26px; }

.p-buy { display: flex; gap: 8px; margin-top: auto; }

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    flex: none;
}

.qty-stepper button {
    width: 32px;
    height: 38px;
    background: none;
    border: none;
    font-size: 17px;
    cursor: pointer;
    color: var(--muted);
    transition: color .15s;
}
.qty-stepper button:hover { color: var(--gold-dark); }

.qty-stepper input {
    width: 34px;
    border: none;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield;
    background: transparent;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.p-buy .btn { flex: 1; padding: 10px 12px; font-size: 12.5px; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
}
.empty-state h3 { font-size: 26px; }

/* ---------- Kart / panel ---------- */
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.panel-title { font-size: 24px; margin: 0 0 18px; }

/* ---------- Sepet ---------- */
.cart-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 26px;
    align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 14px; }

.cart-row {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 18px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.cart-thumb {
    width: 92px;
    height: 92px;
    border-radius: 10px;
    background: linear-gradient(160deg, #fdfcfa, #f4efe6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--line);
}
.cart-thumb img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.cart-info h4 { font-family: var(--font-display); font-size: 19px; margin: 0 0 4px; }

.cart-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
    font-size: 12px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    border-radius: 999px;
    padding: 3px 10px;
    font-weight: 500;
}

.cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.cart-gram { font-size: 14px; color: var(--muted); }
.cart-gram strong { color: var(--ink); font-size: 16px; }

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px dashed var(--line);
}
.summary-row.total { border-bottom: none; font-size: 18px; font-weight: 600; padding-top: 16px; }
.summary-row.total .val { font-family: var(--font-display); font-size: 24px; color: var(--gold-dark); }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }

.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }

.data-table th {
    text-align: left;
    padding: 14px 18px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    background: #fbf9f4;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fdfbf7; }

/* ---------- Durum / uyarı ---------- */
.alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14.5px;
    margin: 14px 0;
    border: 1px solid;
}
.alert-success { background: #eef6f0; border-color: #cfe5d6; color: var(--success); }
.alert-error { background: #fbeeee; border-color: #eed3d2; color: var(--danger); }
.alert-info { background: var(--gold-soft); border-color: var(--line); color: var(--gold-dark); }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-weight: 500;
    font-size: 15px;
}
.status-pill::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------- Dar sayfa (auth, takip) ---------- */
.narrow-wrap { max-width: 480px; margin: 0 auto; }
.page-head { text-align: center; margin-bottom: 30px; }
.page-head .section-title { font-size: clamp(30px, 4vw, 42px); }

/* ---------- Toast ---------- */
#toast-root {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.toast {
    background: var(--ink);
    color: #fff;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14.5px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toast-in .3s ease;
    max-width: 90vw;
}

.toast.err { background: var(--danger); }
.toast .t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.toast.err .t-dot { background: #fff; }

@keyframes toast-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 70px;
    background: var(--dark);
    color: #cfc8bc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0 40px;
}

.site-footer h4 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 20px;
    margin: 0 0 16px;
}

.site-footer .f-brand img {
    height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid rgba(232, 201, 140, .35);
}

.site-footer p { font-size: 14.5px; line-height: 1.7; margin: 0 0 8px; }

.site-footer a { color: #cfc8bc; text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: var(--gold); }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #8c8577;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-products { grid-template-columns: repeat(3, 1fr); }
    .main-nav { display: none; }
    .nav-burger { display: inline-flex; }
    .header-actions .user-chip, .header-actions .link-quiet { display: none; }
    .hero-inner { grid-template-columns: 1fr; padding: 48px 0; gap: 34px; }
    .hero-visual::after { display: none; }
    .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .p-opts { grid-template-columns: 1fr; }
    .p-buy { flex-direction: column; }
    .qty-stepper { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
    .header-inner { height: 66px; gap: 14px; }
    .brand img { height: 42px; }
    .mobile-nav { inset: 66px 0 0 0; }
    .cart-row { grid-template-columns: 72px 1fr; }
    .cart-thumb { width: 72px; height: 72px; }
    .cart-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .section { padding: 38px 0; }
}

@media (max-width: 440px) {
    .grid-products { grid-template-columns: 1fr; }
    .header-actions .btn-cart span { display: none; }
}

/* ============================================================
   V2 — Zenginleştirme katmanı
   ============================================================ */

/* ---------- Header rötuşları ---------- */
.site-header::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 35%, #e8c98c 50%, var(--gold) 65%, transparent 100%);
}

.site-header.scrolled { box-shadow: 0 6px 24px rgba(32, 28, 23, .08); }

.main-nav > a, .nav-drop > a { position: relative; }
.main-nav > a::after, .nav-drop > a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 5px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}
.main-nav > a:hover::after, .nav-drop > a:hover::after { transform: scaleX(1); }

/* ---------- Altın buton parlama efekti ---------- */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::before {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.btn-gold:hover::before { left: 130%; }

/* ---------- Koyu hero ---------- */
.hero-dark {
    position: relative;
    overflow: hidden;
    color: #ece5d8;
    border-bottom: none;
    background:
        radial-gradient(950px 520px at 10% -15%, rgba(176, 141, 87, .30), transparent 55%),
        radial-gradient(720px 460px at 96% 115%, rgba(176, 141, 87, .22), transparent 60%),
        linear-gradient(150deg, #211a12 0%, #17130e 52%, #241b10 100%);
}

.hero-dark::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(2px 2px at 18% 30%, rgba(232, 201, 140, .55), transparent 55%),
        radial-gradient(1.6px 1.6px at 32% 72%, rgba(232, 201, 140, .4), transparent 55%),
        radial-gradient(2px 2px at 55% 18%, rgba(232, 201, 140, .35), transparent 55%),
        radial-gradient(1.4px 1.4px at 78% 62%, rgba(232, 201, 140, .45), transparent 55%),
        radial-gradient(1.8px 1.8px at 90% 26%, rgba(232, 201, 140, .4), transparent 55%);
}

.hero-dark .eyebrow { color: #d9b87e; }

.hero-dark h1 { color: #fff; }

.hero-dark h1 em {
    font-style: italic;
    background: linear-gradient(90deg, #b08d57 0%, #ecd3a0 30%, #b08d57 60%, #ecd3a0 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gold-shine 5.5s linear infinite;
}

@keyframes gold-shine { to { background-position: 220% center; } }

.hero-dark p.lead { color: #b3a68e; }

.hero-dark .btn-outline,
.cta-band .btn-outline { border-color: rgba(236, 211, 160, .5); color: #ecd3a0; }
.hero-dark .btn-outline:hover,
.cta-band .btn-outline:hover { background: rgba(236, 211, 160, .12); border-color: #ecd3a0; color: #fff; }

/* Hero istatistik şeridi */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 42px;
    flex-wrap: wrap;
}

.hero-stat { position: relative; }
.hero-stat + .hero-stat::before {
    content: "";
    position: absolute;
    left: -21px; top: 8%;
    height: 84%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(232, 201, 140, .4), transparent);
}

.hero-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
}

.hero-stat span {
    font-size: 11.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #9b8f78;
}

/* Hero görseli — kemer (arch) çerçeve */
.hero-dark .hero-visual .frame {
    border-radius: 240px 240px 26px 26px;
    border: 1px solid rgba(232, 201, 140, .38);
    background: linear-gradient(160deg, #2a2216, #1c160e);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .5);
}

.hero-dark .hero-visual .frame img {
    aspect-ratio: 4/4.6;
    transform: scale(1.08);
    background: #fff;
}

.hero-dark .hero-visual::after {
    inset: -16px;
    border-radius: 256px 256px 34px 34px;
    border: 1px solid rgba(176, 141, 87, .45);
    opacity: 1;
    z-index: 0;
}

.sparkle {
    position: absolute;
    width: 22px; height: 22px;
    color: #ecd3a0;
    z-index: 2;
    animation: twinkle 3.2s ease-in-out infinite;
    pointer-events: none;
}
.sparkle svg { width: 100%; height: 100%; }
.sparkle.s2 { width: 14px; height: 14px; animation-delay: 1.1s; }
.sparkle.s3 { width: 17px; height: 17px; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { opacity: .25; transform: scale(.75) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

/* ---------- Kayan bant (marquee) ---------- */
.marquee {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 15px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-dark);
    white-space: nowrap;
    padding-right: 26px;
}

.marquee-track span::after {
    content: "✦";
    margin-left: 26px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0;
}

@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---------- Süs ayraç (ornament) ---------- */
.ornament {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    width: 190px;
    margin-bottom: 14px;
    font-size: 13px;
}
.ornament.center { margin-left: auto; margin-right: auto; justify-content: center; }
.ornament::before, .ornament::after {
    content: "";
    flex: 1;
    height: 1px;
}
.ornament::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Özellik / güven kartları ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-tile {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 22px 26px;
    text-align: center;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(176, 141, 87, .45);
}

.feature-tile .f-icon {
    width: 58px; height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--gold-soft), #ece1cb);
    border: 1px solid rgba(176, 141, 87, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
}
.feature-tile .f-icon svg { width: 26px; height: 26px; }

.feature-tile h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.feature-tile p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* ---------- Kategori çipleri rötuş ---------- */
.cat-chip:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.cat-chip.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-color: var(--gold-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(150, 113, 58, .3);
}

/* ---------- Ürün kartı rötuşları ---------- */
.product-card { position: relative; }

.product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform .4s ease;
}

.product-card:hover::before { transform: scaleX(1); }

.product-card:hover { border-color: rgba(176, 141, 87, .4); }

.p-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    background-size: 240% 100%;
    background-position: 120% 0;
    transition: background-position .7s ease;
    pointer-events: none;
}

.product-card:hover .p-media::after { background-position: -120% 0; }

/* ---------- CTA bandı ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 58px 8%;
    text-align: center;
    color: #ece5d8;
    background:
        radial-gradient(700px 320px at 50% -40%, rgba(176, 141, 87, .35), transparent 65%),
        linear-gradient(150deg, #241d13, #17130e);
    border: 1px solid rgba(176, 141, 87, .35);
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(26px, 3.6vw, 38px);
    margin-bottom: 12px;
}

.cta-band h2 em { font-style: italic; color: #ecd3a0; }

.cta-band p {
    color: #b3a68e;
    max-width: 520px;
    margin: 0 auto 28px;
    font-size: 15.5px;
}

.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer rötuşları ---------- */
.site-footer::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 35%, #e8c98c 50%, var(--gold) 65%, transparent 100%);
}

/* ---------- Hakkımızda ---------- */
.about-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
}

.about-text .section-title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.about-text p { color: #5d5647; font-size: 16px; line-height: 1.75; margin: 0 0 14px; max-width: 560px; }

.about-visual .frame {
    border-radius: 240px 240px 26px 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.about-visual .frame img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.about-visual::after {
    inset: -16px;
    border-radius: 256px 256px 34px 34px;
    border: 1px solid rgba(176, 141, 87, .45);
    opacity: 1;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 6%;
    box-shadow: var(--shadow-sm);
}

.a-stat { text-align: center; flex: 1; min-width: 130px; }
.a-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 600;
    color: var(--gold-dark);
    line-height: 1.1;
}
.a-stat span {
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Sertifika bölümü */
.cert-section {
    background:
        radial-gradient(700px 340px at 50% -30%, rgba(176, 141, 87, .30), transparent 65%),
        linear-gradient(150deg, #241d13, #17130e);
    color: #ece5d8;
    border-top: 1px solid rgba(176, 141, 87, .3);
    border-bottom: 1px solid rgba(176, 141, 87, .3);
}

.cert-section .section-title { color: #fff; }
.cert-section .section-sub { color: #b3a68e; }

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;
    gap: 26px;
    margin-top: 34px;
}

.cert-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(232, 201, 140, .30);
    border-radius: 18px;
    padding: 38px 34px 30px;
    text-align: center;
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 201, 140, .65);
    background: rgba(255, 255, 255, .07);
}

.cert-logo {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    max-width: 300px;
}

.cert-logo img { max-height: 62px; max-width: 100%; width: auto; }

.cert-logo.plate {
    background: #fff;
    border-radius: 12px;
    padding: 16px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.cert-card h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }

.cert-card .cert-full {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #d9b87e;
    margin: 0 0 14px;
}

.cert-card p:not(.cert-full) {
    color: #b3a68e;
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

.cert-note {
    text-align: center;
    color: #9b8f78;
    font-size: 13.5px;
    margin: 26px auto 0;
    max-width: 640px;
}

@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; gap: 36px; }
    .about-visual { max-width: 420px; margin: 0 auto; }
    .cert-grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal (yalnızca JS varken gizlenir) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track, .sparkle, .hero-dark h1 em { animation: none; }
}

/* ---------- V2 responsive ---------- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-dark .hero-visual .frame img { aspect-ratio: 4/3; }
    .hero-dark .hero-visual .frame { border-radius: 26px; }
    .hero-dark .hero-visual::after { display: none; }
}

@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 26px; }
    .hero-stat + .hero-stat::before { left: -14px; }
    .cta-band { padding: 44px 7%; }
}
