/* ========================================
   TEMEL AYARLAR VE RENK PALETİ
   ======================================== */
:root {
    --dark-grey: #2C2C2C;
    --darker-grey: #1a1a1a;
    --gold: #D4AF37;
    --light-text: #F5F5F5;
    --grey-text: #AAAAAA;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --whatsapp-green: #25D366;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--darker-grey);
    color: var(--light-text);
    line-height: 1.6;
}

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

section {
    padding: 6rem 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    color: var(--grey-text);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-text);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--darker-grey);
    border: 2px solid var(--gold);
    font-weight: bold;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold);
}

/* Geçici Resim Placeholder */
.img-placeholder {
    width: 100%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-text);
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
}
.img-placeholder::before {
    content: '[ Görsel ]';
}


/* ========================================
   HEADER & NAVİGASYON
   ======================================== */
.site-header {
    background-color: var(--dark-grey);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #444;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;       /* Resmin dikeyde ortalanmasına yardımcı olur */
    align-items: center; 
    /* Eski font stilleri kaldırıldı */
}

.logo img {
    height: 45px; /* Logonuzun yüksekliğini buradan ayarlayın */
    width: auto;  /* Yüksekliğe göre genişlik otomatik ayarlansın (oran korunsun) */
}
/* Header & Navigasyon Bölümüne ekleyin */
.logo .office-name {
    color: var(--light-text); /* Ofis adı için açık metin rengi */
    font-family: var(--font-heading); /* Başlık fontunu kullanabiliriz */
    font-size: 1.6rem; /* Ofis adının boyutunu ayarlayın */
    font-weight: bold;
    margin-left: 10px; /* Logo ile metin arasında boşluk */
    letter-spacing: 0.5px; /* Hafif harf aralığı */
    white-space: nowrap; /* Metnin tek satırda kalmasını sağlar */
}

/* Hover durumunu da güncelleyelim ki, tüm logo alanına gelince renk değişsin */
.main-nav .logo:hover .office-name {
    color: var(--gold); /* Hover'da altın rengi */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px 0;
    transition: 0.4s;
}

/* ========================================
   HERO BÖLÜMÜ
   ======================================== */
.hero-section {
    height: 90vh;
    background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

/* ========================================
   HAKKIMIZDA BÖLÜMÜ
   ======================================== */
.about-section {
    background-color: var(--dark-grey);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image .img-placeholder {
    border: 3px solid var(--gold);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--gold);
}

.stat-item p {
    color: var(--light-text);
    font-weight: 500;
}

/* ========================================
   YENİ: İLAN PORTALLARI BÖLÜMÜ
   ======================================== */
.portal-section {
    background-color: var(--darker-grey); /* Veya dark-grey */
}

.portal-section .portal-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: -2rem auto 3rem auto;
    color: var(--grey-text);
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.portal-card {
    background-color: var(--dark-grey);
    border: 2px solid #444;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.portal-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

/* YENİ: Portal Logo Stilleri */
.portal-logo-wrapper {
    width: 100%; /* Konteyner tam genişlikte olsun */
    height: 70px;  /* Logoların sığacağı maksimum yüksekliği belirleyelim */
    margin-bottom: 1.5rem; /* Kartın geri kalanıyla boşluk */
    
    /* Logoyu dikey ve yatay ortalamak için */
    display: flex;
    justify-content: center;
    align-items: center;
}

.portal-logo-wrapper img {
    max-width: 190px;  /* Logonun en fazla bu kadar geniş olmasına izin ver */
    max-height: 100%; /* Konteyner yüksekliğini (70px) aşmasın */
    width: auto;       /* Oranı koru (ezilmesin) */
    height: auto;      /* Oranı koru (ezilmesin) */
}

.portal-card h3 {
    font-size: 1.5rem;
    color: var(--light-text);
}

.portal-card p {
    color: var(--grey-text);
    margin-bottom: 2rem;
    flex-grow: 1; /* İçeriğin yüksekliğini eşitler */
}

/* ========================================
   HİZMETLER BÖLÜMÜ
   ======================================== */
.services-section {
    background-color: var(--dark-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.service-item {
    padding: 2rem;
    background-color: var(--darker-grey);
    border-radius: 5px;
}

.service-item i {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.3rem;
}

/* ========================================
   İLETİŞİM BÖLÜMÜ
   ======================================== */
.contact-wrapper {
    display: flex;
    gap: 2rem;
    background-color: var(--dark-grey);
    padding: 2rem;
    border-radius: 5px;
}

.contact-info {
    flex: 1;
    text-align: center;
}

/* YENİ: Harita Konteyneri Stili (Form yerine) */
.map-container {
    flex: 2; /* Haritanın, iletişim bilgilerinden daha geniş yer kaplamasını sağlar */
    min-height: 400px; /* Haritanın minimum yüksekliği */
}

.map-container iframe {
    width: 100%;
    /*height: 100%;*/
    border-radius: 5px;
    border: 2px solid var(--gold); /* Haritaya altın bir çerçeve */
    
    /* SİHİRLİ KOD: Haritayı koyu temaya uydurur */
    filter: grayscale(1) invert(0.9);
}


.contact-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
    
}

.contact-info p i {
    color: var(--gold);
    width: 20px;
    margin-right: 10px;
}

.social-links {
    margin-top: 1.5rem;
    text-align: center;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-links a:hover {
    color: var(--gold);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background-color: var(--dark-grey);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #444;
}

.site-footer p {
    color: var(--grey-text);
    margin: 0;
}

/* ========================================
   YENİ: FLOATING ACTION BUTTONS
   ======================================== */
.phone-fab, .whatsapp-fab {
    position: fixed;
    bottom: 20px;
    width: 60px;
    height: 60px;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.phone-fab {
    background-color: var(--whatsapp-green);
    right: 90px; /* WhatsApp butonunun solu için boşluk */
}

.phone-fab:hover {
    background-color: #128C7E; ; /* koyu yeşil*/
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-fab {
    background-color: var(--whatsapp-green);
    right: 20px;
}

.whatsapp-fab:hover {
    background-color: #128C7E; /* WhatsApp Koyu Yeşil */
    transform: scale(1.1);
    color: #FFF;
}


/* ========================================
   MOBİL UYUMLULUK (RESPONSIVE)
   ======================================== */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .portal-grid {
        grid-template-columns: 1fr; /* Mobilde alt alta */
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .map-container {
    flex: 2; /* Haritanın, iletişim bilgilerinden daha geniş yer kaplamasını sağlar */
    min-height: 250px; /* Haritanın minimum yüksekliği */
    }
    .logo .office-name {
    color: var(--light-text); /* Ofis adı için açık metin rengi */
    font-family: var(--font-heading); /* Başlık fontunu kullanabiliriz */
    font-size: 1.3rem; /* Ofis adının boyutunu ayarlayın */
    font-weight: bold;
    margin-left: 10px; /* Logo ile metin arasında boşluk */
    letter-spacing: 0.5px; /* Hafif harf aralığı */
    white-space: nowrap; /* Metnin tek satırda kalmasını sağlar */
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        background-color: var(--dark-grey);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.5s ease-in-out;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    
    .nav-links.nav-active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .burger-menu {
        display: block;
    }

    .burger-menu.toggle .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger-menu.toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.toggle .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}