﻿/* =========================
   Base
========================= */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Bootstrap focus glow */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 .1rem #fff, 0 0 0 .25rem #258cfb;
}

/* =========================
   Theme tokens
========================= */
:root {
    --iz-dark: #0b1220;
    --iz-text: #1f2937;
    --iz-muted: #64748b;
    --iz-border: #e5e7eb;
    --iz-bg: #f8fafc;
}

body {
    color: var(--iz-text);
}

/* =========================
   Sections / Cards
========================= */
.iz-section {
    padding: 42px 0;
}

.iz-h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--iz-dark);
    margin: 0 0 8px 0;
}

.iz-sub {
    color: var(--iz-muted);
    margin-bottom: 16px;
}

.iz-card {
    border: 1px solid var(--iz-border);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.iz-cta {
    border: 1px solid var(--iz-border);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

/* =========================
   HERO (single definition)
========================= */
.iz-hero {
    padding: 72px 0;
    background: linear-gradient(135deg, #0b1220, #020617);
    color: #fff;
}

.iz-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 10px;
}

.iz-title {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 14px 0;
}

.iz-lead {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0 0 22px 0;
}

.iz-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.iz-badge {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #e2e8f0;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}

/* =========================
   Navbar logo
========================= */
.navbar .navbar-brand {
    padding: 0 !important;
    display: flex;
    align-items: center;
}

    .navbar .navbar-brand .iz-logo {
        height: 42px !important;
        width: auto !important;
        object-fit: contain;
        display: block;
    }

@media (max-width:768px) {
    .navbar .navbar-brand .iz-logo {
        height: 32px !important;
    }
}

.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* =========================
   Lightbox
========================= */
.iz-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.iz-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
}

.iz-lightbox-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .iz-lightbox-content img {
        max-width: 92vw;
        max-height: 86vh;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,.35);
        background: #fff;
    }

.iz-lightbox-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* =========================
   Gallery (grid thumbnails)
========================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f4f4;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

@media (max-width:768px) {
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
}

/* =========================
   Machine Park (image cards)
========================= */
.iz-mp-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

    .iz-mp-card img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover; /* yazılar kırpılmasın istiyorsan contain yaparız */
        display: block;
    }

@media (max-width:768px) {
    .iz-mp-card img {
        aspect-ratio: 1 / 1;
    }
}

/* =========================
   WhatsApp floating button (W)
========================= */
.iz-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    z-index: 9999;
}

    .iz-wa .iz-wa-letter {
        color: #fff;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
        font-weight: 900;
        font-size: 32px;
        line-height: 1;
    }
