/* ASA MAKİNE — kartvizit paleti: turuncu #e85a24, koyu metin #333 */
:root {
    --color-primary: #e85a24;
    --color-primary-dark: #c94a1a;
    --color-text: #333333;
    --color-muted: #5c5c5c;
    --color-bg: #fafafa;
    --color-white: #ffffff;
    --color-footer-bar: #e85a24;
    --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
    --header-h: 72px;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(51, 51, 51, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.watermark {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 70% 50% at 95% 40%, rgba(232, 90, 36, 0.06), transparent 55%);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--color-primary), #ff9a5c, var(--color-primary));
    mask: radial-gradient(circle at 50% 50%, transparent 35%, black 36%);
    -webkit-mask: radial-gradient(circle at 50% 50%, transparent 35%, black 36%);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-text small {
    font-size: 0.7rem;
    color: var(--color-muted);
    font-weight: 500;
    max-width: 220px;
}

.nav-toggle {
    display: none;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    background: var(--color-white);
    cursor: pointer;
    font-size: 0.9rem;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.site-main {
    flex: 1;
    position: relative;
    z-index: 1;
    padding-bottom: 5rem;
}

.hero-slider {
    position: relative;
    background: #111;
    min-height: 320px;
    max-height: 520px;
}

.slider-track {
    position: relative;
    min-height: 320px;
    max-height: 520px;
}

.slide {
    display: none;
    position: relative;
    min-height: 320px;
    max-height: 520px;
}

.slide.is-active {
    display: block;
}

.slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .slide img {
        height: min(52vh, 520px);
    }
}

.slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
}

.slide-caption h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.slide-caption p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.95rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.slider-dots button.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.slider-placeholder {
    padding: 3rem 1rem;
    color: #eee;
    text-align: center;
}

.home-intro {
    padding: 2rem 1.25rem 3rem;
}

.page-article {
    padding: 2rem 1.25rem 3rem;
}

.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    margin: 0 0 0.75rem;
}

.intro {
    margin-top: 0.5rem;
}

.prose {
    max-width: 75ch;
}

.prose :where(h1, h2, h3) {
    color: var(--color-text);
}

.prose a {
    color: var(--color-primary);
}

.muted {
    color: var(--color-muted);
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    margin-top: 0.75rem;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.product-section {
    margin-bottom: 2.5rem;
}

.product-section h2 {
    font-size: 1.2rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 0.65rem;
    margin-bottom: 1rem;
}

.product-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(51, 51, 51, 0.12);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-card-placeholder {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    background: #eee;
    color: var(--color-muted);
}

.product-card-title {
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.refs-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.ref-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.ref-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.ref-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--color-muted);
}

.breadcrumb a {
    color: var(--color-primary);
}

.product-detail-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.product-detail-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site-footer {
    margin-top: auto;
    background: var(--color-white);
    border-top: 1px solid #e8e8e8;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    gap: 1.5rem;
    padding: 2rem 1.25rem;
}

@media (min-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-col h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--color-text);
}

.footer-address {
    font-style: normal;
    margin: 0 0 0.75rem;
}

.footer-col a {
    color: var(--color-primary);
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bar {
    height: 8px;
    background: var(--color-footer-bar);
}

.action-buttons {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.action-buttons a {
    display: inline-block;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.btn-wa {
    background: #25d366;
    color: #fff;
}

.btn-call {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-top: 1px solid #eee;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 0.65rem 0;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        width: 100%;
        order: 3;
    }
}
