/* =========================================================
   DRYMAX.COM.TR — style.css
   isinemmakine.com sayfa mimarisiyle aynı bölüm yapısı;
   renk/tipografi Drymax kimliğine göre kuruldu.
========================================================= */

:root {
    --navy: #0a1a33;
    --navy-2: #12294d;
    --blue: #2f9bde;
    --blue-light: #eaf5fd;
    --orange: #f4813f;
    --gray-50: #f7f8fa;
    --gray-100: #eef1f4;
    --gray-300: #cbd3db;
    --gray-600: #5b6675;
    --text: #16202e;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 8px 30px rgba(10, 26, 51, 0.08);
    --shadow-hover: 0 14px 40px rgba(10, 26, 51, 0.14);
    --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
h1, h2, h3 { font-weight: 800; color: var(--navy); line-height: 1.25; }
h2:not(.section-title) { margin-top: 36px; margin-bottom: 14px; }
h2:not(.section-title):first-child { margin-top: 0; }
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}
.section-title { font-size: 32px; margin-bottom: 16px; }
.section-lead { color: var(--gray-600); max-width: 640px; margin-bottom: 40px; font-size: 16px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: all .2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #e0692b; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-white { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost-white:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 84px;
}
.logo img { height: 42px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > ul { display: flex; gap: 26px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--navy); }
.main-nav .has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: -20px;
    background: var(--white); box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 14px; width: 620px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .18s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; }
.dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.header-phone {
    display: flex; align-items: center; gap: 8px;
    font-weight: 800; color: var(--navy); font-size: 16px;
    background: var(--gray-50); padding: 10px 18px; border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
    padding: 64px 0 72px;
}
.hero .container { text-align: center; }
.hero h1 { color: var(--white); font-size: 40px; max-width: 780px; margin: 0 auto 18px; }
.hero p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto 30px; font-size: 17px; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-bottom: 0; }
.campaign-slider {
    display: flex; gap: 16px; overflow-x: auto; padding: 0 24px 40px;
    scroll-snap-type: x mandatory;
}
.campaign-slider a { flex: 0 0 300px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; }

/* ---------- Kategoriler ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
    background: var(--gray-50); border-radius: var(--radius); padding: 26px;
    transition: all .2s ease; border: 1px solid var(--gray-100);
}
.category-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--blue); }
.category-card .icon-badge {
    width: 48px; height: 48px; border-radius: 12px; background: var(--blue-light);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
    font-size: 22px;
}
.category-card h3 { font-size: 17px; margin-bottom: 6px; }
.category-card span { color: var(--gray-600); font-size: 14px; }
.category-card .cta { display: block; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 14px; }
.category-card.with-image { padding: 0; overflow: hidden; }
.category-card.with-image img { width: 100%; height: 140px; object-fit: cover; display: block; }
.category-card.with-image .category-card-body { padding: 20px; }

/* ---------- Kapsama / Harita ---------- */
.coverage {
    background: var(--gray-50); text-align: center;
}
.coverage img { max-width: 480px; margin: 0 auto 24px; }
.coverage h2 { font-size: 30px; }

/* ---------- Hizmet sayfası banner ---------- */
.hizmet-banner { width: 100%; height: 320px; overflow: hidden; }
.hizmet-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .hizmet-banner { height: 200px; } }

