:root {
    --primary-color: #0056b3; /* Soft Professional Blue */
    --primary-hover: #004494;
    --secondary-color: #6c757d;
    --accent-color: #e3f2fd;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --font-main: 'Manrope', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

/* --- Utilities --- */
.fw-extra-bold { font-weight: 800; }
.ls-2 { letter-spacing: 2px; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-padding { padding: 80px 0; }
.bg-light-gradient { background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); }

/* --- Header --- */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar a { color: var(--white); margin-right: 15px; }
.top-bar i { opacity: 0.7; }

.navbar { padding: 15px 0; }
.navbar-brand .logo-text {
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
}
.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0 10px;
}
.nav-link:hover, .nav-link.active { color: var(--primary-color); }

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, var(--accent-color) 0%, transparent 40%);
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper .main-img {
    border-radius: 20px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .main-img {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 10%; left: -30px; }
.card-2 { bottom: 15%; right: -20px; animation-delay: 1s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Service Card Background Image Styles */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    display: block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    top: 0;
    overflow: hidden;
    /* Arka plan görseli için hazırlık */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Arka plan görseli için saydam overlay */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.90) 100%);
    z-index: 0;
    transition: all 0.4s ease;
}

/* Hover'da overlay daha şeffaf olsun */
.service-card:hover::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 100%);
}

/* İçeriklerin overlay üstünde durması için */
.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    top: -10px;
    border-color: var(--primary-color);
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.2;
    margin-top: 5px;
}

/* Detail Hero Image */
.detail-hero-img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* District Grid Small (Sidebar) */
.district-grid-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

/* Social Links */
.social-links a {
    color: rgba(255,255,255,0.7);
    margin: 0 8px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--white);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    top: -10px;
    border-color: var(--primary-color);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

/* --- District Cards --- */
.district-card {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    font-weight: 600;
    transition: 0.3s;
}

.district-card:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* --- Testimonials --- */
.testimonial-card-modern {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
    height: 100%;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: var(--text-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* --- Accordion --- */
.custom-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.custom-accordion .accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    padding: 20px;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: none;
}

/* --- CTA Section --- */
.cta-section { padding-bottom: 80px; }
.cta-card {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2c3e50 100%);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* --- Detail Page & Sidebar --- */
.detail-header {
    background: var(--text-dark);
    padding: 80px 0;
    position: relative;
}

.sidebar-sticky { position: sticky; top: 100px; }

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.sidebar-cta {
    background: var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
}

.btn-white { background: var(--white); color: var(--primary-color); }

.badge-brand {
    display: inline-block;
    padding: 8px 15px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    margin: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}
.badge-brand:hover { background: var(--text-dark); color: var(--white); }

.mahalle-link {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}
.mahalle-link:hover { color: var(--primary-color); padding-left: 5px; }

/* --- Footer --- */
.site-footer {
    background: var(--text-dark);
    padding: 80px 0 30px 0;
    color: rgba(255,255,255,0.7);
}

.footer-links a, .footer-contact a {
    color: rgba(255,255,255,0.7);
    display: block;
    margin-bottom: 10px;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }

/* --- Sticky Buttons --- */
.sticky-buttons-desktop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.btn-sticky {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.btn-sticky:hover { transform: scale(1.1); color: var(--white); }
.btn-sticky.whatsapp { background: #25D366; }
.btn-sticky.phone { background: var(--primary-color); }

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    display: flex;
    padding: 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    font-weight: 700;
    margin: 0 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.mobile-bottom-nav .phone { background: var(--primary-color); color: var(--white); }
.mobile-bottom-nav .whatsapp { background: #25D366; color: var(--white); }

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero-section { text-align: center; padding: 60px 0; }
    .hero-image-wrapper { margin-top: 40px; }
    .hero-stats { justify-content: center; }
    .detail-hero-img { height: 250px; object-fit: cover; }
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .display-4 { font-size: 2.5rem; }
}
/* Google Maps Section */
.map-container {
    position: relative;
    border: 3px solid var(--accent-color);
}

.map-container iframe {
    display: block;
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004494 100%);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.contact-info-card .icon-box i {
    font-size: 2rem;
    color: var(--white);
}

.contact-info-card h4 {
    color: var(--white);
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--white);
}

.info-content h6 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p,
.info-content a {
    font-size: 0.95rem;
}

.info-content a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.info-content a:hover {
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .map-container {
        min-height: 350px !important;
        margin-bottom: 30px;
    }
    
    .contact-info-card {
        margin-top: 20px;
    }
}
/* Breadcrumb Styling */
.detail-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.detail-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.detail-header .breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.detail-header .breadcrumb-item a:hover {
    color: var(--accent-color);
}

.detail-header .breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}

.detail-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "›";
    font-size: 1.2rem;
    padding: 0 8px;
}

/* Alternatif: Slash separator istersen */
.detail-header .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
}
/* Mobil Dropdown Styling */
@media (max-width: 991px) {
    .navbar-collapse .dropdown-menu {
        background-color: rgba(0, 86, 179, 0.03);
        border: none;
        padding: 10px 0;
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .navbar-collapse .dropdown-menu .dropdown-item {
        padding: 12px 25px;
        color: var(--text-dark);
        transition: all 0.3s;
        border-left: 3px solid transparent;
    }
    
    .navbar-collapse .dropdown-menu .dropdown-item:hover,
    .navbar-collapse .dropdown-menu .dropdown-item:active {
        background-color: rgba(0, 86, 179, 0.1);
        border-left-color: var(--primary-color);
        color: var(--primary-color);
        padding-left: 30px;
    }
    
    /* Dropdown ok işareti animasyonu */
    .navbar .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .navbar .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
}