/*
Theme Name: Sadaka Şifası İktisadi İşletme
Description: Sadaka Şifası için WooCommerce hizmet kataloğu.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: sadaka-sifasi
*/
:root {
    --ink: #222e34;
    --muted: #505c62;
    --paper: #faf9f6;
    --surface: #fff;
    --line: #dedbd4;
    --red: #ac192c;
    --dark-red: #871225;
    --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.5 "Source Sans 3", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; }
h1 { font-size: clamp(36px, 6vw, 70px); max-width: 14ch; }
h2 { font-size: clamp(27px, 3vw, 42px); margin-bottom: 22px; }
h3 { font-size: 24px; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid #38769c; outline-offset: 4px; }
.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { margin-block: clamp(40px, 6vw, 76px); scroll-margin-top: 24px; }
.skip-link { position: absolute; z-index: 10; top: 4px; left: 4px; padding: 10px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.header-inner { min-height: 100px; }
.brand img, .custom-logo { width: 100px; max-height: 100px; object-fit: contain; }
.menu { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-weight: 600; }
.menu a:hover, .service-body h3 a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; text-decoration: none; text-align: center; }
.primary { background: var(--red); color: white; }
.primary:hover { background: var(--dark-red); }
.outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.outline:hover { border-color: var(--ink); }
.hero { margin-top: 24px; position: relative; background: #eee9e0; border-radius: 12px; overflow: hidden; }
.slide { display: grid; align-items: center; min-height: 350px; }
.slide.has-photo { grid-template-columns: 1fr 1fr; }
.slide-content { padding: clamp(22px, 5vw, 68px); padding-bottom: clamp(58px, 7vw, 88px); }
.slide-content h2 { font-size: clamp(36px, 6vw, 70px); margin-bottom: 0; }
.slide-content p { margin-block: 14px 22px; max-width: 50ch; }
.hero-image { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.slider-controls { display: flex; gap: 8px; align-items: center; position: absolute; bottom: 12px; left: clamp(22px, 5vw, 68px); }
.slider-controls button { min-width: 44px; min-height: 44px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.slider-controls span { padding-inline: 4px; font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.category-card { display: grid; min-height: 106px; border-radius: 10px; background: #eee9e0; text-decoration: none; overflow: hidden; }
.category-card:nth-child(2) { background: var(--ink); color: white; }
.category-card > img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.category-card > span { align-self: end; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 23px; font-weight: 700; padding: 16px; }
.service-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.service-media { display: block; background: #eee9e0; }
.service-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.service-media .woocommerce-placeholder { object-fit: contain; padding: 16px; }
.service-body { display: grid; gap: 14px; padding: 17px; }
.service-body h3 a { text-decoration: none; }
.service-price { color: var(--ink); font-weight: 700; }
.order-details summary { display: flex; list-style: none; }
.order-details summary::-webkit-details-marker { display: none; }
.order-details form { display: grid; gap: 8px; margin-top: 12px; }
.quantity-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.quantity-label input { width: 90px; min-height: 44px; border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; }
.process { background: var(--ink); color: white; border-radius: 12px; padding: clamp(22px, 5vw, 65px); }
.process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; padding-inline-start: 24px; margin: 0; }
.process li { padding-inline-start: 4px; }
.process li p { margin: 5px 0 0; color: #e3e5e5; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; border-radius: 6px; border: 1px solid var(--line); padding: 6px 14px; text-decoration: none; background: white; }
.filters a[aria-current] { color: white; background: var(--ink); border-color: var(--ink); }
.page-numbers { display: inline-block; padding: 4px 7px; }
.muted { color: var(--muted); }
.standard { min-height: 50vh; padding-block: 34px 70px; }
.standard h1 { font-size: clamp(32px, 5vw, 54px); max-width: none; margin-bottom: 22px; }
.site-footer { padding-block: 25px; border-top: 1px solid var(--line); background: var(--surface); }
@media (max-width: 720px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process ol { grid-template-columns: 1fr; }
    .header-inner { gap: 10px; flex-wrap: wrap; padding-bottom: 8px; }
    .header-inner nav { order: 3; flex-basis: 100%; }
    .slide { min-height: 288px; }
    .slide.has-photo { grid-template-columns: 1fr; }
    .hero-image { height: 150px; }
    .slide.has-photo .slide-content { padding-bottom: 56px; }
    .slide.has-photo .hero-image { grid-row: 1; }
}
@media (max-width: 480px) {
    .grid { grid-template-columns: 1fr; }
    .footer-inner { flex-wrap: wrap; }
}
