/* =========================================
   1. TEMEL AYARLAR VE RENKLER (Reset)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #1a252c;    /* Kurumsal Koyu Lacivert */
    --accent-color: #d4af37;     /* Kurumsal Altın/Hardal Rengi */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
}

html {
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Favicon Köşe Yuvarlatma */
link[rel="icon"] {
    border-radius: 50%;
}

/* =========================================
   2. LOGO KARŞILAMA EKRANI (Intro) STİLLERİ
   ========================================= */
#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-content {
    text-align: center;
}

.intro-logo {
    width: 80%; /* Mobilde ekrandan taşmaması için güvenlik payı */
    max-width: 450px; /* 250px'den 450px'e çıkardık, artık çok daha büyük ve heybetli! */
    height: auto;
    animation: glowFadeIn 1.5s ease-out forwards;
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.7));
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }
}

body.loaded #intro-loader {
    opacity: 0;
    visibility: hidden;
}

/* =========================================
   3. ORTAK BUTONLAR
   ========================================= */
.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #bfa030;
    color: #fff;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 13px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* =========================================
   4. ÜST MENÜ (Header & Navigasyon)
   ========================================= */
.header {
    background-color: var(--primary-color);
    color: var(--text-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-color);
}

/* =========================================
   5. ANA SAYFA: KARŞILAMA EKRANI (Hero Section)
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 80px;
    /* Karartma katmanı ve Arka Plan Resmi */
    background-image: linear-gradient(rgba(26, 37, 44, 0.85), rgba(26, 37, 44, 0.95)), url('pictures/anaarkaplan.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* =========================================
   6. ANA SAYFA: HİZMETLER KISMI
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* =========================================
   7. ALT BİLGİ (Footer)
   ========================================= */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   8. 7/24 WHATSAPP SABİT BUTONU
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: auto;
    height: 50px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; 
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-text {
    font-size: 16px;
    font-weight: bold;
    margin-left: 10px;
    font-family: inherit;
}

/* =========================================
   9. YENİ MODERN İLETİŞİM SAYFASI (contact-page-modern)
   ========================================= */
.contact-page-modern {
    background-color: #f4f4f9; 
    margin-top: 80px; 
    padding: 100px 0;
}

.contact-card-main {
    background-color: #fff;
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card-title {
    color: var(--primary-color); 
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contact-split-view {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 40px;
    align-items: stretch;
}

.contact-left-modern {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Sol Taraf: İletişim Bilgileri Kutusu (Siyah) */
.contact-details-box-black {
    background-color: #000000; 
    padding: 40px;
    border-radius: 10px;
    color: #fff;
}

.contact-logo-box-integrated {
    margin-bottom: 30px;
    max-width: 250px;
}

.contact-info-list-modern {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-list-modern li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-list-modern i {
    color: var(--accent-color); 
    font-size: 1.5rem;
}

.contact-info-list-modern strong {
    display: block;
    font-size: 1.1rem;
    color: #fff;
}

.contact-info-list-modern span {
    font-size: 1rem;
    color: #f4f4f4;
}

/* Sol Taraf: İletişim Formu (Entegre Beyaz Kutular) */
.contact-form-integrated {
    background-color: #fff;
    border-radius: 10px;
}

.contact-form-integrated form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-integrated input,
.contact-form-integrated textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.contact-form-integrated input:focus,
.contact-form-integrated textarea:focus {
    outline: none;
    border-color: var(--accent-color); 
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3); 
}

.submit-btn-red-integrated {
    background-color: var(--accent-color); 
    color: var(--primary-color); 
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn-red-integrated:hover {
    background-color: #bfa030; 
    color: #fff; 
}

/* Sağ Taraf: Google Haritalar (Kesin Çözüm Çerçevesi) */
.contact-map-integrated {
    position: relative; 
    background-color: #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px; 
    height: 100%;
}

.contact-map-integrated iframe {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

/* =========================================
   10. MOBİL UYUMLULUK (Responsive Ayarlar)
   ========================================= */

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block; 
    }

    .logo img {
        height: 50px;
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex; 
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 0 15px;
    }
    
    .whatsapp-text {
        display: none; 
    }
    
    .contact-card-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 992px) {
    .contact-card-main {
        padding: 40px;
    }
    
    .contact-split-view {
        grid-template-columns: 1fr; /* Mobilde form ve haritayı alt alta koy */
    }
    
    .contact-map-integrated {
        height: 350px; /* Mobilde harita yüksekliği */
        min-height: auto;
    }
}
/* =========================================
   11. ALT SAYFALAR (Hizmet Detay Şablonu)
   ========================================= */
.page-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 180px 0 80px; /* Üst menünün altına düşmesi için boşluk */
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol 2 birim, Sağ 1 birim genişlik */
    gap: 50px;
}

.service-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.service-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
    text-align: justify;
}

.service-features {
    list-style: none;
    margin-top: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features li i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.sidebar-box {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    border-top: 5px solid var(--accent-color);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px; /* Ekranı kaydırdıkça kutu da seninle gelir (Harika bir özelliktir) */
}

.sidebar-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.sidebar-box p {
    margin-bottom: 25px;
    color: #555;
}

/* Mobilde alt alta inmesi için */
@media screen and (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
}