:root {
    --main-blue: #004a99;
    --main-orange: #f37021;
    --light-bg: #f8f9fa;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* Navbar */
.navbar-brand { font-size: 1.5rem; color: var(--main-blue) !important; }
.btn-orange { background-color: var(--main-orange); color: white; border-radius: 50px; transition: 0.3s; border: none; }
.btn-orange:hover { background-color: #d95d16; transform: translateY(-2px); color: white; shadow: 0 4px 10px rgba(0,0,0,0.2); }

/* Hero & Cards */
.hero-section { padding: 80px 0; background: #f0f4f8; }
.card-service { border: none; border-radius: 20px; color: white; transition: 0.4s; min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.card-service:hover { transform: scale(1.02); }
.card-blue { background: linear-gradient(135deg, #0056b3, #003366); }
.card-orange { background: linear-gradient(135deg, #f37021, #c45a1a); }

/* Brands */
.brand-logo { width: 110px; filter: grayscale(100%); opacity: 0.5; transition: 0.3s; }
.brand-logo:hover { filter: grayscale(0%); opacity: 1; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section { text-align: center; padding: 40px 0; }
    .card-service { margin-bottom: 15px; }
}

/* Menü Belirginleştirme */
.main-navbar {
    border-bottom: 3px solid var(--main-blue);
    padding: 15px 0;
}

.nav-link.nav-effect {
    color: #333 !important;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 15px !important;
    position: relative;
    transition: 0.3s;
}

.nav-link.nav-effect:hover {
    color: var(--main-blue) !important;
}

/* Hover Alt Çizgi Animasyonu */
.nav-link.nav-effect::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--main-orange);
    transition: width 0.3s;
}

.nav-link.nav-effect:hover::after {
    width: calc(100% - 30px);
}

/* Dropdown Tasarımı */
.dropdown-menu {
    border-radius: 12px;
    padding: 15px;
    min-width: 220px;
}

.dropdown-item {
    font-weight: 500;
    border-radius: 8px;
    transition: 0.2s;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--main-blue);
    transform: translateX(5px);
}

/* Dropdown Animasyonu */
.animate {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

@keyframes slideIn {
    0% { transform: translateY(1rem); opacity: 0; }
    100% { transform:translateY(0rem); opacity: 1; }
}

.slideIn { animation-name: slideIn; }

.btn-teklif {
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-teklif:hover {
    background-color: white;
    color: var(--main-orange);
    border-color: var(--main-orange);
}

.text-orange { color: var(--main-orange); }
/* Varsayılan Bootstrap okunu (caret) gizle */
.dropdown-toggle::after {
    display: none !important;
}

/* Yeni ikon stili */
.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--main-orange); /* İkonu turuncu yaparak belirginleştiriyoruz */
}

/* Menü açıldığında ikonu döndür */
.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown menü öğelerine küçük bir ikon ve çizgi ekleyerek belirginleştirme */
.dropdown-item {
    position: relative;
    padding-left: 25px !important;
}

.dropdown-item::before {
    content: '\f105'; /* FontAwesome sağ ok */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    opacity: 0;
    transition: 0.2s;
}

.dropdown-item:hover::before {
    opacity: 1;
    left: 15px;
}

/* İç sayfa düzenleri */
.brand-text img{max-height:58px;width:auto;}
.page-header{padding:70px 0;background:linear-gradient(135deg,rgba(0,74,153,.92),rgba(0,51,102,.92)),url('../images/b2.jpg') center/cover;color:#fff;}
.page-header .breadcrumb-text{opacity:.9;font-size:.95rem;}
.content-card{border:0;border-radius:20px;box-shadow:0 12px 35px rgba(0,0,0,.08);background:#fff;}
.icon-box{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:rgba(0,74,153,.1);color:var(--main-blue);font-size:1.4rem;margin-bottom:18px;}
.feature-list li{margin-bottom:12px;color:#555;}
.cta-strip{border-radius:22px;background:linear-gradient(135deg,var(--main-blue),#002f63);color:#fff;padding:36px;}
.cta-strip.orange{background:linear-gradient(135deg,var(--main-orange),#b64a11);}
.service-mini-card{border:1px solid #edf0f4;border-radius:18px;padding:24px;height:100%;transition:.25s;background:#fff;}
.service-mini-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px rgba(0,0,0,.08);}
.contact-box{border-radius:18px;padding:24px;background:#f8f9fa;height:100%;}
.blog-card{border:0;border-radius:18px;box-shadow:0 10px 28px rgba(0,0,0,.08);overflow:hidden;height:100%;}
.blog-card img{height:210px;object-fit:cover;width:100%;}
.btn-outline-main{border:2px solid var(--main-blue);color:var(--main-blue);border-radius:50px;font-weight:700;}
.btn-outline-main:hover{background:var(--main-blue);color:#fff;}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
    color: #fff;
    text-decoration: none;
}

.wa-icon {
    width: 30px;
    height: 30px;
    background: #fff;
    color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        padding: 13px;
        border-radius: 50%;
    }

    .wa-text {
        display: none;
    }

    .wa-icon {
        width: 34px;
        height: 34px;
    }
}

/* =========================================================
   Ana Sayfa Banner + Klimabul / Servishane Kartları
   Masaüstünde mevcut geniş banner, mobilde kare banner görünür.
   ========================================================= */

.hero-section {
    position: relative;
    min-height: 600px;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, .50)),
        url('../images/banner_son2.png') center top / cover no-repeat;
}

/* Masaüstü bannerı biraz karartır; kartları öne çıkarır */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 65%, rgba(0,0,0,.10), rgba(0,0,0,.45)),
        linear-gradient(90deg, rgba(0,0,0,.32), rgba(0,0,0,.18), rgba(0,0,0,.35));
}

.hero-section > .container {
    position: relative;
    z-index: 2;
    min-height: 600px;
}

.mobile-square-banner {
    display: none;
}

.hero-site-cards {
    position: absolute;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    width: min(920px, 92%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    z-index: 5;
}

.site-card {
    position: relative;
    display: block;
    min-height: 190px;
    padding: 30px 32px;
    border-radius: 26px;
    text-decoration: none;
    overflow: hidden;
    color: #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.30);
    transition: all .35s ease;
}

.site-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .96;
    z-index: -2;
}

.site-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    z-index: -1;
}

.klima-card::before {
    background: linear-gradient(135deg, rgba(0,80,170,.97), rgba(0,175,255,.82));
    border: 1px solid rgba(170,230,255,.70);
}

.servis-card::before {
    background: linear-gradient(135deg, rgba(215,75,0,.97), rgba(255,155,40,.84));
    border: 1px solid rgba(255,215,150,.70);
}

.site-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    margin-bottom: 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .6px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.32);
}

.site-card h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    font-weight: 850;
    color: #fff;
}

.site-card p {
    margin: 0 0 24px;
    max-width: 370px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,.93);
}

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    color: #102033;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.site-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 75px rgba(0,0,0,0.38);
}

.site-card:hover .site-btn {
    background: #101820;
    color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-section,
    .hero-section > .container {
        min-height: 560px;
    }

    .hero-site-cards {
        bottom: 44px;
        gap: 18px;
    }

    .site-card {
        padding: 24px;
    }
}

/* Mobil: kare banner + altında üst üste kartlar */
@media (max-width: 768px) {
    .hero-section {
        background: none;
        min-height: auto;
        overflow: visible;
        padding: 0 0 34px;
    }

    .hero-section::before {
        display: none;
    }

    .hero-section > .container {
        min-height: auto;
        padding-left: 14px;
        padding-right: 14px;
    }

    .mobile-square-banner {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        min-height: 320px;
        max-height: 520px;
        background:
            linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.48)),
            url('../images/banner_mobil.png') center top / cover no-repeat;
        border-radius: 0 0 32px 32px;
        box-shadow: 0 18px 45px rgba(0,0,0,.18);
    }

    .hero-site-cards {
        position: relative;
        left: auto;
        bottom: 145px;
        transform: none;
        width: 100%;
        margin: -62px auto 0;
        grid-template-columns: 1fr;
        gap: 14px;
        z-index: 5;
    }

    .site-card {
        min-height: auto;
        padding: 20px 22px;
        border-radius: 22px;
        box-shadow: 0 16px 42px rgba(0,0,0,.24);
    }

    .site-badge {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .site-card h2 {
        font-size: 29px;
    }

    .site-card p {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .site-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* Çok küçük ekran */
@media (max-width: 420px) {
    .mobile-square-banner {
        min-height: 300px;
        background-position: center top;
    }

    .hero-site-cards {
        margin-top: -46px;
    }

    .site-card {
        padding: 18px;
    }

    .site-card h2 {
        font-size: 26px;
    }
}
