/*
Theme Name: AntikHacı Müzayede & Antika Pazaryeri Teması
Theme URI: https://antikhaci.com
Author: AntikHacı Geliştirme Ekibi
Author URI: https://antikhaci.com
Description: antikhaci.com için özel olarak tasarlanmış; antika, canlı açık artırma (müzayede) ve ikinci el sanat eserleri satışı için WooCommerce & Dokan Pro 4.3.3 tam uyumlu lüks pazaryeri ve müzayede evi teması.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: antikhaci
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

:root {
    --ah-dark: #1a1412;
    --ah-dark-soft: #2c221e;
    --ah-burgundy: #6b1d2f;
    --ah-burgundy-hover: #521422;
    --ah-gold: #c59b27;
    --ah-gold-hover: #a9821b;
    --ah-gold-soft: #fdf8ec;
    --ah-ivory: #faf7f2;
    --ah-surface: #ffffff;
    --ah-border: #e6dfd3;
    --ah-text: #261f1c;
    --ah-muted: #6c6258;
    --ah-success: #1f6e43;
    --ah-radius: 12px;
    --ah-shadow: 0 6px 24px rgba(26, 20, 18, 0.07);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--ah-ivory);
    color: var(--ah-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .ah-serif {
    font-family: Georgia, "Times New Roman", Times, serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ah-container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Top Auction House Utility Bar */
.ah-topbar {
    background: var(--ah-dark);
    color: #e7dfd5;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(197, 155, 39, 0.35);
}

.ah-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 14px;
    flex-wrap: wrap;
}

.ah-topbar-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ah-topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f4ece1;
    font-weight: 500;
}

.ah-topbar-pill span {
    color: var(--ah-gold);
}

.ah-topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(90deg, var(--ah-gold) 0%, #d9b244 100%);
    color: #1a1412 !important;
    font-weight: 800;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.ah-topbar-cta:hover {
    filter: brightness(1.06);
}

/* 2. Main Header */
.ah-header {
    background: var(--ah-surface);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 18px rgba(26, 20, 18, 0.06);
    border-bottom: 2px solid var(--ah-gold);
}

.ah-header-main {
    display: grid;
    grid-template-columns: 245px 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 16px 0;
}

.ah-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ah-brand-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 700;
    color: var(--ah-dark);
    letter-spacing: 0.4px;
}

.ah-brand-title span {
    color: var(--ah-burgundy);
}

.ah-brand-sub {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ah-gold-hover);
    margin-top: 3px;
}

/* Search Bar */
.ah-search-form {
    display: flex;
    align-items: center;
    background: var(--ah-ivory);
    border: 1.5px solid var(--ah-gold);
    border-radius: 10px;
    overflow: hidden;
}

.ah-search-select {
    border: none;
    background: #f3eee4;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ah-dark);
    border-right: 1px solid var(--ah-border);
    outline: none;
    max-width: 175px;
}

.ah-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--ah-text);
    outline: none;
}

.ah-search-btn {
    background: var(--ah-burgundy);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.4px;
    cursor: pointer;
}

.ah-search-btn:hover {
    background: var(--ah-burgundy-hover);
}

/* Header Action Buttons */
.ah-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ah-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 9px;
    border: 1px solid var(--ah-border);
    background: #ffffff;
    font-size: 13px;
    line-height: 1.2;
}

.ah-action-btn:hover {
    border-color: var(--ah-gold);
}

.ah-action-btn small {
    display: block;
    font-size: 10.5px;
    color: var(--ah-muted);
    font-weight: 600;
}

.ah-action-btn strong {
    font-size: 13px;
    color: var(--ah-dark);
}

.ah-action-btn.ah-btn-gallery {
    background: var(--ah-gold-soft);
    border-color: var(--ah-gold);
}

.ah-action-btn.ah-btn-cart {
    background: var(--ah-dark);
    border-color: var(--ah-dark);
    color: #ffffff !important;
    padding: 11px 16px;
    font-weight: 700;
}

.ah-cart-badge {
    background: var(--ah-gold);
    color: var(--ah-dark);
    font-size: 11.5px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 800;
}

/* Category Navigation Strip */
.ah-catbar {
    background: #ffffff;
    border-top: 1px solid #f0eae0;
}

.ah-catbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.ah-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ah-burgundy);
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    flex-shrink: 0;
}

.ah-catbar-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ah-dark-soft);
}

.ah-catbar-list a:hover {
    color: var(--ah-burgundy);
}

/* 3. Hero Auction House Showcase */
.ah-hero {
    margin: 26px 0 32px;
    display: grid;
    grid-template-columns: 1.95fr 1fr;
    gap: 22px;
}

.ah-hero-main {
    background: linear-gradient(135deg, #1a1412 0%, #2d201c 65%, #471622 100%);
    color: #faf7f2;
    border-radius: 16px;
    padding: 44px 40px;
    border: 1.5px solid rgba(197, 155, 39, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--ah-shadow);
}

.ah-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 155, 39, 0.16);
    border: 1px solid var(--ah-gold);
    color: #f3d57b;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 16px;
}

.ah-hero-main h1 {
    font-size: 36px;
    line-height: 1.22;
    margin: 0 0 14px;
    color: #ffffff;
    font-weight: 700;
}

.ah-hero-main p {
    color: #dcd3c6;
    font-size: 15.5px;
    max-width: 580px;
    margin: 0 0 26px;
}

