/* Atatürk Panosu — Özel Stiller */

[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prose stilleri (CMS içerikler için) */
.prose { color: #374151; line-height: 1.75; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: #0a0a0a; margin-top: 1.5em; margin-bottom: 0.5em; line-height: 1.2; }
.prose h1 { font-size: 2.25em; }
.prose h2 { font-size: 1.875em; }
.prose h3 { font-size: 1.5em; }
.prose p { margin-bottom: 1em; }
.prose a { color: #b88a3b; text-decoration: underline; }
.prose a:hover { color: #8f6826; }
.prose strong { color: #0a0a0a; font-weight: 600; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.5em; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose blockquote { border-left: 4px solid #b88a3b; padding-left: 1em; font-style: italic; color: #4b5563; }
.prose img { max-width: 100%; border-radius: 0.5rem; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid #e5e7eb; padding: 0.5em; text-align: left; }
.prose th { background: #f9fafb; font-weight: 600; }

/* Scrollbar stilleri */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #b88a3b; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #8f6826; }

/* Selection */
::selection { background: #b88a3b; color: white; }

/* Container helper - default Tailwind container'a maksimum genişlik veriyoruz */
.container { max-width: 1280px; }

/* Form input default focus override */
input:focus, textarea:focus, select:focus { outline: none; }

/* Loading shimmer */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Smooth page transitions */
main { animation: pageIn 0.4s ease-out; }
@keyframes pageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print stilleri */
@media print {
    header, footer, .no-print { display: none !important; }
}

/* Atatürk Panosu: yapıyı koruyan hafif siyah-altın tema ayrımı */
body { background-color: #fffdf9; }
header.bg-white { box-shadow: 0 8px 28px rgba(24,18,7,.06); }
.product-card, .category-card { border-color: rgba(184,138,59,.16); }

/* Ana sayfa hero v5: orijinal görsel solda, metin sağdaki boş alanda */
.okd-home-hero { min-height: clamp(640px, 43vw, 820px); }
.okd-home-hero-media { background: #030303; }
.okd-home-hero-image { object-position: center center; opacity: 1; }
.okd-home-hero-shade {
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.02) 42%, rgba(0,0,0,.28) 62%, rgba(0,0,0,.7) 100%);
}
.okd-home-hero-inner {
    display: flex;
    align-items: center;
    min-height: clamp(640px, 43vw, 820px);
}
.okd-home-hero-content {
    width: min(47%, 680px);
    text-align: left;
    text-shadow: 0 3px 18px rgba(0,0,0,.72);
}

/* Atatürk Panosu v3: merkez logo ve özgün katalog kartları */
.okd-header-logo { position: relative; z-index: 2; }
.okd-header-nav a { position: relative; border-radius: 999px; }
.okd-header-nav a::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 1px; background: #b88a3b; transform: scaleX(0); transition: transform .25s ease; }
.okd-header-nav a:hover::after { transform: scaleX(1); }
.okd-products-section { background: linear-gradient(180deg,#fff 0%,#fbf8f1 100%); }
.okd-product-card { border-radius: 28px 8px 28px 8px !important; border-color: rgba(184,138,59,.20) !important; box-shadow: 0 12px 35px rgba(27,20,8,.07); }
.okd-product-card:hover { transform: translateY(-7px); border-color: rgba(184,138,59,.48) !important; box-shadow: 0 22px 48px rgba(27,20,8,.14); }
.okd-product-media { aspect-ratio: 4 / 3 !important; background: #f2eee5; }
.okd-product-media img { transition-duration: .7s !important; }
.okd-product-card:hover .okd-product-media img { transform: scale(1.035); }
.okd-card-light .okd-product-body { background: linear-gradient(145deg,#fff 0%,#fffdf8 100%); }
.okd-card-dark .okd-product-body { background: linear-gradient(145deg,#24211c 0%,#171614 100%); }

/* Ana sayfa Son Ürünlerimiz: yatay, lacivert ve yalnızca bu bölüme özel kart düzeni */
.okd-latest-products {
    background:
        radial-gradient(circle at 50% -10%, rgba(31,55,75,.72) 0%, rgba(8,13,18,.94) 38%, #050606 72%) !important;
}
.okd-latest-products-grid .okd-product-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    min-height: 270px;
    overflow: hidden;
    border: 1px solid rgba(184,138,59,.38) !important;
    border-radius: 8px 30px 8px 30px !important;
    background: #0d151d !important;
    box-shadow: 0 20px 44px rgba(0,0,0,.34);
}
.okd-latest-products-grid .okd-product-card::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: 0;
    right: 30px;
    width: 76px;
    height: 3px;
    background: linear-gradient(90deg,#8f6826,#e0b864);
}
.okd-latest-products-grid .okd-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224,184,100,.72) !important;
    box-shadow: 0 28px 58px rgba(0,0,0,.46);
}
.okd-latest-products-grid .okd-product-media {
    width: 100%;
    height: 100%;
    min-height: 270px;
    aspect-ratio: auto !important;
    background: #f6f4ef;
}
.okd-latest-products-grid .okd-product-media img {
    object-fit: contain;
}
.okd-latest-products-grid .okd-product-body {
    min-width: 0;
    padding: 26px;
    background: linear-gradient(145deg,#172634 0%,#0b121a 100%);
    border-left: 1px solid rgba(224,184,100,.2);
}
.okd-latest-products-grid .okd-product-body > p:first-child {
    color: #cfaa61 !important;
    font-weight: 700;
    letter-spacing: .1em;
}
.okd-latest-products-grid .okd-product-body h3 {
    font-size: 1.25rem;
    line-height: 1.25;
}
.okd-latest-products-grid .okd-product-body form button,
.okd-latest-products-grid .okd-product-body > div a {
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(211,10,48,.3);
}
.okd-category-card { border-radius: 32px 8px 32px 8px !important; border: 1px solid rgba(184,138,59,.25); background: #050709; }
.okd-category-card:hover { transform: translateY(-5px); }
.okd-category-bg {
    z-index: 0;
    background:
        radial-gradient(circle at 74% 25%, rgba(41,58,70,.68) 0%, rgba(15,20,24,.42) 30%, transparent 58%),
        linear-gradient(135deg,#080b0d 0%,#11171b 52%,#050607 100%);
}
.okd-category-portrait {
    position: absolute;
    z-index: 1;
    top: 3%;
    right: 1.5%;
    width: 53%;
    height: auto;
    pointer-events: none;
    opacity: .96;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(0,0,0,.5));
    transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .65s ease;
}
.okd-category-card:hover .okd-category-portrait {
    transform: translateY(-4px) scale(1.025);
    filter: drop-shadow(0 22px 28px rgba(0,0,0,.62));
}
.okd-category-shade { z-index: 2; }
.okd-category-content { z-index: 4; }
.okd-category-sample {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease;
    filter: drop-shadow(0 14px 16px rgba(0,0,0,.48));
}
.okd-category-sample img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid rgba(222,180,92,.7);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.okd-category-sample--panel {
    left: 7%;
    top: 15%;
    width: 35%;
    aspect-ratio: 691 / 336;
    transform: rotate(0deg);
}
.okd-category-sample--table {
    left: 10%;
    top: 11%;
    width: 24%;
    aspect-ratio: 386 / 502;
    transform: rotate(-1deg);
}
.okd-category-card:hover .okd-category-sample {
    transform: translateY(-5px) rotate(0deg) scale(1.045);
    filter: drop-shadow(0 20px 22px rgba(0,0,0,.58));
}
.okd-filter-card { border: 1px solid rgba(184,138,59,.18); border-radius: 22px 8px 22px 8px !important; box-shadow: 0 14px 36px rgba(27,20,8,.06); }
@media (max-width: 1023px) { .okd-header-row { grid-template-columns: 1fr auto 1fr; } }
@media (min-width: 640px) and (max-width: 1023px) {
    .okd-latest-products-grid .okd-product-card { grid-template-columns: minmax(0, 40%) minmax(0, 60%); }
}
@media (max-width: 639px) {
    .okd-header-row { gap: .25rem; }
    .okd-product-media { aspect-ratio: 1 / 1 !important; }
    .okd-latest-products-grid .okd-product-card { display: flex; min-height: 0; border-radius: 8px 24px 8px 24px !important; }
    .okd-latest-products-grid .okd-product-media { height: auto; min-height: 0; aspect-ratio: 4 / 3 !important; }
    .okd-latest-products-grid .okd-product-body { padding: 22px; border-left: 0; border-top: 1px solid rgba(224,184,100,.2); }
    .okd-category-sample--panel { left: 7%; top: 14%; width: 36%; }
    .okd-category-sample--table { left: 10%; top: 10%; width: 25%; }
    .okd-category-portrait { top: 4%; right: 1%; width: 52%; }
}

@media (max-width: 767px) {
    .okd-home-hero { min-height: 0; }
    .okd-home-hero-media {
        position: relative !important;
        inset: auto !important;
        width: 100%;
        aspect-ratio: 1915 / 821;
    }
    .okd-home-hero-image { object-fit: contain !important; }
    .okd-home-hero-shade { display: none; }
    .okd-home-hero-inner { min-height: 0; padding-top: 2.5rem; padding-bottom: 5.5rem; }
    .okd-home-hero-content { width: 100%; max-width: none; margin-left: 0; text-shadow: none; }
}
