/* ==========================================================================
   GENEL AYARLAR (Taşmaları önlemek için kutu modelini sıfırlıyoruz)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Sağ tarafa doğru çirkin kaymaları tamamen engeller */
    background-color: #f7f9fb;
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: #ff6a00;
    color: #fff;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
}

.btn:hover {
    background-color: #e05d00;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a252f;
    margin-bottom: 5px;
    padding: 0 10px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    padding: 0 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: #ff6a00;
    margin: 12px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ==========================================================================
   NAVBAR & LOGO AYARLARI (Görüntüdeki üst üste binmeyi çözen alan)
   ========================================================================== */
header {
    background-color: #1a252f;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap; /* Mobilde sığmazsa aşağı kırılmasını sağlar */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: #ff6a00;
}

.logo span {
    color: #ff6a00;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #ff6a00;
}

/* ==========================================================================
   BÖLÜM STİLLERİ (Hero, Hesaplama, Kartlar)
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(26, 37, 47, 0.85), rgba(26, 37, 47, 0.85)), url('https://unsplash.com') no-repeat center center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 120px 0 60px 0;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.calculator-section {
    padding: 60px 0;
    background-color: #fff;
}

.calc-wrapper {
    display: flex;
    gap: 30px;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
}

.calc-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-weight: 600;
    color: #34495e;
    font-size: 0.95rem;
}

.input-group label i {
    color: #ff6a00;
    margin-right: 5px;
}

.input-group input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.calc-results {
    flex: 1;
    background: #1a252f;
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.calc-results h3 {
    border-bottom: 2px solid #ff6a00;
    padding-bottom: 10px;
}

.result-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #2c3e50;
}

.result-title small {
    display: block;
    color: #95a5a6;
    font-size: 0.75rem;
}

.result-value {
    font-size: 1.2rem;
    font-weight: bold;
}

.result-box.savings {
    background: rgba(255, 106, 0, 0.1);
    padding: 15px;
    border-radius: 6px;
    border: 1px dashed #ff6a00;
}

.result-box.savings .result-title {
    font-size: 1.1rem;
    color: #ff6a00;
    font-weight: bold;
}

.result-box.savings .result-value {
    font-size: 1.8rem;
    color: #ff6a00;
}

.services {
    padding: 60px 0;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.card i {
    font-size: 2.5rem;
    color: #ff6a00;
    margin-bottom: 15px;
}

/* ==========================================================================
   GALERİ & FİYAT LİSTESİ STİLLERİ
   ========================================================================== */
.gallery-section {
    padding: 60px 0;
    background-color: #f7f9fb;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 37, 47, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.pricing-section {
    padding: 60px 0;
    background-color: #fff;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.price-card {
    background: #fdfdfd;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    text-align: center;
    position: relative;
}

.price-card.featured {
    border: 2px solid #ff6a00;
}

.price-card .badge {
    position: absolute;
    top: 15px; right: 15px;
    background: #e1e8ed;
    color: #34495e;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: bold;
}

.price-card.featured .badge {
    background: #ff6a00;
    color: #fff;
}

.price-card h3 {
    margin-top: 10px;
    font-size: 1.3rem;
}

.price-card .price {
    font-size: 1.2rem;
    color: #ff6a00;
    font-weight: 700;
    margin: 15px 0;
}

.price-card ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}

.price-card ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #ff6a00;
    color: #ff6a00;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

/* ==========================================================================
   İLETİŞİM, HARİTA VE WHATSAPP STİLLERİ
   ========================================================================== */
.contact {
    padding: 60px 0;
    background: #fff;
}

.contact-wrapper {
    display: flex;
    gap: 30px;
}

.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

.contact-info {
    flex: 1;
    background: #1a252f;
    color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #ff6a00;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.working-hours {
    margin-top: 20px;
    border-top: 1px solid #2c3e50;
    padding-top: 15px;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    text-decoration: none;
}

.responsive-map {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ekran Oranı (Mobilde harika durur) */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.responsive-map iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

footer {
    background-color: #111a21;
    color: #7f8c8d;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* ==========================================================================
   📱 %100 GERÇEK MOBİL MEDYA SORGULARI (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 968px) {
    .calc-wrapper, .contact-wrapper {
        flex-direction: column; /* Yan yana duran her şeyi alt alta dizer */
        padding: 20px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Logoyu üste, menüyü alta alır */
        gap: 12px;
        padding: 12px 0;
    }
    
    nav ul {
width: 100%;justify-content: center;flex-wrap: wrap; /* Menü butonları sığmazsa kendi içinde alta kayar */
gap: 12px;
}

nav ul li a {font-size: 0.85rem; /* Yazı boyutunu hafif küçülterek taşmayı önler */padding: 4px 6px;
}

.hero {padding-top: 160px; /* Üst menü genişleyeceği için hero alanını aşağı iter */
}

.hero-content h1 {font-size: 1.8rem;
}

.hero-content p {font-size: 1rem;
}

.whatsapp-float {
padding: 12px;
bottom: 20px;
right: 20px;
border-radius: 
50%;
}

.whatsapp-float span {display: none; /* Mobilde yazıyı gizler, sadece yuvarlak yeşil ikon kalır */
}
}