/**
 * Emlak Kurumsal - Ana CSS Dosyası
 * Responsive ve modern tasarım
 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
}

.top-bar a {
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

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

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Carousel */
.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

/* Property Cards */
.property-card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.property-card img {
    transition: transform 0.3s ease;
}

.property-card:hover img {
    transform: scale(1.1);
}

.property-card .card-title a {
    color: inherit;
}

.property-card .card-title a:hover {
    color: var(--primary-color);
}

.property-features span {
    display: inline-block;
    font-size: 0.875rem;
    color: #666;
}

/* Feature Boxes */
.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

/* Footer */
.footer {
    background: #2c3e50;
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

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

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Badges */
.badge {
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

/* Content */
.content h2,
.content h3,
.content h4 {
    color: var(--dark-color);
    margin-top: 1.5rem;
}

.content ul,
.content ol {
    padding-left: 2rem;
}

.content ul li,
.content ol li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item img {
        height: auto;
        object-fit: contain;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .property-card {
        margin-bottom: 1.5rem;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }
}


/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

/* Yardımcı Sınıflar */
.sticky-top {
    top: 20px;
}

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

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}
.navbar-logo {
    height: 80px;   /* burayı büyüt */
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 60px;
    }
}
.fancy-bg {
    background: linear-gradient(180deg, #f8f9fc, #ffffff);
    border-radius: 20px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: #0d6efd;
    margin: 8px auto 10px;
    border-radius: 10px;
}

.partner-box {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 15px; /* 👈 alt boşluk */
}


.partner-box:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.partner-logo {
    max-height: 30px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partner-box:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 83px; /* 👈 arrow butonunun üstüne alıyoruz */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background: #0d6efd; /* bootstrap primary */
}

.whatsapp-btn {
    background: #25D366;
}

/* ACTIVE'I TAMAMEN ETKISIZLEŞTİR */
.navbar-nav .nav-link.active {
    color: #111 !important;
    font-weight: 500;
}

/* sadece hover renk değişsin */
.navbar-nav .nav-link {
    color: #111 !important;
    padding: 8px 14px;
    transition: color .2s ease, transform .2s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
    transform: translateY(-2px);
}

