/*
* İcon Emlak - Ana Stil Dosyası
* Modern, lüks ve profesyonel gayrimenkul web sitesi tasarımı
*/

/* GENEL AYARLAR */
:root {
    /* Ana Renkler */
    --primary-color: #1c3c6b;
    --secondary-color: #d4af37;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #4a4a4a;
    --border-color: #e5e5e5;
    
    /* Fontlar */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Gölgeler */
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #15305a;
    border-color: #15305a;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #c5a02b;
    border-color: #c5a02b;
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 18px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 42px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.card {
    border: none;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

/* HEADER STYLES */
.top-bar {
    background-color: var(--primary-color);
    padding: 10px 0;
    color: #fff;
}

.top-bar a {
    color: #fff;
    margin-right: 20px;
    font-size: 14px;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

/* İletişim widget'ının kendisi */
.contact-widget .widget-content {
    margin: 0;
    padding: 0;
}

/* Tüm iletişim bilgileri kapsayıcısı */
.contact-info {
    display: block;
    width: 100%;
}

/* Her bir iletişim öğesi (adres, telefon, email, vs.) */
.contact-item {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    clear: both;
    overflow: hidden;
}

/* İkon kapsayıcısı */
.contact-icon {
    float: left;
    width: 25px;
    color: var(--secondary-color);
    text-align: left;
}

/* İkonun kendisi */
.contact-icon i {
    font-size: 18px;
}

/* Metin içeriği */
.contact-text {
    display: block;
    width: calc(100% - 35px);
    float: left;
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Link durumunda metin stillemesi */
.contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: flex-end;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.navbar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.navbar .navbar-brand img {
    max-height: 50px;
}

.navbar .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.navbar .dropdown-item {
    padding: 8px 15px;
    font-weight: 500;
}

.navbar .dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* FOOTER STYLES */
.site-footer {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-social {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-social a i {
    font-size: 16px;
}

/* Hızlı Bağlantılar */
.links-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-widget ul li {
    margin-bottom: 10px;
    padding: 0;
}

.links-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.links-widget ul li a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
}

.links-widget ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Bülten Aboneliği */
.newsletter-form .form-group {
    position: relative;
    margin-top: 20px;
}

.newsletter-form input {
    height: 50px;
    padding: 10px 20px;
    padding-right: 50px;
    border-radius: 4px;
    border: none;
    width: 100%;
    font-size: 14px;
}

.newsletter-form .submit-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    background-color: var(--secondary-color);
    border: none;
    color: #fff;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form .submit-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* WHATSAPP BUTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

/* Duyarlı tasarım için medya sorguları */
@media (max-width: 992px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer-social a {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 768px) {
    .navbar .navbar-brand img {
        max-height: 40px;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 10px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .widget-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .links-widget ul li a {
        padding-left: 0;
    }
    
    .links-widget ul li a:before {
        display: none;
    }
    
    /* İletişim bilgileri mobil düzen - zaten alt alta olduğu için sadece ortalama */
    .contact-item {
        text-align: center;
        margin-bottom: 25px;
    }
    
    /* Mobilde ikon ve metin ortalanmış ve alt alta */
    .contact-icon {
        float: none;
        width: 100%;
        display: block;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .contact-icon i {
        font-size: 20px;
    }
    
    .contact-text {
        float: none;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-social a {
        width: 32px;
        height: 32px;
    }
    
    .footer-social a i {
        font-size: 14px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-links a {
        margin: 5px 0;
    }
} 