/* =====================
   GENEL
===================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f3f5f7;
    color: #222;
    line-height: 1.6;
}

/* =====================
   HEADER / NAVBAR
===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #0a4ea3, #0d6efd);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px 14px 8px; /* SOLA YAKIN */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LOGO */
.logo {
    height: 54px;
}

/* MARKA YAZISI */
.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

/* MENÜ */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-menu a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #ffd43b;
    transition: 0.25s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* TELEFON BUTONU */
.nav-phone {
    background: #ffd43b;
    color: #0a4ea3 !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.nav-phone:hover {
    background: #ffec99;
}

/* =====================
   HERO
===================== */
.hero {
    background: url('/static/img/hero-bg.jpg') center / cover no-repeat;
    padding: 140px 20px;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* =====================
   BUTONLAR
===================== */
.btn {
    display: inline-block;
    padding: 14px 26px;
    background: #0077ff;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    margin: 6px;
    transition: 0.2s;
}

.btn:hover {
    background: #005fcc;
}

.btn.whatsapp {
    background: #25D366;
}

.btn.whatsapp:hover {
    background: #1ebe57;
}

/* =====================
   HİZMET KARTLARI
===================== */
.services {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.25s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    font-size: 20px;
    margin: 15px 0 6px;
}

.card p {
    font-size: 15px;
    color: #555;
}

.card a {
    display: inline-block;
    margin: 14px 0 20px;
    padding: 10px 22px;
    background: #0077ff;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.card a:hover {
    background: #005fcc;
}

/* =====================
   SARI UYARI ALANI
===================== */
.uyari-wrapper {
    padding: 30px 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.uyari-box {
    background-color: #fff3cd;
    border: 2px solid #f1c40f;
    border-radius: 8px;
    padding: 18px 24px;
    max-width: 880px;
    width: 100%;
    text-align: center;
    color: #5a4a00;
}

.uyari-icon {
    width: 36px;
    height: 36px;
    background: #f1c40f;
    color: #000;
    font-weight: 900;
    font-size: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.uyari-text {
    font-size: 15px;
    line-height: 1.7;
}

.uyari-links-alt {
    margin-top: 10px;
    text-align: center;
}

.uyari-links-alt a {
    margin: 0 12px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.uyari-links-alt a:hover {
    text-decoration: underline;
}

/* =====================
   FOOTER
===================== */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 20px 30px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.site-footer h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 18px;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.site-footer a:hover {
    color: #38bdf8;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 14px;
}

/* =====================
   SAYFA İÇERİKLERİ
===================== */
.page-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0f172a;
}

.page-content h3 {
    margin-top: 25px;
    color: #0a4ea3;
}

.page-content p,
.page-content li {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}

/* =====================
   MOBİL
===================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 14px 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .logo {
        height: 48px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .uyari-box {
        padding: 16px;
    }

    .uyari-text {
        font-size: 14px;
    }
}
