:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --bg-light: #f8fafc;
    --text-dark: #1f2933;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* NAVBAR */
.custom-navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
}

.navbar .nav-link {
    color: #e5e7eb !important;
    margin-right: 12px;
    transition: 0.3s;
}

    .navbar .nav-link:hover {
        color: var(--secondary) !important;
    }

/* PRIMARY BUTTON */
.btn-primary-custom {
    background-color: var(--secondary);
    border: none;
    color: #fff;
}

    .btn-primary-custom:hover {
        background-color: #1e40af;
        color: #fff;
    }

/* HERO */
.hero-section {
    position: relative;
    background: url('/images/hero/hero-1.jpg') center/cover no-repeat;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65) );
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
}

    .hero-title span {
        color: var(--secondary);
    }

.hero-subtitle {
    font-size: 1.1rem;
    color: #e5e7eb;
    max-width: 600px;
}

/* SERVICES */
.services-section {
    background: #fff;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.35s;
}

    .service-card:hover {
        transform: translateY(-8px);
    }

    .service-card img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }

/* FOOTER */
.footer {
    background: var(--primary);
    color: #cbd5f5;
    padding: 60px 0;
}

/* GALLERY */
.gallery-item img {
    transition: 0.35s ease;
    cursor: pointer;
}

    .gallery-item img:hover {
        transform: scale(1.05);
    }

/* MAP */
.map-container {
    width: 100%;
    max-width: 100%;
    height: 300px;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

/* CONTACT */
.contact-section {
    background: #f8f9fa;
}

.contact-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

    .contact-box p {
        font-size: 15px;
        line-height: 1.6;
    }

    .contact-box a {
        text-decoration: none;
        font-weight: 500;
        color: #333;
    }

        .contact-box a:hover {
            color: #0d6efd;
        }

    .contact-box i {
        color: #0d6efd;
    }

/* ========================= */
/* ?? EKLENEN KRİTİK KISIMLAR */
/* ========================= */

/* Daha akıcı scroll (UX + SEO dolaylı etki) */
html {
    scroll-behavior: smooth;
}

/* Resimler yüklenirken zıplama olmasın (CLS düşer) */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Mobil HERO ayarı */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 85vh;
    }
}

/* Küçük ekran kart boşlukları */
@media (max-width: 576px) {
    .service-card img {
        height: 180px;
    }
}

/* Hover olmayan cihazlar için */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
}
