/* ==========================================================================
   Alpi Kuru Temizleme - Kurumsal Site
   Responsive, SEO uyumlu, erişilebilir
   ========================================================================== */

:root {
    --color-primary: #0798b4;
    --color-primary-dark: #067d94;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-white: #ffffff;
    --color-success: #10b981;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: min(1120px, 100% - 2rem);
    --header-h: 72px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-slate-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    box-shadow: var(--shadow);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 44px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: var(--color-slate-100);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-slate-700);
    border-radius: 1px;
    transition: transform 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu a {
    color: var(--color-slate-700);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
}

.nav-menu a:hover {
    color: var(--color-primary);
    background: var(--color-slate-100);
    text-decoration: none;
}

.nav-cta .btn {
    text-decoration: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    text-decoration: none;
    color: var(--color-white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

/* ==========================================================================
   Main content
   ========================================================================== */

.main-content {
    min-height: calc(100vh - var(--header-h) - 280px);
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--color-slate-100);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.page-header .lead {
    font-size: 1.125rem;
    color: var(--color-slate-600);
    max-width: 560px;
    margin: 0 auto;
}

/* ==========================================================================
   Hero (Anasayfa)
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, var(--color-slate-900) 0%, var(--color-slate-800) 100%);
    color: var(--color-white);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 60%);
    top: -20%;
    right: -10%;
    pointer-events: none;
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-content .highlight {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--color-slate-400);
    margin-bottom: 1.75rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn-primary {
    background: var(--color-white);
    color: var(--color-slate-900);
}

.hero-buttons .btn-primary:hover {
    background: var(--color-slate-100);
    color: var(--color-slate-900);
}

.hero-buttons .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--color-white);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-stats span {
    font-size: 0.875rem;
    color: var(--color-slate-400);
}

.hero-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--color-white);
    margin-top: 0.25rem;
}

/* ==========================================================================
   Service cards (Anasayfa / Hizmetler)
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-card .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(14, 165, 233, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-card .icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    line-height: 1.55;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2.5rem 0;
    text-align: center;
}

.cta-band h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-band p {
    opacity: 0.95;
    margin-bottom: 1.25rem;
}

.cta-band .btn {
    background: var(--color-white);
    color: var(--color-primary);
}

.cta-band .btn:hover {
    background: var(--color-slate-100);
    color: var(--color-primary-dark);
    text-decoration: none;
}

/* ==========================================================================
   Price list (Fiyat Listesi sayfası)
   ========================================================================== */

.price-section {
    max-width: 900px;
    margin: 0 auto;
}

.price-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

.price-category-chip {
    padding: 0.4rem 0.9rem;
    border-radius: 99px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--color-slate-300);
    background: var(--color-white);
    color: var(--color-slate-600);
    cursor: pointer;
    transition: all 0.2s;
}

.price-category-chip:hover,
.price-category-chip.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.price-search {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-slate-300);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}

.price-search:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.price-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.price-table th,
.price-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-slate-100);
}

.price-table th {
    background: var(--color-slate-100);
    font-weight: 600;
    color: var(--color-slate-700);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr:hover td {
    background: var(--color-slate-50);
}

.price-table .price-cell {
    font-weight: 700;
    color: var(--color-success);
    white-space: nowrap;
}

.price-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-slate-500);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    background: var(--color-slate-100);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.contact-info h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-slate-900);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--color-slate-700);
}

.contact-info a {
    font-weight: 500;
}

.contact-form-wrap {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-form-wrap h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-slate-900);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--color-slate-700);
    margin-bottom: 0.35rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-slate-300);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.map-frame {
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-slate-200);
}

.map-frame iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

/* ==========================================================================
   About page (Hakkımızda)
   ========================================================================== */

.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.about-content p {
    color: var(--color-slate-600);
    margin-bottom: 1rem;
}

.about-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--color-slate-600);
}

.about-content li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--color-slate-900);
    color: var(--color-slate-400);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.9;
}

.footer-about {
    margin-top: 0.75rem;
    max-width: 46ch;
    font-size: 0.9375rem;
    color: rgba(148, 163, 184, 0.92);
}

.footer-about strong {
    color: var(--color-white);
    font-weight: 700;
}

.footer-badges {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: 0.35rem;
    font-size: 0.9375rem;
    color: rgba(148, 163, 184, 0.92);
}

.footer-badges li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-badges li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(7, 152, 180, 0.35);
    box-shadow: 0 0 0 1px rgba(7, 152, 180, 0.5);
    flex: 0 0 10px;
}

.footer-pills {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a,
.footer-contact a {
    color: var(--color-slate-400);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-white);
    text-decoration: none;
}

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: 0.35rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-slate-700);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */

.fab-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.75rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    background: #25D366;
    overflow: hidden;
}

.fab-whatsapp img {
    width: 56px;
    height: 56px;
    display: block;
}

.fab-whatsapp:hover {
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .fab-whatsapp {
        right: 1rem;
        bottom: 1.25rem;
        width: 52px;
        height: 52px;
    }

    .fab-whatsapp img {
        width: 52px;
        height: 52px;
    }
}

/* ==========================================================================
   Responsive nav
   ========================================================================== */

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .nav-cta {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--color-slate-100);
    }
}

/* Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
