/**
 * Bahçe Duvarı Ustası - Ana CSS Dosyası
 * İnşaat sektörü için özel tasarlanmış CSS
 */

/* Genel Stiller */
:root {
    --primary-color: #FF6B00; /* Turuncu - inşaat rengi */
    --secondary-color: #333333; /* Koyu gri */
    --dark-color: #1D1D1D; /* Neredeyse siyah */
    --light-gray: #F5F5F5;
    --accent-color: #FFD700; /* Altın sarısı - vurgu için */
    --text-color: #333333;
    --light-color: #FFFFFF;
    --border-radius: 4px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --navbar-height: 76px; /* Navbar yüksekliği */
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
    padding-top: 0; /* Navbar'ın altında boşluk oluşmaması için padding kaldırıldı */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
.ikonlar {
    background-color: var(--primary-color);
}
/* Butonlar */
.btn {
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #e65c00;
    border-color: #e65c00;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

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

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

/* Header */
.top-bar {
    background-color: var(--dark-color);
    font-size: 0.9rem;
}

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 15px 0;
    background-color: white !important; /* Varsayılan olarak beyaz */
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar Brand (Logo ve İsim) */
.navbar-brand {
    padding: 0;
    margin-right: 1.5rem;
}

.brand-primary {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

.brand-secondary {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    display: block;
    letter-spacing: 1px;
}

/* Sadece ana sayfada şeffaf navbar ve SADECE desktop görünümde */
@media (min-width: 992px) {
    .index-page .navbar:not(.scrolled) {
        background-color: transparent !important;
        box-shadow: none;
    }

    .index-page .navbar:not(.scrolled) .navbar-brand,
    .index-page .navbar:not(.scrolled) .nav-link {
        color: white !important;
    }

    .index-page .navbar:not(.scrolled) .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

/* Varsayılan ve scrolled durumu */
.navbar .navbar-brand,
.navbar .nav-link {
    color: var(--secondary-color) !important;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

/* Aktif menü öğesi stili */
.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Dropdown aktif öğesi */
.dropdown-item.active, 
.dropdown-item:active {
    background-color: var(--primary-color);
    color: white !important;
}

/* Hero Bölümü */
.hero-section {
    padding: 0;
    background-color: var(--light-gray);
    background-image: url('../img/banner.webp'); /* banner.webp resmi varsa, yoksa varolan hero bg */
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    z-index: 1; /* Navbar'ın altında kalması için */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1; /* Hero section'ın içeriğinin arkasında kalması için */
}

.hero-section .container {
    position: relative;
    z-index: 2; /* İçeriğin overlay'in üzerinde kalması için */
    color: var(--light-color);
    padding-top: 80px; /* Navbar'a yer açmak için */
}

.hero-content-box {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hizmet Kartları */
.service-card {
    transition: var(--transition);
    border: none;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.service-card .card-title {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Özellik Kutuları */
.feature-box {
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--primary-color);
}

/* Proje Kartları */
.project-card {
    overflow: hidden;
    border: none;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.project-card img {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Referans Bölümü */
.testimonial-card {
    background-color: var(--light-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Blog Kartları */
.blog-card {
    transition: var(--transition);
    border: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Blog sayfası kategori ve breadcrumb link renkleri */
.blog-meta a, .breadcrumb-item a, .categories-list a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.blog-meta a:hover, .breadcrumb-item a:hover, .categories-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-meta a.text-muted {
    color: var(--secondary-color) !important;
}

.blog-meta a.text-muted:hover {
    color: var(--primary-color) !important;
}

/* Blog sayfası başlık renkleri */
.blog-card h3 a, .blog-sidebar h5 a, .popular-post-title a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.blog-card h3 a:hover, .blog-sidebar h5 a:hover, .popular-post-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

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

.blog-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.blog-card .btn-outline-primary:active, 
.blog-card .btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.25);
}

/* İletişim Bölümü */
.contact-info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-form .form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    min-height: 45px;
}

.contact-form textarea.form-control {
    min-height: 150px;
}

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

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

.footer h4 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

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

.footer-links li a {
    transition: var(--transition);
}

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

/* WhatsApp Floating Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

/* Telefon Floating Button */
.floating-phone {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition);
}

.floating-phone:hover {
    background-color: #e65c00;
    transform: scale(1.1);
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

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

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Servis Sayfası */
.service-details {
    padding: 80px 0;
}

.service-details .service-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-details .service-image img {
    width: 100%;
    height: auto;
}

/* Blog Sayfası */
.blog-post {
    margin-bottom: 3rem;
}

.blog-post-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.blog-post-img img {
    width: 100%;
    transition: var(--transition);
}

.blog-post:hover .blog-post-img img {
    transform: scale(1.05);
}

.blog-post-title {
    margin-bottom: 1rem;
}

.blog-post-meta {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-post-content {
    margin-bottom: 1.5rem;
}

/* Hizmet Detayları */
.service-details-list {
    list-style: none;
    padding: 0;
}

.service-details-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.service-details-list li:before {
    content: '\f00c';
    font-family: "bootstrap-icons";
    margin-right: 10px;
    color: var(--primary-color);
}

/* Breadcrumb Bölümü */
.breadcrumb-section {
    background-color: var(--light-gray);
    padding: 100px 0 15px; /* Üst padding'i daha da artırıyorum */
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(255,107,0,0.05), rgba(255,107,0,0.1));
    z-index: 0;
}

.breadcrumb-section .container {
    position: relative;
    z-index: 1;
}

.breadcrumb-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    border-radius: 30px;
    display: inline-flex;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--secondary-color);
    content: "›";
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 300;
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Galeri */
.gallery-item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    transition: all 0.5s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    transform: translateY(20px);
    transition: all 0.4s ease;
    width: 100%;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-item-caption {
    border-top: none;
    background: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.gallery-item-caption h3 {
    font-weight: 600;
    color: #333;
}

.filter-buttons .btn {
    margin-right: 8px;
    margin-bottom: 10px;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-buttons .btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
}

.projects-gallery {
    background-color: #f8f9fa;
    position: relative;
}

.projects-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-bg.png');
    opacity: 0.05;
    pointer-events: none;
}

/* Mobil Menü İyileştirmeleri */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 80vh;
        padding-top: var(--navbar-height);
    }
    
    .navbar {
        padding: 10px 0;
        background-color: white !important;
    }
    
    .navbar .navbar-brand,
    .navbar .nav-link {
        color: var(--secondary-color) !important;
    }
    
    .navbar-brand {
        max-width: 70%;
    }
    
    .brand-primary {
        font-size: 1rem;
    }
    
    .brand-secondary {
        font-size: 0.8rem;
    }
    
    .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 15px;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
        transition: all 0.3s ease;
        z-index: 1040; /* Menünün her şeyin üstünde olmasını sağla */
    }
    
    /* Menü açıldığında navbar her zaman beyaz arkaplan */
    .navbar.scrolled,
    .navbar-collapse.show {
        background-color: white !important;
    }
    
    /* Menü öğeleri her zaman koyu renk olsun */
    .navbar-collapse .nav-link {
        color: var(--secondary-color) !important;
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-collapse .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .navbar-collapse .dropdown-menu {
        background-color: #f8f9fa;
        border: none;
        padding-left: 20px;
        box-shadow: none;
    }
    
    .navbar-collapse .dropdown-item {
        color: var(--secondary-color) !important;
    }
    
    .navbar-collapse .btn {
        margin-top: 15px;
        margin-left: 15px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .back-to-top {
        right: 30px;
        bottom: 110px;
    }
    
    .service-card .card-img-top,
    .blog-card .card-img-top,
    .project-card img {
        height: 180px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-overlay-content h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .service-card .card-img-top,
    .blog-card .card-img-top,
    .project-card img {
        height: 200px;
    }
    
    .gallery-item img {
        height: 180px;
    }
}

/* Menü açıldığında gövde stili */
body.menu-open {
    overflow: hidden;
}

/* Hover efektleri */
.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
    color: var(--primary-color) !important;
}

/* Sidebar widget'lar */
.sidebar-widget {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

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

/* CTA Bölümü */
.cta-section {
    background-color: var(--primary-color);
    background-image: linear-gradient(to right, var(--primary-color), #ff8534);
}

/* Etiket bulutu */
.tag-cloud a {
    background-color: #f8f9fa;
    color: var(--secondary-color);
    border-color: #eee;
    transition: var(--transition);
    margin-right: 5px;
    margin-bottom: 8px;
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* İletişim Bölümü */ 