/* DOSYA: style.css */
/* Konya Pastanesi pSEO uyumlu ön yüz tasarımı */

:root {
    --color-bg: #fffaf3;
    --color-surface: #ffffff;
    --color-surface-soft: #fff7ed;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-border: #f1e4d1;
    --color-primary: #b7791f;
    --color-primary-dark: #92400e;
    --color-primary-soft: #ffedd5;
    --color-accent: #d6a75c;
    --color-dark: #111827;
    --shadow-soft: 0 14px 35px rgba(31, 41, 55, .08);
    --shadow-hover: 0 20px 45px rgba(31, 41, 55, .13);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(214, 167, 92, .18), transparent 32rem),
        linear-gradient(180deg, #fffaf3 0%, #ffffff 42%, #fffaf3 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

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

a {
    color: inherit;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

/* ─── Navbar ─────────────────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 243, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(241, 228, 209, .9);
}

.nav-container {
    width: min(100% - 2rem, var(--container));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.nav-logo img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-left: auto;
}

.nav-list > li {
    position: relative;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .85rem;
    border-radius: var(--radius-pill);
    font-weight: 650;
    font-size: .94rem;
    text-decoration: none;
    color: #374151;
    transition: background .2s ease, color .2s ease;
}

.nav-list a:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
}

.dropdown {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    min-width: 220px;
    padding: .55rem;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-list li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    width: 100%;
    border-radius: 12px;
    white-space: nowrap;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .65rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--color-dark);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(17, 24, 39, .24);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 14px;
    cursor: pointer;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-dark);
    margin: 4px auto;
    border-radius: 10px;
}

/* ─── Breadcrumb ─────────────────────────────────────────────────────────── */

.breadcrumb {
    width: min(100% - 2rem, var(--container));
    margin: 1rem auto 0;
    color: var(--color-muted);
    font-size: .9rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.bc-sep {
    color: #c2a783;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 430px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-top: 1rem;
    border-bottom: 1px solid rgba(241, 228, 209, .7);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(110deg, rgba(17, 24, 39, .72), rgba(146, 64, 14, .42)),
        radial-gradient(circle at 20% 20%, rgba(255, 237, 213, .42), transparent 24rem),
        linear-gradient(135deg, #3b2f24, #9a6b35);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(255, 250, 243, .96));
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    width: min(100% - 2rem, 920px);
    margin-inline: auto;
    text-align: center;
    padding: 5rem 1rem;
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .38rem .8rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 237, 213, .18);
    border: 1px solid rgba(255, 237, 213, .36);
    color: #ffedd5;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 5rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.hero-sub {
    max-width: 720px;
    margin: 1.2rem auto 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.7rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .78rem 1.15rem;
    border-radius: var(--radius-pill);
    font-weight: 850;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #b7791f);
    color: #fff;
    box-shadow: 0 16px 32px rgba(146, 64, 14, .24);
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

/* ─── Section Head ───────────────────────────────────────────────────────── */

.section-head {
    max-width: 780px;
    margin-bottom: 1.5rem;
}

.section-head-spaced {
    margin-top: 4rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    background: var(--color-surface-soft);
    border: 1px solid #fed7aa;
    border-radius: var(--radius-pill);
    padding: .35rem .75rem;
    margin-bottom: .75rem;
}

.section-head h2 {
    margin: 0 0 .55rem;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--color-text);
}

.section-head p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ─── Hizmetler Kart Sayfası ─────────────────────────────────────────────── */

.services-overview {
    padding: 4rem 1rem;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-height: 150px;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, #ffffff, #fffaf3);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(214, 167, 92, .18);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.service-card-kicker {
    width: fit-content;
    font-size: .72rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
    border-radius: var(--radius-pill);
    padding: .28rem .6rem;
}

.service-card strong {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    line-height: 1.25;
}

.service-card small {
    position: relative;
    z-index: 1;
    color: var(--color-muted);
    line-height: 1.5;
}

.product-card {
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.empty-text {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px dashed var(--color-border);
    color: var(--color-muted);
}

/* ─── Link Listeleri ─────────────────────────────────────────────────────── */

.internal-links,
.hub-list,
.loc-list {
    padding: 4rem 1rem;
}

.internal-links h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.link-list {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(31, 41, 55, .055);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 750;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.link-list a::after {
    content: "→";
    color: var(--color-primary);
    font-weight: 900;
}

.link-list a:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-soft);
}

.card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ─── İçerik Blokları ────────────────────────────────────────────────────── */

.block-text,
.block-features,
.block-faq,
.block-gallery,
.block-generic {
    padding: 4rem 1rem;
}

.prose {
    max-width: 850px;
}

.prose h2,
.block-generic h2,
.features-inner h2,
.faq-inner h2,
.gallery-inner h2 {
    margin-top: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.prose p {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.features-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.features-grid > *,
.gallery-grid > * {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.block-cta {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #111827, #3b2f24);
    color: #fff;
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    margin-top: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.faq-inner {
    max-width: 900px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    margin-bottom: .75rem;
    box-shadow: 0 8px 20px rgba(31, 41, 55, .045);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 850;
}

.faq-item p {
    color: var(--color-muted);
}

/* ─── 404 ───────────────────────────────────────────────────────────────── */

.not-found {
    padding: 5rem 1rem;
    text-align: center;
}

.not-found p {
    color: var(--color-muted);
    font-size: 1.1rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
    margin-top: 3rem;
    background: #111827;
    color: rgba(255, 255, 255, .82);
    padding: 3rem 1rem 1.2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-name {
    margin: 0 0 .4rem;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
}

.footer-brand p {
    margin-top: 0;
}

.footer-contact p {
    margin: 0 0 .5rem;
}

.footer-contact a,
.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 750;
}

.footer-links {
    display: grid;
    gap: .45rem;
}

.footer-copy {
    width: min(100% - 2rem, var(--container));
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .58);
    font-size: .9rem;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .service-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .nav-container {
        min-height: 68px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-list {
        display: none;
        width: 100%;
        order: 10;
        flex-direction: column;
        align-items: stretch;
        gap: .35rem;
        padding: .75rem 0 1rem;
    }

    .nav-list.is-open {
        display: flex;
    }

    .nav-list a {
        width: 100%;
        justify-content: center;
        background: #fff;
        border: 1px solid var(--color-border);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: .35rem 0 0;
        background: transparent;
        display: grid;
        gap: .35rem;
    }

    .nav-cta {
        margin-left: 0;
    }

    .hero {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .services-overview,
    .internal-links,
    .hub-list,
    .loc-list,
    .block-text,
    .block-features,
    .block-faq,
    .block-gallery,
    .block-generic {
        padding: 3rem 1rem;
    }

    .service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero-content {
        padding: 4rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .service-card-grid,
    .card-list,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .nav-cta {
        width: 100%;
    }

    .breadcrumb {
        font-size: .82rem;
    }
}

/* ─── FLOATING WHATSAPP ───────────────────────── */

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:62px;
    height:62px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    z-index:9999;
    transition:.25s ease;
    text-decoration:none;
}

.whatsapp-float:hover{
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 14px 34px rgba(0,0,0,.24);
}

.whatsapp-float svg{
    display:block;
}

@media(max-width:768px){
    .whatsapp-float{
        width:56px;
        height:56px;
        right:16px;
        bottom:16px;
    }

    .whatsapp-float svg{
        width:28px;
        height:28px;
    }
}

/* ─── HOME PRODUCTS SECTION ─── */
.home-products-section {
    padding: 5.5rem 1rem;
    position: relative;
}

.home-products-section .section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.home-products-section .section-head h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #2b2d42;
    margin-bottom: 0.8rem;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2rem;
}

/* Card Style with Anthracite Border and Rounded Corners */
.modern-product-card {
    background: var(--color-surface);
    border: 2px solid #2b2d42; /* Anthracite frame/border */
    border-radius: 16px; /* Card border radius */
    overflow: hidden; /* Makes top corners/etc. rounded */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.modern-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(43, 45, 66, 0.15);
}

/* Image Container with matching top border radius (16px card radius - 2px border = 14px image radius) */
.mpc-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f7f3ed;
    width: 100%;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.mpc-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-product-card:hover .mpc-image-container img {
    transform: scale(1.05);
}

/* Glassmorphic Anthracite Category Badge on Top of Image */
.mpc-category-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(43, 45, 66, 0.85); /* Anthracite semi-transparent */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Card Body */
.mpc-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mpc-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2b2d42;
    margin: 0 0 0.6rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.mpc-description {
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

/* Premium Anthracite Button Style */
.mpc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 1.5rem;
    border-radius: 99px;
    background: #2b2d42; /* Anthracite solid fill */
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid #2b2d42;
    box-shadow: 0 6px 15px rgba(43, 45, 66, 0.15);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.mpc-button:hover {
    background: transparent;
    color: #2b2d42;
    box-shadow: 0 10px 25px rgba(43, 45, 66, 0.25);
}

.mpc-arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mpc-button:hover .mpc-arrow {
    transform: translateX(4px);
}

/* ─── DYNAMIC RESPONSIVE GRIDS ─── */
/* Desktop (3 columns) */
@media (min-width: 1025px) {
    .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Tablet (2 columns) */
@media (max-width: 1024px) and (min-width: 641px) {
    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.5rem;
    }
    
    .home-products-section {
        padding: 4rem 1rem;
    }
}

/* Mobile (1 column) */
@media (max-width: 640px) {
    .home-product-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .home-products-section {
        padding: 3.5rem 1rem;
    }
}