/* Hakkımızda CSS - Yamaçlı Hukuk Bürosu */

/* Genel Stiller */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
}

/* Banner */
.about-banner {
    background-color: #E6EEF2;
    height: 672px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.about-banner-bg {
    background-image: url('../images/hakkimizda.png');
    background-size: cover;
    position: relative;
    min-height: 375px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Geometrik şekiller için */
.banner-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.banner-bg-shapes::before,
.banner-bg-shapes::after {
    content: '';
    position: absolute;
    border-radius: 0;
}
.banner-bg-shapes::before {
    left: 0; top: 0;
    width: 70%; height: 100%;
    background: linear-gradient(120deg, #e6eef2 60%, #cfdbe2 100%);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}
.banner-bg-shapes::after {
    right: 0; top: 0;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, #d3e0e8 40%, #b7c9d6 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content.vertical-center {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    
}

.banner-title {
    font-size: 40px;
    font-weight: 700;
    color: #1B3540;
    margin: 0;
    letter-spacing: 1px;
    z-index: 2;
}

.banner-bottom-logo {
    position: absolute;
    left: 150px; /* header logo ile aynı hizaya getirildi */
    bottom: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}

.banner-logo {
    height: 32px;
    width: auto;
}

.banner-law {
    font-size: 16px;
    color: #1B3540;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.8;
    font-weight: 400;
    margin-left: 6px;
}

/* İçerik Bölümü */
.about-content {
    padding: 80px 0;
}

.about-item {
    margin-bottom: 60px;
    position: relative;
}

.item-number {
    font-size: 18px;
    font-weight: 600;
    color: #1B3540;
    margin-bottom: 10px;
}

.about-item h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1B3540;
    margin-bottom: 20px;
}

.about-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

/* Görsel Alanı */
.about-images {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-main-image {
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 100%;
}

/* Sayfalama */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.pagination {
    display: flex;
    align-items: center;
}

.current-page {
    font-size: 14px;
    margin-right: 15px;
}

.prev-page, .next-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #1B3540;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.prev-page:hover, .next-page:hover {
    background-color: #E6EEF2;
}

/* --- Hakkımızda Akordeon Stilleri --- */
.about-accordion-section .accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a2a32'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a2a32'%3e%3cpath fill-rule='evenodd' d='M14.354 11.354a.5.5 0 0 1 0-.708L8.707 5.000l-5.647 5.646a.5.5 0 1 1-.708-.708l6-6a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708z'/%3e%3c/svg%3e");
}

.about-accordion-section .accordion-item {
    border: none;
    border-bottom: 1px solid #d0dee3; /* Light gray border */
    margin-bottom: 10px;
    background-color: #fff;
    overflow: hidden; /* Ensures border-radius clips inner content */
}

.about-accordion-section .accordion-item .accordion-button:not(.collapsed) {
    border-bottom: 1px solid #d0dee3;
}

.about-accordion-section .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-bottom: none;
}

.about-accordion-section .accordion-button {
    background-color: #fff;
    color: #0a2a32;
    font-weight: 700;
    font-size: 2rem; /* Başlık font boyutu */
    padding: 1.5rem 1rem;
    width: 100%;
    text-align: left;
    border: none;
    display: flex;
    align-items: center;
}

.about-accordion-section .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #0a2a32;
    box-shadow: none;
}

.about-accordion-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.about-accordion-section .accordion-number {
    color: #d0dee3;
    font-weight: 700;
    margin-right: 1rem;
}

.about-accordion-section .accordion-title-text {
    flex-grow: 1;
}

.about-accordion-section .accordion-logo img {
    height: 24px; /* Logo yüksekliği */
    width: auto;
}

.about-accordion-section .accordion-body {
    padding: 1.5rem 2rem;
    background-color: #fff; /* Arka planı beyaz yap */
    color: #0a2a32;
    border-radius: 5px;
    margin: 0 1rem 1.5rem 1rem;
}

.about-accordion-section .accordion-body p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.about-accordion-section .accordion-collapse {
    border: none;
}

/* Accordion Image Placeholder Styles */
.about-accordion-section .accordion-image-placeholder {
    width: 100%;
    max-height: 450px; /* Increased height for better image display */
    background-color: #d0dee3; /* Açık mavi yer tutucu rengi */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.about-accordion-section .accordion-image-placeholder img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .about-banner { height: 220px; }
    .banner-title { font-size: 24px; }
    .banner-content.vertical-center { margin-left: 20px; }
    .banner-bottom-logo { left: 20px; bottom: 16px; }
    .banner-law { font-size: 12px; }
    .banner-logo { height: 22px; }
    .about-accordion-section .accordion-button {
        padding: 1rem 1.25rem;
    }
    .about-accordion-section .accordion-title-text {
        font-size: 16px;
    }
    .about-accordion-section .accordion-logo {
        display: none; /* Logoyu mobil cihazlarda gizle */
    }
}

@media (min-width: 768px) {
  .about-slide { display: block !important; }
  .about-slider-nav { display: none !important; }
}
@media (max-width: 767px) {
  .about-slide { display: none; }
  .about-slide.active { display: block; }
  .about-slider-nav { display: flex !important; }
}
