/*
Theme Name:  Bal Kuyumculuk
Theme URI:   https://balkuyumculuk.com.tr
Description: Bal Kuyumculuk özel teması
Author:      Bal Kuyumculuk
Version:     1.8.0
Text Domain: bal-tema
*/

/* =============================================
   DEĞIŞKENLER & RESET
   ============================================= */
:root {
    --altin: #D4AF37;
    --koyu:  #0a0a0a;
    --gri:   #1a1a1a;
    --bal:   #FFB300;
}

.bal-wrapper,
.bal-wrapper * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--koyu);
    color: white;
    font-family: 'Georgia', serif;
}

/* =============================================
   HEADER
   ============================================= */
header {
    background: #000;
    border-bottom: 1px solid #2a2a2a;
    padding: 0 30px;
    height: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99990;
}

/* WordPress admin bar uyumu */
body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

.header-logo {
    height: 240px !important;
    width: auto !important;
    max-width: 300px !important;
    cursor: pointer;
}

.lang-btns {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.lang-btn {
    background: none;
    border: 1px solid var(--altin);
    color: var(--altin);
    padding: 5px 14px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    transition: 0.3s;
}

.lang-btn:hover,
.lang-active {
    background: var(--altin);
    color: black;
}

/* =============================================
   NAV
   ============================================= */
nav {
    background: #000;
    padding: 7px 20px;
    border-bottom: 1px solid var(--altin);
    overflow-x: auto;
    white-space: nowrap;
    text-align: center;
}

nav a {
    color: var(--altin);
    text-decoration: none;
    margin: 0 12px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

nav a:hover {
    color: white;
}

/* =============================================
   HERO SLOGAN
   ============================================= */
.hero {
    text-align: center;
    padding: 18px 20px 12px;
}

#slogan {
    color: var(--altin);
    font-style: italic;
    font-size: 15px;
    min-height: 22px;
    transition: opacity 0.5s;
}

/* =============================================
   ADMIN PANEL
   ============================================= */
#admin-panel {
    background: var(--gri);
    border: 2px solid var(--altin);
    margin: 15px auto;
    padding: 25px;
    max-width: 400px;
    border-radius: 15px;
    display: none;
}

.admin-input {
    width: 100%;
    padding: 11px;
    margin: 7px 0;
    border-radius: 8px;
    border: 1px solid #444;
    background: #000;
    color: #fff;
    font-size: 15px;
}

.admin-btn {
    background: var(--altin);
    color: black;
    padding: 14px;
    border: none;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    font-size: 15px;
    margin-top: 8px;
}

/* =============================================
   GALERİ
   ============================================= */
.galeri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
    padding: 30px;
}

.urun-kart {
    background: #111;
    border: 1px solid #222;
    padding: 14px;
    border-radius: 14px;
    transition: 0.4s;
}

.urun-kart:hover {
    border-color: var(--altin);
    transform: translateY(-5px);
}

.img-zoom {
    width: 100%;
    height: 270px;
    overflow: hidden;
    border-radius: 9px;
    cursor: zoom-in;
}

.img-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.img-zoom:hover img {
    transform: scale(1.5);
}

.delete-btn {
    background: #cc3333;
    color: white;
    border: none;
    padding: 9px;
    margin-top: 12px;
    cursor: pointer;
    width: 100%;
    border-radius: 7px;
    font-weight: bold;
    display: none;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: #050505;
    border-top: 2px solid var(--altin);
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.footer-col {
    padding: 35px 28px;
    border-right: 1px solid #1a1a1a;
}

.footer-col:last-child {
    border-right: none;
}

.footer-col h4 {
    color: var(--altin);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

/* Adres */
.addr-text {
    color: #bbb;
    font-size: 15px;
    line-height: 2.0;
}

.addr-text strong {
    color: white;
}

/* İletişim */
.contact-center {
    text-align: center;
}

.phone-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 12px;
}

.phone-number {
    color: white;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.phone-number:hover {
    color: var(--altin);
}

.phone-sub {
    color: #777;
    font-size: 12px;
}

/* Sosyal Medya */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: #bbb;
    padding: 9px 14px;
    border-radius: 9px;
    border: 1px solid #1e1e1e;
    transition: 0.3s;
    font-size: 15px;
}

.social-link:hover {
    border-color: var(--altin);
    color: var(--altin);
    background: rgba(212, 175, 55, 0.05);
}

.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Harita Butonu */
.map-btn {
    display: block;
    background: var(--altin);
    color: black;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.map-btn:hover {
    background: var(--bal);
}

/* Footer alt bar */
.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding: 18px;
    border-top: 1px solid #1a1a1a;
    color: #444;
    font-size: 13px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    footer {
        grid-template-columns: 1fr;
    }

    .footer-col {
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
    }
}
