:root {
    /* DAHA CANLI, AÇIK SARI */
    --primary: #FFD600; 
    --primary-hover: #e5c100; /* Hover rengi */
    --dark: #14213d; 
    --darker: #000000;
    --text: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --gray: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--dark);
    color: var(--white);
    padding: 15px 0 0 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--primary);
}

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

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
    position: relative;
}

/* Nav Link Animasyon */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.btn-header {
    background: var(--primary);
    color: var(--darker);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--white);
    transform: scale(1.05);
}

.header-border {
    height: 4px;
    background: var(--primary);
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 650px; /* Slider alanını biraz uzattım */
    background: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: flex-start;
    padding-top: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(20,33,61,0.95) 0%, rgba(20,33,61,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    margin-top: 80px;
    width: 100%;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-desc {
    max-width: 600px;
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

/* BUTONLAR VE ANİMASYONLARI */
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Sarı Buton (Fiyat Hesapla) */
.btn-primary {
    background: var(--primary);
    color: var(--darker);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary); /* İçi boşalır, yazı sarı olur */
    transform: translateY(-3px);
}

/* Çizgili Buton (Hizmetler) */
.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--primary); /* Arka plan sarı olur */
    border-color: var(--primary);
    color: var(--darker); /* Yazı siyahlaşır */
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--primary);
}

/* Calculator Section (Overlap & Layout Revised) */
.calculator-section {
    position: relative;
    z-index: 10;
    margin-top: -120px; /* Hero'nun üzerine daha çok taşsın */
    padding-bottom: 50px;
}

/* Kutu Genel Ayarı - DARALTILDI */
.calculator-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column; /* Mobilde alt alta */
    overflow: hidden;
    max-width: 950px; /* Genişliği kısıtladık */
    margin: 0 auto; /* Ortala */
    border: 1px solid #eee;
}

/* Masaüstü Düzeni: YAN YANA */
@media (min-width: 992px) {
    .calculator-card {
        flex-direction: row; /* Yan yana diz */
        min-height: 420px;
    }
}

/* Sol Taraf (Inputlar) */
.calc-left {
    padding: 30px;
    flex: 6; /* Alanın %60'ı */
    border-right: 1px solid #f0f0f0;
}

/* Sağ Taraf (Fiyat Sonuç) */
.calc-right {
    flex: 4; /* Alanın %40'ı */
    background: var(--dark);
    color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Başlık */
.calc-left h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark);
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

/* Slider & Inputs */
.input-group {
    margin-bottom: 25px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.label-row label {
    font-weight: 600;
    color: #555;
}

/* Siyah Kutu Sarı Yazı */
.value-display {
    background: var(--darker);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-family: monospace;
    font-size: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Slider Çubuğu */
.slider {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    transition: 0.2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Korniş Tipi Seçimi */
.type-options {
    display: flex;
    gap: 10px;
}

.type-option {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px 5px;
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.type-option i {
    font-size: 20px;
    color: #ccc;
    transition: 0.3s;
}

.type-option:hover {
    border-color: var(--primary);
    background: #fffdf0;
}

.type-option:hover i {
    color: var(--primary);
}

/* Seçili Durum */
.type-option.active {
    border-color: var(--primary);
    background-color: var(--primary); /* Arka plan komple sarı */
    color: var(--darker); /* Yazı siyah */
}

.type-option.active i {
    color: var(--darker); /* İkon siyah */
}


/* Sonuç Alanı (Sağ Taraf) */
.price-label {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.price-value {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.price-currency {
    font-size: 24px;
    color: var(--white);
}

.price-note {
    font-size: 11px;
    opacity: 0.6;
    margin-bottom: 25px;
    max-width: 80%;
}

.btn-randevu {
    background: var(--primary);
    color: var(--darker);
    text-align: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    width: 100%;
    justify-content: center;
    max-width: 250px;
}

.btn-randevu:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* Hizmetler Bölümü */
.services {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
}

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

.service-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: 0.3s;
}

.service-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Resim üzerine hover gelince ikon çıksın */
.service-img::before {
    content: '\f002'; /* FontAwesome search icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px; height: 50px;
    background: rgba(255, 214, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: var(--darker);
}

.service-card:hover .service-img::before {
    transform: translate(-50%, -50%) scale(1);
}

.service-content {
    padding: 25px;
}

.service-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-content h4 span {
    color: var(--primary);
    font-weight: 900;
}

.service-content ul {
    list-style: none;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.service-content ul li {
    margin-bottom: 8px;
}

.service-content ul li i {
    color: var(--primary);
    margin-right: 5px;
}

/* Dark Features Section */
.features-dark {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    transition: 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.feature-item:hover .icon-circle {
    box-shadow: 0 0 20px rgba(255, 214, 0, 0.6);
}

.features-dark h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.features-dark p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

/* HİZMET BÖLGELERİ (YENİ TASARIM - TAG CLOUD) */
.districts-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Arka plan süsü */
.districts-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://img.freepik.com/free-vector/city-skyline-concept-illustration_114360-12822.jpg?w=1380') center bottom no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.district-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 40px auto;
    max-width: 900px;
}

.district-tag {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    color: #555;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.district-tag i {
    color: var(--primary);
}

.district-tag:hover {
    background: var(--primary);
    color: var(--darker);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.district-tag:hover i {
    color: var(--darker);
}

.district-cta {
    margin-top: 30px;
}

/* Galeri */
.gallery {
    padding: 80px 0;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    background: #ccc;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%; /* Başlangıçta gizli */
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0; /* Hoverda çıkar */
}

@media (max-width: 768px) {
    .gallery-grid {
        display: flex;
        flex-direction: column;
    }
    .gallery-item {
        height: 250px;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-left h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.footer-left span { color: var(--primary); }

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary);
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.6;
}