/* Tailwind'in karşılamadığı küçük parçalar: animasyonlar, form alanları, gradyanlar */

body { background: #f7f4ed; }
section[id] { scroll-margin-top: 5rem; }
::selection { background: #e4cb85; color: #070e20; }
:focus-visible { outline: 2px solid #c8a24a; outline-offset: 2px; }

.gold-text {
    background: linear-gradient(100deg, #f1dfa8, #d6b563 45%, #c8a24a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #85651f;
}
.eyebrow-dark { color: #e4cb85; }

.hero-glow { background: radial-gradient(closest-side, rgba(200, 162, 74, .28), rgba(200, 162, 74, 0)); }
.hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}

/* Marka monogramı: siyah SVG, maske olarak kullanılıp altın gradyanla boyanır (koyu/açık zeminde çalışır) */
.logo-mark {
    display: block; width: 2.9rem; height: 2.35rem; flex: none;
    background: linear-gradient(135deg, #f1dfa8, #d6b563 55%, #a8822f);
    -webkit-mask: url("../img/monogram.svg") center / contain no-repeat;
    mask: url("../img/monogram.svg") center / contain no-repeat;
}

/* Menü */
#header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.nav-link[aria-current="true"] { color: #e4cb85; background: rgba(255, 255, 255, .06); }

/* Canlı nokta */
.live-dot { position: relative; display: inline-block; width: .5rem; height: .5rem; border-radius: 9999px; background: #34d399; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
.live-dot-light { background: #059669; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* Yükleniyor iskeleti */
.skeleton {
    background: linear-gradient(90deg, rgba(148, 163, 184, .18) 25%, rgba(148, 163, 184, .34) 50%, rgba(148, 163, 184, .18) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Kur şeridi: içerik iki kez basılır, -%50 kayınca kesintisiz döner */
.ticker { animation: ticker 60s linear infinite; }
.ticker:hover { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Kaydırınca beliren bölümler (JS yoksa içerik zaten görünür) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Form alanları */
.field-label { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 600; color: #37496f; }
.field {
    width: 100%;
    border-radius: .9rem;
    border: 1px solid #c4cde2;
    background-color: #fff;
    padding: .8rem 1rem;
    font-size: 1rem;
    color: #0c1730;
    transition: border-color .15s, box-shadow .15s;
}
.field::placeholder { color: #97a5c6; }
.field:focus { outline: none; border-color: #c8a24a; box-shadow: 0 0 0 4px rgba(200, 162, 74, .2); }
select.field {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2337496f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* Hesaplama sekmeleri */
.calc-tab { border-radius: .65rem; padding: .7rem 1rem; color: #4b5f8a; transition: background-color .15s, color .15s; }
.calc-tab[aria-selected="true"] { background: #fff; color: #0c1730; box-shadow: 0 1px 3px rgba(12, 23, 48, .14); }

/* Karşılama slaytları: hepsi aynı hücrede üst üste durur, yalnızca aktif olan görünür (yükseklik sabit kalır) */
.hero-slide { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-dot { position: relative; height: .5rem; width: .5rem; border-radius: 9999px; background: rgba(255, 255, 255, .3); transition: width .3s, background-color .3s; }
.hero-dot::after { content: ""; position: absolute; inset: -.65rem -.3rem; }
.hero-dot:hover { background: rgba(255, 255, 255, .55); }
.hero-dot[aria-current="true"] { width: 2rem; background: #d6b563; }

/* Kur tablosu sekmeleri */
.rate-tab { white-space: nowrap; border-radius: .65rem; padding: .55rem 1rem; color: #4b5f8a; transition: background-color .15s, color .15s; }
.rate-tab:hover { color: #0c1730; }
.rate-tab[aria-selected="true"] { background: #0c1730; color: #fff; }

/* Açılır-kapanır bölümler (SSS, ayrıntılı bilgi) */
details.faq > summary { list-style: none; }
details.faq > summary::-webkit-details-marker { display: none; }
.faq-chev { display: inline-flex; transition: transform .2s; }
details.faq[open] > summary .faq-chev { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .ticker, .live-dot::after, .skeleton { animation: none; }
    .hero-slide, .hero-dot { transition: none; }
}