.ah-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ah-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ah-gold);
    color: #1a1412 !important;
    padding: 13px 24px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.ah-btn-gold:hover {
    background: #d9b244;
}

.ah-btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #f3d57b !important;
    padding: 13px 24px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid rgba(197, 155, 39, 0.65);
}

.ah-btn-outline-gold:hover {
    background: rgba(197, 155, 39, 0.15);
}

.ah-hero-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ah-side-card {
    background: var(--ah-surface);
    border: 1.5px solid var(--ah-border);
    border-radius: 14px;
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--ah-shadow);
}

.ah-side-card.ah-card-gold {
    background: var(--ah-gold-soft);
    border-color: var(--ah-gold);
}

.ah-side-card h3 {
    margin: 8px 0 8px;
    font-size: 20px;
    color: var(--ah-dark);
}

.ah-side-card p {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: var(--ah-muted);
}

/* 4. Trust & Expertise Strip */
.ah-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.ah-trust-item {
    background: var(--ah-surface);
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--ah-shadow);
}

.ah-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ah-gold-soft);
    border: 1px solid var(--ah-gold);
    color: var(--ah-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.ah-trust-item strong {
    display: block;
    font-size: 14px;
    color: var(--ah-dark);
}

.ah-trust-item span {
    font-size: 12px;
    color: var(--ah-muted);
}

/* Section Headers */
.ah-section {
    margin: 40px 0;
}

.ah-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ah-border);
    padding-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.ah-section-title {
    font-size: 26px;
    color: var(--ah-dark);
    margin: 0;
}

.ah-section-sub {
    display: block;
    font-size: 13.5px;
    color: var(--ah-muted);
    margin-top: 3px;
}

/* Categories Grid */
.ah-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ah-cat-card {
    background: var(--ah-surface);
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius);
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.ah-cat-card:hover {
    border-color: var(--ah-gold);
    transform: translateY(-3px);
    box-shadow: var(--ah-shadow);
}

.ah-cat-card strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 16px;
    color: var(--ah-dark);
    margin-bottom: 4px;
}

.ah-cat-card span {
    font-size: 12px;
    color: var(--ah-muted);
}

/* Approved Antique Galleries Grid */
.ah-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ah-gallery-card {
    background: var(--ah-surface);
    border: 1px solid var(--ah-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--ah-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ah-gallery-banner {
    height: 78px;
    background: linear-gradient(135deg, #1a1412 0%, #6b1d2f 100%);
    position: relative;
    background-size: cover;
    background-position: center;
}

.ah-gallery-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--ah-gold);
    background: #ffffff;
    object-fit: cover;
    position: absolute;
    bottom: -24px;
    left: 16px;
}

.ah-gallery-body {
    padding: 32px 16px 16px;
}

.ah-gallery-body h4 {
    margin: 0 0 6px;
    font-size: 17px;
    color: var(--ah-dark);
}

.ah-verified-badge {
    display: inline-block;
    background: #eaf5ee;
    color: var(--ah-success);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.ah-gallery-btn {
    display: block;
    text-align: center;
    background: var(--ah-ivory);
    border: 1px solid var(--ah-gold);
    color: var(--ah-dark);
    font-weight: 700;
    font-size: 12.5px;
    padding: 8px;
    border-radius: 8px;
}

.ah-gallery-card:hover .ah-gallery-btn {
    background: var(--ah-burgundy);
    border-color: var(--ah-burgundy);
    color: #ffffff;
}

/* WooCommerce & Dokan Overrides */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: var(--ah-surface);
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius);
    padding: 16px;
    transition: all 0.2s ease;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--ah-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 20, 18, 0.09);
}

.woocommerce ul.products li.product .button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.dokan-btn-theme,
input[type="submit"].dokan-btn-theme,
a.dokan-btn-theme {
    background-color: var(--ah-burgundy) !important;
    border-color: var(--ah-burgundy) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product .button:hover,
.dokan-btn-theme:hover {
    background-color: var(--ah-burgundy-hover) !important;
}

/* Footer */
.ah-footer {
    background: var(--ah-dark);
    color: #d6cdc2;
    padding: 56px 0 30px;
    margin-top: 64px;
    border-top: 3px solid var(--ah-gold);
}

.ah-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.ah-footer h4 {
    color: #f3d57b;
    margin: 0 0 14px;
    font-size: 17px;
}

.ah-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ah-footer ul li {
    margin-bottom: 9px;
    font-size: 13.5px;
}

.ah-footer-bottom {
    border-top: 1px solid rgba(197, 155, 39, 0.2);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #9e9386;
    flex-wrap: wrap;
    gap: 12px;
}

/* Mobile Bottom Sticky Bar */
.ah-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ah-dark);
    color: #faf7f2;
    border-top: 2px solid var(--ah-gold);
    z-index: 9999;
    padding: 9px 12px;
    justify-content: space-around;
}

.ah-mobile-bar a {
    font-size: 11.5px;
    font-weight: 700;
    color: #faf7f2;
}

@media (max-width: 1024px) {
    .ah-header-main,
    .ah-hero {
        grid-template-columns: 1fr;
    }
    .ah-trust-grid,
    .ah-cat-grid,
    .ah-gallery-grid,
    .ah-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ah-mobile-bar {
        display: flex;
    }
    body {
        padding-bottom: 62px;
    }
}

@media (max-width: 640px) {
    .ah-trust-grid,
    .ah-cat-grid,
    .ah-gallery-grid,
    .ah-footer-grid {
        grid-template-columns: 1fr;
    }
}
