/* Dayco base styles. Load in the order defined by includes/styles.php. */ /* Ana Renkler (Logodan Alınan) */
:root {
    --primary-red: #e63946; /* Logodaki kırmızı (Tahmini değer) */
    --primary-blue: #001e60;
    --light-gray: #f5f8fc;
    --dark-text: #2b2b2b;
    --white: #ffffff;
    --focus-ring: #ffbf47;
    --radius-sm: 10px;
    --radius-md: 16px;
    --shadow-sm: 0 8px 24px rgba(0, 30, 96, 0.08);
    --shadow-md: 0 18px 48px rgba(0, 30, 96, 0.13);
    --transition: 200ms ease;
    --scrollbar-thumb: #405b82;
    --scrollbar-track: #f0f3f8;
} /* Global Stiller */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
* {
    scrollbar-width: thin;
}

/* Fallback for browsers without the standard scrollbar colour property. */
@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
    ::-webkit-scrollbar-track,
    ::-webkit-scrollbar-corner {
        background: var(--scrollbar-track);
    }
    ::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border: 2px solid var(--scrollbar-track);
        border-radius: 10px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-blue);
    }
}

@media (forced-colors: active) {
    html {
        scrollbar-color: auto;
    }
    * {
        scrollbar-width: auto;
    }
    ::-webkit-scrollbar-track,
    ::-webkit-scrollbar-corner,
    ::-webkit-scrollbar-thumb {
        background: revert;
        border-color: revert;
    }
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} /* Global Görsel Kuralları - Tüm görseller alan içine sığsın */
img {
    max-width: 100%;
    height: auto;
}
button,
input,
select,
textarea {
    font: inherit;
}
a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
} /* The page container receives focus after navigation, without a page-wide frame. */
#main-content:focus {
    outline: none;
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    background: var(--primary-blue);
    transform: translateY(-150%);
    transition: transform var(--transition);
}
.skip-link:focus {
    transform: translateY(0);
} /* Görsel yüklenemediğinde placeholder stili */
img[src$="no-image.svg"],
img:not([src]),
img[src=""] {
    opacity: 0.5;
} /* Mobil dokunmatik iyileştirmeler */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }

    .product-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .service-card:hover {
        transform: none;
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .cta-button:active {
        transform: scale(0.97);
    }
} /* Ürün Detay Sayfası */
.product-detail {
    padding: 80px 0 100px;
    background: #f7fbf9;
}
.product-detail .container {
    max-width: 1200px;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 36px;
    align-items: start;
}
.product-images {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 110px;
}
.product-images .main-image {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 16px;
    height: 320px;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-images .main-image img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.thumbnail-images {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 10px;
}
.thumbnail-images img {
    width: 100%;
    height: 72px;
    object-fit: contain;
    background: #f4f6fb;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.thumbnail-images img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}
.thumbnail-images img.active {
    border-color: var(--primary-red);
    background: #fff;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.15);
}
.product-details {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}
.product-details h1 {
    margin: 0 0 12px;
    font-size: 28px;
    color: var(--primary-blue);
}
.product-brand {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5a6a85;
    font-weight: 600;
}
.product-brand img {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 10px;
    border: 1px solid #eef2f7;
}
.product-short-desc {
    margin: 0 0 18px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 15px;
}
.product-price {
    margin: 0 0 20px;
    font-size: 26px;
}
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.product-actions .cta-button {
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.18);
}
.product-actions .cta-button.secondary {
    background: #f3f6fb;
    color: var(--primary-blue);
    border: 1px solid #e1e7f0;
    box-shadow: none;
}
.product-section {
    margin-top: 32px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}
.product-section h2 {
    margin: 0 0 14px;
    color: var(--primary-blue);
    font-size: 20px;
}
.faq-section details {
    padding: 1rem 0;
    border-bottom: 1px solid #e4e9f2;
}
.faq-section details:last-child {
    border-bottom: 0;
}
.faq-section summary {
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: 700;
}
.faq-section details p {
    margin: 0.75rem 0 0;
    color: #4b5563;
}
.product-content {
    color: #4b5563;
    line-height: 1.75;
    font-size: 15px;
}
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.features-list li {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #344054;
}
.features-list i {
    color: var(--primary-red);
    margin-top: 2px;
}
.tech-specs {
    overflow: hidden;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}
.specs-table tr:nth-child(odd) {
    background: #f8fafc;
}
.specs-table tr:nth-child(even) {
    background: #fff;
}
.specs-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    font-size: 15px;
}
.specs-table tr:last-child td {
    border-bottom: none;
}
.specs-table .spec-key {
    font-weight: 700;
    color: var(--primary-blue);
    width: 38%;
}
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-images {
        position: relative;
        top: 0;
    }
}
@media (max-width: 768px) {
    .product-detail {
        padding: 60px 0 70px;
    }

    .product-images .main-image {
        min-height: 260px;
    }

    .thumbnail-images img {
        height: 64px;
    }

    .product-details {
        padding: 22px;
    }

    .product-details h1 {
        font-size: 24px;
    }

    .product-actions .cta-button {
        flex: 1;
        text-align: center;
    }
}
@media (max-width: 520px) {
    .product-detail-grid {
        gap: 20px;
    }

    .product-section {
        padding: 18px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .specs-table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .specs-table tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #eef2f7;
        border-radius: 12px;
        overflow: hidden;
    }
}
* {
    box-sizing: border-box;
}
body {
    font-family: "Arial", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
    width: 100%;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}
