/* Genel Ayarlar */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth; /* Tüm sayfada yumuşak kaydırma */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #222;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
    text-align: center; /* Başlıkları ortala */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #007bff; /* Bootstrap primary rengi */
    border-radius: 2px;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #212529 !important; /* Koyu gri */
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #007bff !important; /* Bootstrap primary rengi */
}

/* Hero Section */
.hero-section {
    background: url('../resimler/hero-bg.jpg') no-repeat center center / cover;
    min-height: 100vh; /* Tam ekran yüksekliği */
    position: relative;
    color: #fff;
    display: flex; /* Dikeyde ortalama için */
    align-items: center; /* Dikeyde ortalama */
    justify-content: center; /* Yatayda ortalama */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Hafif karartma */
}

.hero-section .container {
    z-index: 1;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p.lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.custom-btn {
    background-color: #007bff; /* Bootstrap primary */
    border-color: #007bff;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #0056b3; /* Bootstrap primary koyusu */
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.custom-outline-btn {
    color: #007bff;
    border-color: #007bff;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    transition: all 0.3s ease;
}

.custom-outline-btn:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

/* Hakkımızda Section */
#hakkimizda {
    background-color: #f8f9fa; /* Hafif gri arka plan */
}

#hakkimizda img {
    object-fit: cover;
    height: 400px; /* Görsel yüksekliğini sabitle */
    width: 100%;
}

/* Ürünler Section */
#urunler .card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#urunler .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#urunler .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#urunler .card-body {
    padding: 2rem;
}

#urunler .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#urunler .fa-3x {
    color: #007bff; /* İkon rengi */
}

/* Neden Bizi Tercih Etmelisiniz */
#urunler .p-4 {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#urunler .fa-4x {
    margin-bottom: 15px;
}

/* İletişim Section */
.contact-info li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info i {
    color: #007bff;
    width: 25px; /* İkonların hizalanması için */
}

.contact-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #007bff;
}

.social-icons .social-icon {
    color: #555;
    transition: color 0.3s ease;
}

.social-icons .social-icon:hover {
    color: #007bff;
}

#iletisim .form-control {
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
}

/* Footer */
footer {
    background-color: #212529 !important;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

footer a {
    color: rgba(255, 255, 255, 0.5);
}

footer a:hover {
    color: #fff;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .navbar-brand img {
        height: 35px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    #hakkimizda img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p.lead {
        font-size: 0.9rem;
    }
    .custom-btn {
        padding: 0.6rem 1.8rem;
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    #hakkimizda img {
        height: 250px;
    }
    .contact-info li {
        font-size: 0.95rem;
    }
}

/* RTL (Arabic) Specific Styles */
html[lang="ar"] body {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .navbar-nav .ms-auto {
    margin-left: 0 !important; /* Bootstrap'in otomatik marjını sıfırla */
    margin-right: auto !important; /* Sağdan hizalama için */
}

html[lang="ar"] .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%); /* Ortalamak için */
}

html[lang="ar"] .contact-info i {
    margin-right: 0;
    margin-left: 0.5rem; /* İkon ile metin arasına boşluk */
}

html[lang="ar"] .social-icons .social-icon {
    margin-right: 0;
    margin-left: 1rem; /* Sosyal ikonlar arası boşluk */
}

html[lang="ar"] .col-lg-6 { /* Gerekirse görselleri sağa hizalamak için */
    text-align: right;
}

/* RTL'de form inputları için */
html[lang="ar"] .form-control {
    text-align: right;
}