/* ---------- Hizmet kartları (yatay kaydırma) ---------- */
.service-scroll {
    display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px;
}
.service-card {
    flex: 0 0 220px; background: var(--white); border: 1px solid var(--gray-100);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.service-card img { width: 100%; height: 120px; object-fit: cover; }
.service-card .service-card-body { padding: 16px; }
.service-card h3 { font-size: 16px; margin-bottom: 8px; }
.service-card a.cta { color: var(--blue); font-weight: 700; font-size: 13px; }

/* ---------- Before / After Slider ---------- */
.ba-slider {
    position: relative; max-width: 900px; margin: 0 auto;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    aspect-ratio: 16/9;
}
.ba-slider .ba-after { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba-slider img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ba-slider .ba-after img { width: var(--ba-width, 900px); }
.ba-handle {
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 4px; background: var(--white); cursor: ew-resize;
    transform: translateX(-2px);
}
.ba-handle::after {
    content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 40px; height: 40px; background: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
    color: var(--navy); font-weight: 800;
}
.ba-label { position: absolute; bottom: 16px; background: rgba(10,26,51,.75); color: var(--white); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; }
.ba-credit { text-align: center; font-size: 12px; color: var(--gray-600); margin-top: 10px; }

/* ---------- Fayda kartları (flip) ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
    padding: 22px; cursor: pointer; transition: all .2s ease;
}
.benefit-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.benefit-card .num { color: var(--blue); font-weight: 800; font-size: 13px; }
.benefit-card h3 { font-size: 16px; margin: 10px 0 8px; }
.benefit-card p { color: var(--gray-600); font-size: 14px; }

/* ---------- Acil servis bloğu ---------- */
.emergency {
    background: linear-gradient(135deg, #b23a2c, #d9502f);
    color: var(--white); border-radius: var(--radius);
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden;
}
.emergency img { height: 100%; object-fit: cover; }
.emergency .content { padding: 48px; }
.emergency .eyebrow { color: #ffd8cc; }
.emergency h2 { color: var(--white); font-size: 28px; margin-bottom: 14px; }
.emergency p { color: rgba(255,255,255,.85); margin-bottom: 24px; }

/* ---------- Kurumsal ---------- */
.corporate { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.corporate img { border-radius: var(--radius); }

/* ---------- Sosyal medya ---------- */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social-card { background: var(--gray-50); border-radius: var(--radius); padding: 26px; text-align: center; }
.social-card h3 { font-size: 16px; margin: 10px 0 4px; }
.social-card span { color: var(--gray-600); font-size: 14px; display: block; margin-bottom: 14px; }

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item span {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 14px;
    background: linear-gradient(transparent, rgba(10,26,51,.85));
    color: var(--white); font-weight: 700; font-size: 14px;
}

/* ---------- SSS ---------- */
.faq-item { border-bottom: 1px solid var(--gray-100); padding: 18px 0; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--blue); font-size: 22px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--gray-600); margin-top: 10px; }

/* ---------- Ürün kartları ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
    border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden;
    background: var(--white); transition: all .2s ease; position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.product-card .badge {
    position: absolute; top: 14px; left: 14px; background: var(--orange); color: var(--white);
    font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; z-index: 2;
}
.product-card .badge.rent { background: var(--blue); }
.product-card .img-wrap { background: var(--gray-50); padding: 30px; }
.product-card .info { padding: 20px; }
.product-card h3 { font-size: 16px; margin-bottom: 10px; }
.product-card .spec { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray-600); margin-bottom: 4px; }
.product-card .spec b { color: var(--navy); }
.product-card .price { font-size: 18px; font-weight: 800; color: var(--navy); margin: 12px 0; }
.product-card .price.cta-price { color: var(--blue); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.site-footer li { margin-bottom: 9px; font-size: 14px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky alt bar ---------- */
.sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--white); box-shadow: 0 -6px 24px rgba(10,26,51,.12);
    display: flex; gap: 10px; padding: 12px 16px;
}
.sticky-bar a { flex: 1; text-align: center; padding: 13px; border-radius: 10px; font-weight: 800; font-size: 14px; }
.sticky-bar .call { background: var(--navy); color: var(--white); }
.sticky-bar .whatsapp { background: #25d366; color: var(--white); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--gray-600); padding: 20px 0 0; }
.breadcrumb a { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .main-nav > ul, .header-phone { display: none; }
    .category-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .corporate, .emergency, .footer-grid, .social-grid, .gallery-grid, .product-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 30px; }
    body { padding-bottom: 70px; }
}
