/**
 * Custom CSS - Karagöz Emlak & Dekorasyon
 * Bootstrap 5 versiyonu
 */

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --body-color: #f8f9fa;
    --text-color: #212529;
    --border-color: #dee2e6;
    --body-font: 'Outfit', sans-serif;
    --heading-font: 'Outfit', sans-serif;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--body-color);
    overflow-x: hidden;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p, .text-muted {
    font-weight: 400;
}

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

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 20px;
}

.py-md-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/*--------------------------------------------------------------
# Buttons & Badges
--------------------------------------------------------------*/
.btn {
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

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

.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 999px;
}

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 105px;
    bottom: 28px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.top-bar {
    font-size: 14px;
}

.social-links .list-inline-item {
    margin-right: 10px;
}

.social-links .list-inline-item:last-child {
    margin-right: 0;
}

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

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    position: relative;
    z-index: 999;
}

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

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 25px 15px;
    color: var(--dark-color);
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link.active:after,
.navbar-nav .nav-link:hover:after {
    transform: scaleX(1);
}

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

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

.dropdown-item {
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .navbar-nav .nav-link:after {
        display: none;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    height: 640px;
    overflow: hidden;
}

.hero-slide {
    height: 640px;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex !important;
    align-items: center;
}

.hero-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-panel {
    max-width: 620px;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-panel-primary {
    background: transparent;
    border: 0;
}

.hero-panel-secondary {
    background: transparent;
    border: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    font-size: clamp(2.9rem, 4.3vw, 4.8rem);
    line-height: 1.02;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.hero-title-primary {
    max-width: 11.2ch;
}

.hero-title-secondary {
    max-width: 11ch;
}

.hero-content p {
    margin-bottom: 20px;
    max-width: 520px;
    font-size: 1.12rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 28px rgba(5, 15, 30, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-glass-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(5, 15, 30, 0.24);
}

.hero-glass-btn-primary {
    background: rgba(13, 110, 253, 0.72);
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-glass-btn-primary:hover {
    background: rgba(13, 110, 253, 0.84);
}

.hero-glass-btn-outline {
    background: rgba(255, 255, 255, 0.06);
}

.hero-glass-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.trust-strip-section {
    position: relative;
    padding: 40px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.trust-strip-item {
    padding: 28px 24px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.trust-strip-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.trust-strip-item strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #111827;
}

.trust-strip-item span {
    display: block;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.7;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.service-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.14);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-icon {
    width: 46px;
    height: 46px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.25);
}

.service-card:hover .service-icon {
    transform: translateY(-2px);
    background-color: var(--primary-dark);
}

.service-link {
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-content p {
    flex-grow: 1;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    right: -30px;
    bottom: 30px;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.fw-medium {
    font-weight: 500;
}

/*--------------------------------------------------------------
# Properties Section
--------------------------------------------------------------*/
.property-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.14);
}

.project-card,
.blog-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    background-color: #fff;
    transition: all 0.3s ease;
}

.project-card:hover,
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.14);
}

.project-img {
    height: 260px;
    overflow: hidden;
    background-color: #f3f4f6;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.project-content {
    min-height: 170px;
}

.project-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.project-meta-badge {
    margin-bottom: 0 !important;
}

.project-meta-btn {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background-color: #f3f4f6;
    color: #111827;
    font-weight: 600;
    padding: 8px 18px;
}

.project-meta-btn:hover {
    background-color: #e5e7eb;
    color: #111827;
    border-color: #d1d5db;
}

.projects-filter .btn-group {
    justify-content: center;
}

.project-search-panel {
    max-width: 680px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.project-search-panel .input-group-text,
.project-search-panel .form-control,
.project-search-panel .btn {
    min-height: 54px;
}

.project-search-panel .form-control {
    font-weight: 500;
}

.project-empty-state {
    padding-top: 24px;
}

.project-empty-state-box {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.project-empty-state-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.project-empty-state-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.home-value-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.value-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(13, 110, 253, 0.12);
}

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.12);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-card p {
    margin-bottom: 0;
    color: #6b7280;
}

.property-img {
    height: 220px;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.property-type {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.property-features {
    font-size: 14px;
}

.property-features i {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonial-carousel .slick-slide {
    padding: 15px;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

.testimonial-author img {
    border: 3px solid #fff;
    object-fit: cover;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-inner {
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.25);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background-color: var(--dark-color);
}

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

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

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

.footer-links a {
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

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

.footer .social-link:hover {
    background-color: var(--primary-color);
}

.footer-credit-link {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.footer-credit-separator {
    display: inline-block;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/*--------------------------------------------------------------
# About Page - Hakkımızda
--------------------------------------------------------------*/
.page-banner {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    min-height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-content h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.breadcrumb {
    background-color: transparent;
}

.breadcrumb-item a {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

/* About Page Section */
.about-page-section {
    background-color: #fff;
}

.about-content {
    animation: fadeInUp 0.8s ease-out;
}

.about-content h6 {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.about-content h2 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-img {
    animation: fadeInLeft 0.8s ease-out;
    position: relative;
}

.about-img:after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.stat-item {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

/* Vision & Mission Cards */
.vision-mission-card {
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-left-color: var(--primary-color);
}

.card-icon {
    transition: all 0.3s ease;
}

.vision-mission-card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.why-choose-img {
    animation: fadeInRight 0.8s ease-out;
}

.why-choose-img:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.feature-item {
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon img {
    transform: scale(1.2) rotate(10deg);
}

/* Certificates Section */
.certificate-card {
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(13, 110, 253, 0.14);
}

.certificate-card img {
    width: 100%;
    display: block;
    background-color: #fff;
}

.certificate-content {
    padding: 18px 20px 20px;
}

.project-gallery-thumb {
    height: 120px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.25s ease;
}

.project-gallery-thumb:hover {
    transform: scale(1.03);
}


/* Contact Page
--------------------------------------------------------------*/
.contact-info-box {
    background-color: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-box:hover .contact-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.contact-form {
    background-color: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-section .card {
    border-radius: 14px;
}

.form-control {
    padding: 12px 15px;
    border-color: var(--border-color);
    border-radius: 10px;
    font-weight: 500;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .py-md-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-section,
    .hero-slide {
        height: 560px;
    }
    
    .experience-badge {
        right: 0;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-section,
    .hero-slide {
        height: 520px;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
        max-width: none;
    }

    .hero-panel {
        max-width: none;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .trust-strip {
        gap: 14px;
    }

    .back-to-top {
        right: 80px;
        bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-section,
    .hero-slide {
        height: 500px;
    }
    
    .property-features {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .property-features span {
        margin-bottom: 5px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-glass-btn {
        width: 100%;
    }

    .project-search-panel {
        padding: 10px;
    }

    .back-to-top {
        right: 68px;
        bottom: 15px;
    }
}
