:root {
    --main-blue: #3b47d1;
    --light-blue: #e3f2fd;
    --dark-grey: #333;
    --accent-orange: #ff9800; /* Dikkat çekici butonlar için */
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'normal';
}

body { line-height: 1.6; color: var(--dark-grey); }

/* Üst Bar */
.top-bar {
    background: var(--main-blue);
    color: rgb(255, 255, 255);
    padding: 10px 10%;
    display: flex;
    justify-content: space-between;
    font-size: 25px;
}

.top-bar a { color: white; text-decoration: none; font-weight: bold; }

/* Navigasyon */
nav {
    display: flex;  align-items: center;
    padding: 20px 10%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 100;
}



.logo { font-size: 1.5rem; font-weight: 900; color: var(--main-blue); }
.logo span { color: var(--accent-orange); }

nav ul { display: flex; list-style: none; align-items: center; margin-left: auto; }
nav ul li a { text-decoration: none; color: var(--dark-grey); margin-left: 25px; transition: 0.3s; }
nav ul li a:hover { color: var(--main-blue); }

.nav-btn { background: var(--main-blue); color: rgb(255, 255, 255) !important; padding: 8px 20px; border-radius: 5px;  }  

/* Hero Alanı */
header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('foto4y.jpeg');
    background-size: cover; background-position: center;
    height: 80vh; display: flex; align-items: center; justify-content: center;
    color: white; text-align: center;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-btns { margin-top: 30px; }

.btn {
    padding: 15px 30px; text-decoration: none; border-radius: 50px;
    font-weight: bold; margin: 15px; display: inline-block;  
}

.whatsapp { background: #25d366; color: white; }
.secondary { background: var(--main-blue); color: white; }
.instagram { background: #e4405f; color: white; }
.third { background: var(--accent-orange); color: white; }
.hizmet-btn { text-decoration: none; color: inherit; display: block; transition: 0.3s; }
/* Hizmetler */


section { padding: 160px 10%; }
.section-title { text-align: center; margin-bottom: 5px; margin-top: 50px; }


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch; /* Kartların boyunu eşitler */
}

/* Tıklanabilir Link Çerçevesi */
.hizmet-btn {
    display: block;
    text-decoration: none; /* Link alt çizgisini kaldırır */
    height: 100%; /
}

/* Ana Mavi Kart */
.service-card {
    position: relative;
    text-align: center;
    padding: 40px 30px; 
    background: var(--light-blue);
    border-radius: 15px;
    transition: 0.3s;
    height: 100%; /* <a> etiketinin içini tam doldurur */
    display: flex;
    flex-direction: column; /* İçerikleri alt alta dizer */
}

.service-card:hover {
    transform: translateY(-5px);
    background: #d0e9ff; 
}


.service-card i { font-size: 3rem; color: var(--main-blue); margin-bottom: 20px; }
.service-card l {  display: flex;  font-size: 1.2rem; color: var(--main-blue); gap: 10px; position: absolute; left: 10px; bottom: 10px; }


/* Mobil Alt Arama Butonu */
.mobile-call-btn {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--accent-orange); color: white;
    text-align: center; padding: 15px; font-weight: bold;
    text-decoration: none; display: none; /* Sadece mobilde görünecek */
    z-index: 1000;
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .mobile-call-btn { display: block; }
    header h1 { font-size: 2rem; }
}

/* BTU Hesaplama Sayfası */

.btu-card {
    max-width: 450px;
    margin: 20px auto;
    margin-bottom: 200px;
    padding: 25px;
    background: var(--light-blue);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: sans-serif;
}

.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #333; }

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; /* Taşmaları önler */
}

.form-row { display: flex; gap: 10px; }

.calc-btn {
    width: 100%;
    padding: 12px;
    background-color: #003366; /* Klima sitesiyle uyumlu koyu mavi */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    background: #f0f7ff;
    border-left: 5px solid #003366;
}

.hidden { display: none; }
#btu-deger { font-size: 24px; font-weight: bold; color: #e63946; }

/* Bakım İçeriği ve Resimler */

.bakim-content{
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: var(--light-blue);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: sans-serif;
    color: black;
    white-space: pre-line; /* Paragraflar arasında boşluk bırakır */
}

.bakim-content o {display:block; text-align: center; font-size: 28px; font-weight: bold; margin-bottom: 20px; color: var(--main-blue);}
.bakim-content o1 {display:block; text-align: center; font-size: 40px; font-weight: bold; margin-bottom: 20px; color: var(--main-blue);}

.kutu-resmi {
    width: 100%;             /* Kutunun genişliğine tam oturmasını sağlar */
    max-width: 300px;        /* Resim çok fazla büyümesin diye bir sınır koyarız */
    display: block;          /* Resmi ortalamak için gereklidir */
    margin: 15px auto;       /* Üstten 15px boşluk bırakır, sağdan ve soldan ortalar */
    border-radius: 8px;      /* Resmin köşelerini o açık mavi kutu gibi hafif yuvarlatır */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* İsteğe bağlı: Hafif bir gölge verir */
}


/*logo için */

.logo-resmi {
    width: 100%;             /* Kutunun genişliğine tam oturmasını sağlar */
    max-width: 200px;        /* Resim çok fazla büyümesin diye bir sınır koyarız */
    display: block;          /* Resmi ortalamak için gereklidir */        /* Üstten 15px boşluk bırakır, sağdan ve soldan ortalar */
    border-radius: 8px;      /* Resmin köşelerini o açık mavi kutu gibi hafif yuvarlatır */
}

@media screen and (max-width: 768px) {
   nav {
        flex-direction: column;
        align-items: center;
    }
   
    .logo-resmi {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* Anasayfa ve İçindeki Resimler */

.mavi-kutu {
    background-color: #e0f2f7; /* Açık mavi arka plan */
    display: flex;
    flex-wrap: wrap;           /* Resimler sığmadığında alt satıra geçer */
    justify-content: center;   /* Resimlerin ortalanmasını sağlar */
    gap: 20px;                 /* Resimler arasındaki boşluk */
    padding: 20px;             /* Kutunun iç boşluğu */
    width: 80%;                /* Kutunun sayfa genişliğine oranı */
    margin: 0 auto;            /* Kutuyu sayfada ortalar */
    box-sizing: border-box;    /* Padding'in genişliğe dahil edilmesini sağlar */
}



.mavi-kutu img {
    
    width: calc(30% - 20px);   
    max-width: 90%;           /* Resmin kutudan taşmasını kesin olarak engeller */
    height: auto;              /* Resmin oranını bozmaz */
    border-radius: 10px;       /* Köşeleri yumuşatır */
    object-fit: cover;         /* Resimlerin aynı boyutta görünmesini sağlar */
}

@media (max-width: 768px) {
    .mavi-kutu img {
        width: 100%; /* Mobilde resimler tam genişlik kaplar */
    }
}


