/* Temel Sıfırlamalar ve Fontlar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif; 
    line-height: 1.6;
    background-color: #0B0C10; /* Primary Jet Black */
    color: #E8E8E8; /* Açık Text Rengi */
    scroll-behavior: smooth; 
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 15px;
}

a {
    text-decoration: none;
}

/* YENİ RENK PALETİ (Premium Siyah & Altın) */
:root {
    --primary-color: #0B0C10;     /* Jet Black (Koyu Arkaplan) */
    --accent-color: #D4AF37;      /* Royal Gold (Lüks Vurgu) */
    --secondary-color: #1F2531;   /* Koyu Gri (Destekleyici Arkaplan) */
    --soft-gold: #E7D9A8;         /* Yumuşak Altın */
    --neutral-color: #F5F5F5;     /* Açık Nötr (Gerekirse) */
    --text-color-light: #FFFFFF;  /* Beyaz/Açık Yazı */
    --text-color-dark: #0B0C10;   /* Koyu Yazı */
}

/* Navigasyon Stili */
#main-header {
    background: var(--primary-color); 
    color: var(--text-color-light); 
    padding-top: 15px;
    min-height: 90px; 
    border-bottom: var(--accent-color) 3px solid; /* Altın Çizgi */
    position: sticky; 
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO STİLİ */
#logo img {
    height: 70px; 
    width: auto;
    object-fit: contain;
}


#main-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

/* BUTONLAR ARASI BOŞLUK */
#main-header nav ul li {
    margin-right: 15px; 
    padding: 0; 
}

#main-header nav ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    font-size: 16px;
    padding: 24px 0;
    transition: color 0.3s;
    display: block; 
}

#main-header nav ul li a:hover:not(.cta-button) {
    color: var(--accent-color); /* Altın hover efekti */
}

/* CTA Butonu Stili */
.cta-button {
    background-color: var(--accent-color) !important;
    color: var(--text-color-dark) !important; 
    padding: 10px 20px !important;
    border-radius: 5px;
    margin-left: 15px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.cta-button:hover {
    background-color: var(--soft-gold) !important;
}

/* ------------------------------------ */
/* DROPDOWN (HİZMET BÖLGELERİ) STİLİ */
/* ------------------------------------ */

.dropdown {
    position: relative; 
    display: inline-block;
}

/* Dropdown Butonu (Ana link stili) */
.dropbtn {
    padding: 24px 0 !important; 
}

/* Ok işareti için küçük ayarlama */
.dropbtn i {
    font-size: 12px;
    margin-left: 5px;
}

.dropdown-content {
    display: none; /* Varsayılan olarak gizli */
    position: absolute;
    background-color: var(--primary-color); 
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 1000; 
    top: 100%; 
    left: 0;
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 5px 5px;
}

.dropdown-content a {
    color: var(--text-color-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color); 
    color: var(--accent-color); 
}

/* Desktop'ta HOVER ile görünür olması */
.dropdown:hover .dropdown-content {
    display: block;
}

/* JS ile 'active' class'ı eklendiğinde menünün görünmesi (Tıklama Fixi) */
.dropdown.active .dropdown-content {
    display: block !important; 
}


/* Hero Alanı Stili */
#hero {
    background: url('hero-background.jpg') no-repeat center center/cover; 
    background-color: var(--primary-color); 
    
    min-height: 500px;
    text-align: center;
    color: var(--text-color-light); 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
}

#hero .container {
    position: relative; 
    z-index: 1;
}

#hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: var(--soft-gold); 
}

#hero p {
    font-size: 22px;
    margin-bottom: 30px;
}

/* Genel Bölüm Stilleri */
section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--primary-color); 
    color: var(--text-color-light);
}

section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--accent-color); 
}

/* ------------- HAKKIMIZDA (ABOUT) BÖLÜMÜ STİLİ ------------- */
#about {
    background-color: var(--secondary-color); 
    color: var(--text-color-light);
    padding: 80px 0;
}

