/* GENEL */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f3f5f7;
    color: #222;
    line-height: 1.6;
}

/* HEADER */
header {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 200;
}

nav {
    display: flex;
    justify-content: center;
    gap: 35px;
}

nav a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    font-size: 17px;
}

nav a:hover {
    color: #0077ff;
}

/* HERO */

.hero {
    background: url('/static/img/hero-bg.jpg') center/cover no-repeat;
    padding: 140px 20px;
    text-align: center;
    color: white;
    position: relative;
    border-bottom: 5px solid #0077ff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;  /* ✔✔✔ BUTONLAR BU SAYEDE TIKLANIR */
}

.hero h1,
.hero p,
.hero a {
    position: relative;
    z-index: 3;   /* ✔ Her şey overlay üstünde */
}


/* BUTONLAR */
.btn {
    display: inline-block;
    background: #0077ff;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin: 8px;
    font-size: 17px;
    transition: 0.2s;
}

.btn:hover {
    background: #005fcc;
}

.btn.whatsapp {
    background: #25D366;
}

.btn.whatsapp:hover {
    background: #1EBE57;
}

/* HİZMET KARTLARI */
.services {
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    padding: 0 0 25px 0;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Kart içindeki görsel */
.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.card p {
    font-size: 15px;
    color: #555;
}

.card a {
    display: inline-block;
    margin-top: 12px;
    background: #0077ff;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    background: #005fcc;
}

/* SAYFA BAŞLIKLARI */
main h1 {
    padding: 25px;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}

/* FOOTER */
footer {
    background: #1d1d1d;
    color: #ccc;
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    font-size: 15px;
}
/* 📞 Telefon numarası özel kutu */
.phone-number {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    padding: 16px 34px;
    font-size: 2rem;
    font-weight: 900;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 10px;
    position: relative;
    z-index: 3; /* Overlay'in üstünde görünmesi için */
}

/* Mobil uyum */
@media (max-width: 768px) {
    .phone-number {
        font-size: 1.6rem;
        padding: 14px 28px;
    }
}

/* 📞 Telefon numarası büyük kutu - final çözüm */
.phone-number {
    display: inline-block !important;
    background: rgba(0,0,0,0.6) !important;
    padding: 16px 34px !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    border-radius: 15px !important;
    color: #fff !important;
    text-decoration: none !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 3 !important;
}

/* ✋ `.btn` sınıfının telefon numarasına etki etmesini engelliyoruz */
.phone-number.btn,
.phone-number .btn {
    background: none !important;
}

