/*
Theme Name: AtekerPay Theme
Theme URI: https://atekerpay.com/
Author: AtekerPay
Author URI: https://atekerpay.com/
Description: Clean premium theme for AtekerPay.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: atekerpay-theme
*/

:root {
    --atk-bg: #f7f7f5;
    --atk-surface: #ffffff;
    --atk-text: #111111;
    --atk-muted: #666666;
    --atk-line: #ece8e1;
    --atk-primary: #111111;
    --atk-primary-soft: #f5f5f5;
    --atk-radius: 20px;
    --atk-container: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--atk-bg);
    color: var(--atk-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.atk-container { width: min(100% - 32px, var(--atk-container)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247,247,245,.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--atk-line);
}
.atk-header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
}
.atk-branding-wrap {
    min-width: 0;
}
.site-branding,
.site-branding .custom-logo-link,
.site-branding .atk-brand-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}
.site-branding .custom-logo-link {
    line-height: 0;
    max-width: 100%;
}
.site-branding .custom-logo {
    max-height: 44px;
    max-width: 220px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
.atk-brand-title {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}
.atk-brand-title--solo { color: #111111; }

.atk-header-nav-wrap {
    min-width: 0;
    display: flex;
    justify-content: center;
}

.atk-header-menu,
.atk-footer-menu,
.atk-menu-fallback {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.atk-header-menu li,
.atk-footer-menu li {
    list-style: none;
    position: relative;
}

.atk-header-menu a,
.atk-footer-menu a,
.atk-menu-fallback a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--atk-muted);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.atk-header-menu a:hover,
.atk-footer-menu a:hover,
.atk-menu-fallback a:hover,
.current-menu-item > a,
.current_page_item > a,
.current-menu-ancestor > a {
    color: var(--atk-text);
}

.atk-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
.atk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid #111111;
    font-weight: 700;
    transition: all .18s ease;
    white-space: nowrap;
}
.atk-btn:hover { transform: translateY(-1px); }
.atk-btn-primary {
    background: #111111;
    color: #ffffff;
}
.atk-btn-primary:hover { opacity: .92; }
.atk-btn-secondary,
.atk-btn-outline {
    background: #ffffff;
    color: #111111;
}
.atk-btn-secondary:hover,
.atk-btn-outline:hover { background: #f7f7f7; }

.atk-home-main {
    display: flex;
    align-items: center;
}
.atk-home-hero-minimal {
    width: 100%;
    padding: 56px 0 90px;
}
.atk-home-hero-minimal__inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.atk-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--atk-line);
    border-radius: 999px;
    color: var(--atk-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.atk-home-hero-minimal h1 {
    margin: 0;
    font-size: clamp(44px, 9vw, 96px);
    line-height: .96;
    letter-spacing: -.06em;
    font-weight: 800;
}
.atk-home-hero-minimal p {
    max-width: 620px;
    margin: 24px auto 0;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    color: var(--atk-muted);
}
.atk-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.atk-hero-actions--center {
    justify-content: center;
    margin-top: 34px;
}

.atk-page-wrap { padding: 42px 0 70px; }
.atk-page-card {
    background: #ffffff;
    border: 1px solid var(--atk-line);
    border-radius: 20px;
    padding: 28px;
}
.entry-title {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -.04em;
}
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content label { color: #222222; }
.entry-content a { color: #111111; text-decoration: underline; }

.site-footer {
    border-top: 1px solid var(--atk-line);
    background: #ffffff;
}
.atk-footer-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0;
}
.atk-footer-inner p {
    margin: 0;
    color: var(--atk-muted);
}
.atk-footer-links-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}
.atk-footer-menu,
.atk-menu-fallback-footer {
    color: var(--atk-muted);
}

.wp-block-group,
.wp-block-columns,
.wp-block-cover,
.wp-block-media-text { margin-bottom: 1.5rem; }

@media (max-width: 1080px) {
    .atk-header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .atk-header-nav-wrap,
    .atk-header-actions {
        justify-content: center;
    }
}

@media (max-width: 782px) {
    .atk-container { width: min(100% - 22px, var(--atk-container)); }
    .atk-header-inner {
        min-height: auto;
        gap: 12px;
        padding: 12px 0;
    }
    .site-branding .custom-logo {
        max-height: 38px;
        max-width: 170px;
    }
    .atk-brand-title { font-size: 24px; }
    .atk-header-menu,
    .atk-footer-menu,
    .atk-menu-fallback {
        justify-content: center;
        gap: 14px;
    }
    .atk-header-actions { width: auto; gap: 10px; }
    .atk-header-actions .atk-btn { flex: 0 0 auto; min-width: 0; padding: 0 16px; min-height: 40px; }
    .atk-home-hero-minimal { padding: 40px 0 64px; }
    .atk-home-hero-minimal p { margin-top: 18px; font-size: 18px; }
    .atk-hero-actions--center { margin-top: 26px; }
    .atk-hero-actions--center .atk-btn { flex: 1 1 100%; }
    .atk-page-wrap { padding: 24px 0 42px; }
    .atk-page-card { padding: 20px; border-radius: 16px; }
    .atk-footer-inner {
        min-height: auto;
        justify-content: center;
        text-align: center;
    }
}