#about h2 {
    color: var(--accent-color); 
    margin-bottom: 40px;
    text-align: center;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; 
    gap: 50px;
    align-items: center; 
    text-align: left; 
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--accent-color); 
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color-light); 
}

/* Hizmetler Bölümü Stili */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--secondary-color); 
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2); 
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.service-icon {
    font-size: 45px;
    color: var(--accent-color); 
    margin-bottom: 15px;
}

/* Buton Stilleri */
.btn-primary {
    background: var(--accent-color);
    color: var(--text-color-dark); 
    padding: 15px 30px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--soft-gold);
}


/* ------------------------------------ */
/* YENİ İLETİŞİM METOTLARI KISMI STİLİ */
/* ------------------------------------ */

#contact {
    background-color: var(--primary-color);
}

.contact-subtext {
    margin-bottom: 30px;
    font-size: 18px;
    color: var(--soft-gold); 
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.contact-method-card {
    text-decoration: none;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    color: var(--text-color-dark);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); 
}

.contact-method-card i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--text-color-dark); 
}

.contact-method-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Bizi Arayın Kartı (Altın Tema) */
.call-us {
    background-color: var(--accent-color); 
}

/* WhatsApp Kartı (Soft Gold Tema) */
.whatsapp-us {
    background-color: var(--soft-gold); 
}


/* Footer Stili */
#main-footer {
    background: var(--primary-color); 
    color: var(--text-color-light); 
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

#main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#main-footer .social-links a {
    color: var(--accent-color); 
    font-size: 20px;
    margin-left: 15px;
    transition: color 0.3s;
}

#main-footer .social-links a:hover {
    color: var(--soft-gold); 
}


/* WHATSAPP SABİT BUTON STİLİ */
.whatsapp-button {
    position: fixed; 
    bottom: 20px;    
    left: 20px;     
    z-index: 1000;  
    
    background-color: #25D366; 
    color: white;
    font-size: 30px;
    width: 60px;    
    height: 60px;    
    border-radius: 50%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); 
    transition: background-color 0.3s, transform 0.3s;
}

.whatsapp-button:hover {
    background-color: #128C7E; 
    transform: scale(1.1); 
}


/* Mobil Uyumluluk (Responsive Design) */
@media (max-width: 992px) { 
    .about-content-grid {
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 30px;
    }
    
    .about-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) { 
    #main-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .dropdown {
        padding: 0;
        width: 100%;
        border-bottom: 1px solid var(--secondary-color);
    }
    
    .dropdown-content {
        /* Mobil'de JS ile açılıp kapanması için pozisyonu koru */
        position: static; 
        width: 100%;
        border-top: none;
        box-shadow: none;
        background-color: var(--secondary-color); 
        
        /* ÖNEMLİ: Mobil'de varsayılan olarak gizli tutuyoruz. JS açacak. */
        display: none; 
    }
    
    .dropbtn {
        padding: 10px 0 !important;
        background-color: var(--primary-color); 
        margin-bottom: 0;
        text-align: center; 
    }
    
    .dropdown-content a {
        padding-left: 30px; /* Alt menüye girinti */
        background-color: var(--secondary-color);
    }
    
    #main-header nav ul {
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
    }

    #main-header nav ul li {
        margin-bottom: 0;
        width: 100%;
        margin-right: 0; 
        border-bottom: 1px solid var(--secondary-color);
    }
    
    #main-header nav ul li:last-child {
        border-bottom: none;
    }

    #main-header nav ul li a {
        padding: 10px;
        width: 100%;
        text-align: center;
    }
    
    /* CTA butonu mobil düzende uyumlu */
    .cta-button {
        margin-left: 0 !important;
        display: block;
        width: 100%;
        text-align: center;
    }

    #hero h1 {
        font-size: 36px;
    }

    #hero p {
        font-size: 18px;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }

    #main-footer .container {
        flex-direction: column;
        gap: 10px;
    }
}