/*
Theme Name: Atabeta Makina Custom
Theme URI: https://www.atabeta.com/
Author: Atabeta Makina
Description: Atabeta Makina için özel, bağımsız WordPress teması. Copilot tasarımının WordPress uyarlaması.
Version: 1.40
Text Domain: atabeta-makina
*/


        body {
            font-family: 'Inter', sans-serif;
            background-color: #090A0F;
            color: #E2E8F0;
        }

        /* Glassmorphism Navigation */
        .glass-nav {
            background: rgba(18, 20, 28, 0.75);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .glass-card {
            background: rgba(26, 29, 39, 0.6);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.07);
        }

        .glass-card:hover {
            border-color: rgba(0, 113, 227, 0.4);
            box-shadow: 0 10px 30px -10px rgba(0, 113, 227, 0.15);
        }

        /* Grid Background pattern */
        .bg-grid-pattern {
            background-size: 40px 40px;
            background-image: 
                linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
        }

        /* Metallic text gradient */
        .text-gradient-metallic {
            background: linear-gradient(135deg, #FFFFFF 0%, #A1A1AA 50%, #71717A 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .text-gradient-blue {
            background: linear-gradient(135deg, #60A5FA 0%, #0071E3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #090A0F;
        }
        ::-webkit-scrollbar-thumb {
            background: #2A2E3D;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #0071E3;
        }
    

/* =========================
   Atabeta Light Theme
   ========================= */
html.light-theme body,
body.light-theme {
    background-color: #f5f5f7 !important;
    color: #1f2937 !important;
}

html.light-theme .glass-nav,
body.light-theme .glass-nav {
    background: rgba(255,255,255,.88) !important;
    border-bottom-color: rgba(15,23,42,.10) !important;
}

html.light-theme .glass-card,
body.light-theme .glass-card {
    background: rgba(255,255,255,.88) !important;
    border-color: rgba(15,23,42,.10) !important;
    color: #1f2937 !important;
}

html.light-theme .bg-brand-black,
body.light-theme .bg-brand-black { background-color:#ffffff !important; }
html.light-theme .bg-brand-dark,
body.light-theme .bg-brand-dark { background-color:#f5f5f7 !important; }
html.light-theme .bg-brand-card,
body.light-theme .bg-brand-card { background-color:#ffffff !important; }
html.light-theme .bg-brand-card\/80,
body.light-theme .bg-brand-card\/80 { background-color:rgba(255,255,255,.92) !important; }
html.light-theme .bg-brand-dark\/40,
body.light-theme .bg-brand-dark\/40 { background-color:rgba(245,245,247,.40) !important; }
html.light-theme .bg-brand-dark\/50,
body.light-theme .bg-brand-dark\/50 { background-color:rgba(245,245,247,.50) !important; }
html.light-theme .bg-brand-dark\/60,
body.light-theme .bg-brand-dark\/60 { background-color:rgba(245,245,247,.60) !important; }
html.light-theme .bg-brand-dark\/80,
body.light-theme .bg-brand-dark\/80 { background-color:rgba(245,245,247,.80) !important; }
html.light-theme .bg-brand-dark\/90,
body.light-theme .bg-brand-dark\/90 { background-color:rgba(245,245,247,.90) !important; }

html.light-theme .bg-grid-pattern,
body.light-theme .bg-grid-pattern {
    background-image:
        linear-gradient(to right, rgba(15,23,42,.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15,23,42,.055) 1px, transparent 1px) !important;
}

html.light-theme .border-brand-border,
body.light-theme .border-brand-border { border-color:#d7dbe2 !important; }
html.light-theme .border-brand-border\/50,
body.light-theme .border-brand-border\/50 { border-color:rgba(100,116,139,.25) !important; }
html.light-theme .border-brand-border\/60,
body.light-theme .border-brand-border\/60 { border-color:rgba(100,116,139,.35) !important; }
html.light-theme .border-brand-border\/80,
body.light-theme .border-brand-border\/80 { border-color:rgba(100,116,139,.50) !important; }

html.light-theme .text-white,
body.light-theme .text-white { color:#111827 !important; }
html.light-theme .text-gray-200,
body.light-theme .text-gray-200 { color:#374151 !important; }
html.light-theme .text-gray-300,
body.light-theme .text-gray-300 { color:#4b5563 !important; }
html.light-theme .text-gray-400,
body.light-theme .text-gray-400 { color:#6b7280 !important; }
html.light-theme .text-gray-500,
body.light-theme .text-gray-500 { color:#6b7280 !important; }

html.light-theme .hover\:text-white:hover,
body.light-theme .hover\:text-white:hover { color:#111827 !important; }
html.light-theme .hover\:bg-brand-border:hover,
body.light-theme .hover\:bg-brand-border:hover { background-color:#e5e7eb !important; }

html.light-theme .text-gradient-metallic,
body.light-theme .text-gradient-metallic {
    background:linear-gradient(135deg,#111827 0%,#4b5563 50%,#6b7280 100%) !important;
    -webkit-background-clip:text !important;
    background-clip:text !important;
    -webkit-text-fill-color:transparent !important;
}

html.light-theme input,
html.light-theme textarea,
html.light-theme select,
body.light-theme input,
body.light-theme textarea,
body.light-theme select {
    color:#111827 !important;
    background-color:#ffffff !important;
    border-color:#d1d5db !important;
}

html.light-theme input::placeholder,
html.light-theme textarea::placeholder,
body.light-theme input::placeholder,
body.light-theme textarea::placeholder { color:#9ca3af !important; }

html.light-theme .fa-xmark,
body.light-theme .fa-xmark { color:#374151; }

html.light-theme .shadow-2xl,
body.light-theme .shadow-2xl { box-shadow:0 20px 50px rgba(15,23,42,.15) !important; }

/* Keep the brand blue CTA/buttons unchanged in light mode. */
html.light-theme .bg-brand-accent,
body.light-theme .bg-brand-accent { color:#fff !important; }
html.light-theme .bg-brand-accent .text-white,
body.light-theme .bg-brand-accent .text-white { color:#fff !important; }

/* Keep the brand header dark in light mode so the original white Atabeta logo remains crisp. */
html.light-theme .glass-nav,
body.light-theme .glass-nav {
    background:rgba(18,20,28,.96) !important;
    border-bottom-color:rgba(255,255,255,.08) !important;
}
html.light-theme .glass-nav .text-gray-300,
body.light-theme .glass-nav .text-gray-300 { color:#d1d5db !important; }
html.light-theme .glass-nav .hover\:text-white:hover,
body.light-theme .glass-nav .hover\:text-white:hover { color:#fff !important; }
html.light-theme .glass-nav svg,
body.light-theme .glass-nav svg { color:#fff !important; }

/* Language switch */
.lang-switch {
    display:inline-flex;
    align-items:center;
    gap:3px;
    height:34px;
    padding:3px;
    border:1px solid rgba(148,163,184,.28);
    border-radius:9px;
    background:rgba(18,20,28,.75);
    font-family:'JetBrains Mono',monospace;
    font-size:10px;
    line-height:1;
}
.lang-option {
    min-width:27px;
    height:26px;
    padding:0 7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    color:#9ca3af;
    text-decoration:none !important;
    font-weight:600;
    transition:all .2s ease;
}
.lang-option:hover { color:#fff; background:rgba(255,255,255,.08); }
.lang-option.active { background:#0071E3; color:#fff; box-shadow:0 2px 10px rgba(0,113,227,.25); }
.lang-divider { color:#4b5563; user-select:none; }
html.light-theme .lang-switch, body.light-theme .lang-switch {
    background:#fff; border-color:#d7dbe2;
}
html.light-theme .lang-option, body.light-theme .lang-option { color:#6b7280; }
html.light-theme .lang-option:hover, body.light-theme .lang-option:hover { color:#111827; background:#f3f4f6; }
html.light-theme .lang-option.active, body.light-theme .lang-option.active { background:#111111; color:#fff; }
html.light-theme .lang-divider, body.light-theme .lang-divider { color:#9ca3af; }

/* Theme switch */
.theme-toggle {
    width:36px;
    height:36px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(148,163,184,.35);
    background:#ffffff;
    color:#111827;
    cursor:pointer;
    transition:all .25s ease;
}
.theme-toggle:hover { transform:translateY(-1px); border-color:#0071E3; }
html.light-theme .theme-toggle,
body.light-theme .theme-toggle {
    background:#111111;
    color:#ffffff;
    border-color:#111111;
}
.theme-toggle i { font-size:15px; }

@media (max-width: 767px) {
    .theme-toggle { width:34px; height:34px; }
}


/* Mobile header controls: use the same visual language as desktop controls */
.mobile-header-controls {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    flex-shrink:0;
}
.mobile-lang-switch {
    display:inline-flex;
    align-items:center;
    gap:3px;
    height:34px;
    padding:3px;
    border:1px solid rgba(148,163,184,.28);
    border-radius:9px;
    background:rgba(18,20,28,.75);
    font-family:'JetBrains Mono',monospace;
    font-size:10px;
    line-height:1;
    flex-shrink:0;
}
.mobile-lang-option {
    min-width:27px;
    height:26px;
    padding:0 7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    color:#9ca3af;
    text-decoration:none !important;
    font:600 10px/1 'JetBrains Mono',monospace;
    transition:all .2s ease;
}
.mobile-lang-option:hover { color:#fff; background:rgba(255,255,255,.08); }
.mobile-lang-option.active { background:#0071E3; color:#fff; box-shadow:0 2px 10px rgba(0,113,227,.25); }
.mobile-lang-divider { color:#4b5563; user-select:none; font:600 10px/1 'JetBrains Mono',monospace; }
.mobile-theme-toggle { width:36px !important; height:36px !important; flex-shrink:0; }
.mobile-home-button {
    width:36px; height:36px; border-radius:999px;
    display:inline-flex; align-items:center; justify-content:center;
    border:1px solid rgba(148,163,184,.35);
    background:#ffffff; color:#111827;
    text-decoration:none !important; cursor:pointer;
    transition:all .25s ease;
    flex-shrink:0;
}
.mobile-home-button:hover { transform:translateY(-1px); border-color:#0071E3; }
.mobile-rfq-button {
    min-height:40px; padding:0 18px; border-radius:12px;
    background:#0071E3; color:#fff; border:0;
    font:500 13px/1 'Inter',sans-serif; text-decoration:none !important;
    white-space:nowrap; display:inline-flex; align-items:center; justify-content:center;
    gap:8px; box-shadow:0 10px 24px rgba(0,113,227,.22);
    transition:all .25s ease; flex-shrink:0;
}
.mobile-rfq-button:hover { background:#0077ED; transform:translateY(-1px); }
.mobile-menu-icon {
    width:36px; height:36px; border-radius:999px;
    display:inline-flex; align-items:center; justify-content:center;
    border:1px solid rgba(148,163,184,.35);
    background:#ffffff; color:#111827;
    text-decoration:none !important; cursor:pointer;
    transition:all .25s ease; flex-shrink:0;
}
.mobile-menu-icon:hover { transform:translateY(-1px); border-color:#0071E3; }
html.light-theme .mobile-lang-switch, body.light-theme .mobile-lang-switch {
    background:#fff; border-color:#d7dbe2;
}
html.light-theme .mobile-lang-option, body.light-theme .mobile-lang-option { color:#6b7280; }
html.light-theme .mobile-lang-option:hover, body.light-theme .mobile-lang-option:hover { color:#111827; background:#f3f4f6; }
html.light-theme .mobile-lang-option.active, body.light-theme .mobile-lang-option.active { background:#111111; color:#fff; box-shadow:0 2px 10px rgba(15,23,42,.15); }
html.light-theme .mobile-lang-divider, body.light-theme .mobile-lang-divider { color:#9ca3af; }
html.light-theme .mobile-home-button, html.light-theme .mobile-menu-icon,
body.light-theme .mobile-home-button, body.light-theme .mobile-menu-icon {
    background:#111111; color:#ffffff; border-color:#111111;
}
@media (max-width: 767px) {
    .mobile-header-controls { gap:12px; }
}
@media (max-width: 420px) {
    .mobile-header-controls { gap:8px; }
    .mobile-rfq-button { min-height:38px; padding:0 12px; font-size:12px; gap:6px; }
}
@media (max-width: 380px) {
    .mobile-header-controls { gap:7px; }
    .mobile-lang-switch { height:32px; }
    .mobile-lang-option { min-width:25px; height:24px; padding:0 6px; font-size:9px; }
    .mobile-theme-toggle, .mobile-home-button, .mobile-menu-icon { width:34px !important; height:34px !important; }
    .mobile-rfq-button { min-height:36px; padding:0 10px; font-size:11px; }
}

/* V1.18 mobile navigation refinement */
.site-brand-logo,
.site-brand-logo * {
    color:#ffffff !important;
    fill:#ffffff !important;
    stroke:#ffffff !important;
}
/* The navigation keeps the brand's dark background in both themes so the white logo never changes tone. */
html.light-theme .glass-nav,
body.light-theme .glass-nav {
    background:rgba(18,20,28,.96) !important;
    border-bottom-color:rgba(255,255,255,.08) !important;
}
html.light-theme .glass-nav .site-brand-logo,
body.light-theme .glass-nav .site-brand-logo,
html.light-theme .glass-nav .site-brand-logo *,
body.light-theme .glass-nav .site-brand-logo * {
    color:#fff !important;
    fill:#fff !important;
    stroke:#fff !important;
}

/* Use the exact desktop language selector on mobile. */
.mobile-header-controls {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    flex-shrink:0;
}
.mobile-header-controls .mobile-lang-switch {
    width:auto;
    height:34px;
    margin:0;
}
.mobile-header-controls .mobile-lang-option {
    min-width:27px;
    height:26px;
    padding:0 7px;
    border-radius:6px;
    font-size:10px;
}
.mobile-header-controls .mobile-theme-toggle {
    width:36px !important;
    height:36px !important;
    margin:0;
}
.mobile-header-controls .mobile-rfq-button {
    min-height:40px;
    padding:0 16px;
    border-radius:12px;
    margin-left:4px;
    gap:8px;
}
.mobile-header-controls .mobile-menu-icon {
    width:36px;
    height:36px;
    margin-left:2px;
}
@media (max-width:420px){
    .mobile-header-controls{gap:10px;}
    .mobile-header-controls .mobile-rfq-button{min-height:38px;padding:0 12px;font-size:12px;gap:6px;margin-left:2px;}
}
@media (max-width:380px){
    .mobile-header-controls{gap:8px;}
    .mobile-header-controls .mobile-theme-toggle,
    .mobile-header-controls .mobile-menu-icon{width:34px !important;height:34px !important;}
    .mobile-header-controls .mobile-lang-switch{height:32px;}
    .mobile-header-controls .mobile-lang-option{min-width:25px;height:24px;padding:0 6px;font-size:9px;}
    .mobile-header-controls .mobile-rfq-button{min-height:36px;padding:0 10px;font-size:11px;}
}

/* V1.19 — Atabeta logo asset and About page visual system */
.atabeta-hero-logo{display:block;width:min(250px,70%);height:auto;max-height:150px;object-fit:contain;filter:none;transition:filter .25s ease,transform .25s ease;}
.atabeta-hero-logo:hover{transform:scale(1.02);}
html.light-theme .atabeta-hero-logo, body.light-theme .atabeta-hero-logo{filter:invert(1) !important;}
.about-v19-hero{max-width:900px;margin-left:auto;margin-right:auto;}
.about-v19-feature,.about-v19-focus{border:1px solid rgba(148,163,184,.22);border-radius:32px;background:linear-gradient(135deg,rgba(18,20,28,.96),rgba(18,20,28,.72));box-shadow:0 20px 50px rgba(0,0,0,.16);padding:34px 40px;display:grid;grid-template-columns:190px 1px 1fr;align-items:center;gap:34px;}
.about-v19-divider{width:1px;height:92px;background:rgba(148,163,184,.22);}
.about-v19-focus{grid-template-columns:1fr 1.25fr;}
.about-v19-copy{background:rgba(18,20,28,.76) !important;}
.about-v19-mini{padding:20px;border-radius:18px;background:rgba(9,10,15,.55);border:1px solid rgba(148,163,184,.18);}
html.light-theme .about-v19-feature,body.light-theme .about-v19-feature,html.light-theme .about-v19-focus,body.light-theme .about-v19-focus{background:linear-gradient(135deg,#fff,#f6f7f9);border-color:#d7dbe2;box-shadow:0 20px 50px rgba(15,23,42,.08);}
html.light-theme .about-v19-copy,body.light-theme .about-v19-copy{background:rgba(255,255,255,.9) !important;}
html.light-theme .about-v19-mini,body.light-theme .about-v19-mini{background:#f5f6f8;border-color:#d7dbe2;}
@media(max-width:767px){
 .about-v19{padding-top:112px !important;}
 .about-v19-hero h1{font-size:clamp(42px,14vw,64px);}
 .about-v19-hero p{font-size:20px;}
 .about-v19-feature,.about-v19-focus{grid-template-columns:1fr;gap:16px;padding:28px 24px;border-radius:28px;}
 .about-v19-divider{display:none;}
 .about-v19-focus{padding:28px 24px;}
 .about-v19-feature p,.about-v19-focus p{font-size:16px;}
 .atabeta-hero-logo{width:min(220px,78%);max-height:125px;}
}

/* Exact supplied Atabeta logo in navigation */
.site-brand-image{display:block;width:112px;height:58px;object-fit:contain;filter:none;transition:transform .25s ease,filter .25s ease;}
.group:hover .site-brand-image{transform:scale(1.03);}
@media(max-width:767px){.site-brand-image{width:92px;height:54px;}}

/* V1.21 — Supplied Atabeta Makina logo used consistently in all headers. */
.site-brand-logo.site-brand-image{display:block;width:112px;height:58px;object-fit:contain;filter:none !important;}
@media(max-width:767px){.site-brand-logo.site-brand-image{width:92px;height:54px;}}
html.light-theme .site-brand-logo.site-brand-image, body.light-theme .site-brand-logo.site-brand-image{filter:none !important;}


/* V1.22 — Fixed compact brand logo + automatic black/white inversion. */
.site-brand-logo.site-brand-image {
    width: 56px !important;
    height: 29px !important;
    min-width: 56px;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: none !important;
    transition: filter .25s ease, transform .25s ease;
}

/* The navigation itself is fixed; the logo therefore remains visible while the page scrolls. */
.glass-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* Light mode: invert the supplied white logo to black and use a light navigation surface. */
html.light-theme .site-brand-logo.site-brand-image,
body.light-theme .site-brand-logo.site-brand-image {
    filter: invert(1) !important;
}
html.light-theme .glass-nav,
body.light-theme .glass-nav {
    background: rgba(255,255,255,.94) !important;
    border-bottom-color: rgba(15,23,42,.10) !important;
}
html.light-theme .glass-nav .text-gray-300,
body.light-theme .glass-nav .text-gray-300 {
    color: #374151 !important;
}
html.light-theme .glass-nav .hover\:text-white:hover,
body.light-theme .glass-nav .hover\:text-white:hover {
    color: #111827 !important;
}
html.light-theme .glass-nav svg,
body.light-theme .glass-nav svg {
    color: #111827 !important;
}

/* V1.23 — Footer brand logo: enlarged 50%, inverts to black in light mode for visibility. */
.footer-brand-logo {
    filter: none;
    transition: filter .25s ease;
}
html.light-theme .footer-brand-logo,
body.light-theme .footer-brand-logo {
    filter: invert(1) !important;
}

@media (max-width: 767px) {
    .site-brand-logo.site-brand-image {
        width: 46px !important;
        height: 27px !important;
        min-width: 46px;
    }
}

/* RFQ anti-spam controls */
.atabeta-rfq-turnstile {
    margin-top: .25rem;
    min-height: 65px;
    display: flex;
    align-items: center;
}
.atabeta-rfq-security-warning {
    display:flex;
    align-items:center;
    gap:.65rem;
    padding:.75rem 1rem;
    border:1px solid rgba(245,158,11,.35);
    border-radius:.75rem;
    background:rgba(245,158,11,.08);
    color:#d1d5db;
    font-size:.75rem;
}
html.light-theme .atabeta-rfq-security-warning,
body.light-theme .atabeta-rfq-security-warning {
    color:#4b5563;
    background:rgba(245,158,11,.08);
}
