/*
Theme Name: Bulasik Deterjan Uretimi Core
Description: Özel B2B/B2C Glassmorphism/Aurora Tema
Author: Antigravity
Version: 7.0.1
Text Domain: bulasikdeterjanuretimi
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --color-text-main: #111118;
    --color-text-muted: #5a5a7a;
    --color-accent: #7a5cff;
    --color-dark: #161622;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: #f0f2f8;
    /* Soft, sweep gradient matching the reference */
    background-image: 
        radial-gradient(circle at top right, rgba(140, 120, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at top left, rgba(255, 255, 255, 1) 0%, transparent 60%);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}
/* --- HEADER (Floating Pill) --- */
.site-header {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 20px;
    background: #000000 !important; /* Siyah Zemin */
    border-radius: 100px; /* Hap Şekli */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.header-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.site-logo {
    justify-self: start;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff !important; /* Beyaz Logo */
    text-transform: uppercase;
    text-decoration: none;
    padding-left: 20px;
}
.site-footer .site-logo {
    color: var(--color-text-main) !important; /* Koyu renk logo */
    padding-left: 0;
}
.site-nav {
    justify-self: center;
}
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}
.site-nav a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7); /* Açık gri linkler */
    text-decoration: none;
    transition: color 0.2s;
}
.site-nav a:hover {
    color: #ffffff;
}
.nav-arrow {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
.header-actions {
    justify-self: end;
}
.btn-dark {
    background: #0a8c62; /* Görseldeki yeşil buton */
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}
.btn-dark:hover {
    transform: translateY(-2px);
    background: #087a55;
}

.mobile-menu-toggle {
    display: none;
}


/* --- HERO SECTION --- */
.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 160px;
}
.hero-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}
.hero-text-content {
    max-width: 480px;
}
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: #111;
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 400px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
}
.btn-primary {
    background: var(--color-accent);
    color: white !important;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary {
    background: white;
    color: var(--color-text-main) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* 3D Image Overlap */
.hero-3d-container {
    position: absolute;
    right: -100px;
    top: -50px;
    width: 600px;
    z-index: 20;
    pointer-events: none;
}
.hero-3d-container img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

/* Dark Wide Card */
.dark-panel {
    background: var(--color-dark);
    border-radius: 30px;
    padding: 40px;
    margin-top: 20px;
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Light Pills (Stats) */
.stats-pills {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 80px;
}
.stat-pill {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 20px 24px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.stat-pill-title {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}
.stat-pill-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 80px;
}
.bento-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 30px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.bento-dark {
    background: var(--color-dark);
    color: white;
}
.bento-dark h3 { color: white; }
.bento-dark p { color: rgba(255,255,255,0.7); }

.bento-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
}
.bento-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.col-span-2 {
    grid-column: span 2;
}
.row-span-2 {
    grid-row: span 2;
}

/* --- FAQ / ACCORDION --- */
.faq-section {
    max-width: 800px;
    margin: 0 auto 100px;
}
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 24px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    font-size: 14px;
    color: var(--color-text-muted);
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

/* --- FOOTER --- */
.site-footer {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    font-weight: 800;
    font-size: 14px;
    color: var(--color-text-main);
    text-decoration: none;
}
.footer-links ul {
    list-style: none;
    display: flex;
    gap: 32px;
}
.footer-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
}
.footer-copyright {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* --- ACCESSIBILITY CORE --- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus {
    background-color: var(--color-surface);
    color: var(--color-text-main);
    padding: 15px 23px;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 100000;
    border-radius: 12px;
}
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Override editor backgrounds on headings */
.entry-title, .entry-content h1, .entry-content h2, .entry-content h3 {
    background-color: transparent !important;
    background: none !important;
}
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

/* --- FAQ ACCORDION --- */
.faq-section {
    max-width: 800px;
    margin: 60px auto 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
}
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-question svg {
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}
.faq-answer {
    display: none;
    padding: 0 24px 24px 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.faq-answer p {
    margin: 0;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.b2b-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* --- PAGINATION --- */
.pagination {
    margin: 40px 0;
    text-align: center;
}
.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.pagination .screen-reader-text {
    display: none;
}
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.page-numbers:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(122, 92, 255, 0.25);
}
.page-numbers.current {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.page-numbers.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 20px;
    padding: 0;
}
.page-numbers.dots:hover {
    background: transparent;
    transform: none;
    color: var(--color-text-main);
}

@media (max-width: 900px) {
    .b2b-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-top-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-3d-container {
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
        max-width: 280px; /* Reduced from 400px */
        margin: 20px auto 0;
    }
    .hero-text-content {
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-pills {
        flex-wrap: wrap;
    }
    .stat-pill {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    /* Header modifications */
    .site-header {
        top: 10px;
        width: 100%;
        border-radius: 0;
        padding: 10px 15px;
    }
    .header-inner {
        grid-template-columns: 1fr auto;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 20px;
        border-top: 1px solid #333;
    }
    .site-nav.is-active {
        display: block;
    }
    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .header-actions {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    .hero-wrapper {
        padding-top: 100px;
    }
    .hero-title {
        font-size: 36px;
    }
    .dark-panel {
        flex-direction: column;
        padding: 24px;
        text-align: center;
        gap: 20px;
    }
    .dark-panel-content {
        max-width: 100%;
    }
    .site-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        border-radius: 20px;
        padding: 20px;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .b2b-grid-3 {
        grid-template-columns: 1fr;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .col-span-2, .row-span-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .stats-pills {
        flex-direction: column;
    }
    .stat-pill {
        width: 100%;
    }
}

