/* Site-wide responsive fixes */

/* ── Mobile menu (theme structure) ── */
.mobile-nav-wrap {
    z-index: 99999;
    max-width: 320px;
}
.mobile-nav-wrap .top-nav-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--Line);
}
.mobile-nav-wrap .top-nav-mobile .offcanvas-title img {
    max-width: 136px;
    height: 42px;
    object-fit: contain;
}
.mobile-nav-wrap .top-nav-mobile [data-bs-dismiss="offcanvas"] {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--Heading);
}
.inner-mobile-nav {
    padding: 0;
}
.inner-mobile-nav .mb-body {
    padding: 0 15px 24px;
}
.inner-mobile-nav #menu-mobile-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 15px 0 0;
    border-top: 1px solid var(--Line);
}
.inner-mobile-nav #menu-mobile-menu > li {
    border-bottom: 1px solid var(--Line);
}
.inner-mobile-nav #menu-mobile-menu li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 16px;
    font-weight: 400;
    color: var(--Heading);
    text-decoration: none;
    padding: 8px 0;
}
.inner-mobile-nav #menu-mobile-menu li.current-menu-item > a,
.inner-mobile-nav #menu-mobile-menu li a:hover {
    color: var(--Primary);
}
.inner-mobile-nav .support {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--Line);
}
.inner-mobile-nav .support .text-need {
    display: block;
    font-weight: 600;
    color: var(--Heading);
    margin-bottom: 12px;
    text-decoration: none;
}
.inner-mobile-nav .support .mb-info {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--Text);
    line-height: 1.6;
}
.inner-mobile-nav .support .mb-info li + li {
    margin-top: 8px;
}
.inner-mobile-nav .support .mb-info a {
    color: var(--Primary);
    text-decoration: none;
}

/* ── Homepage: Nasıl Yardımcı Olabiliriz? tabs ── */
.section-help .widget-tabs.style-2 .widget-menu-tab {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 28px;
    margin-top: 0;
    width: 100%;
}
.section-help .widget-tabs.style-2 .item-title {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}
@media (min-width: 480px) {
    .section-help .widget-tabs.style-2 .item-title {
        flex: 1 1 calc(50% - 10px);
    }
}
@media (min-width: 768px) {
    .section-help .widget-tabs.style-2 .widget-menu-tab {
        flex-wrap: nowrap;
        gap: 12px;
    }
    .section-help .widget-tabs.style-2 .item-title {
        flex: 1 1 0;
        max-width: none;
        min-height: 52px;
    }
}

/* ── Modern page banner (listings, agents, blog) ── */
.page-modern-banner {
    position: relative;
    padding: 72px 0 68px;
    background: url('../images/section/page-title-1.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}
.page-modern-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(18, 18, 32, 0.88) 0%, rgba(22, 33, 62, 0.78) 45%, rgba(15, 52, 96, 0.72) 100%);
    z-index: 1;
}
.page-modern-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(241, 145, 61, 0.18) 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
}
.page-modern-banner .inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-modern-banner h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.35;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
    max-width: 900px;
}
.page-modern-banner .banner-sub {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 auto 20px;
    max-width: 640px;
    text-align: center;
}
.page-modern-banner .breadcrumb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.page-modern-banner .breadcrumb-wrap a,
.page-modern-banner .breadcrumb-wrap .crumb-current {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    transition: background 0.2s, color 0.2s;
}
.page-modern-banner .breadcrumb-wrap a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}
.page-modern-banner .breadcrumb-wrap .crumb-current {
    background: var(--Primary);
    border-color: var(--Primary);
    color: #fff;
    font-weight: 600;
    max-width: min(100%, 480px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.page-modern-banner .breadcrumb-wrap .sep {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}
@media (max-width: 767px) {
    .page-modern-banner {
        background-attachment: scroll;
        padding: 52px 0 48px;
    }
}

/* ── Modern agent cards ── */
.modern-agent-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid #f1f1f3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.modern-agent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--Primary) !important;
}
.modern-agent-avatar-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 6px;
    border: 2px dashed #e1e1e5;
    transition: all 0.3s ease;
}
.modern-agent-card:hover .modern-agent-avatar-wrap {
    border-color: var(--Primary) !important;
    transform: rotate(15deg);
}
.modern-agent-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.modern-agent-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c2e33;
    margin-bottom: 6px;
}
.modern-agent-name a {
    color: #2c2e33 !important;
    text-decoration: none;
}
.modern-agent-card:hover .modern-agent-name a {
    color: var(--Primary) !important;
}
.modern-agent-title {
    font-size: 13px;
    color: #8a8d9b;
    font-weight: 500;
    margin-bottom: 16px;
}
.modern-agent-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
.modern-agent-contact a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e8eaed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--Primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
.modern-agent-contact a:hover {
    background: var(--Primary);
    border-color: var(--Primary);
    color: #fff;
}
.modern-agent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f9;
    color: #2c2e33;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}
.modern-agent-card:hover .modern-agent-btn {
    background-color: var(--Primary) !important;
    color: #fff !important;
}

/* ── Blog page grid cards ── */
.section-blog-page .blog-article-item.style-2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f2;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.section-blog-page .blog-article-item.style-2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(241, 145, 61, 0.35);
}
.section-blog-page .blog-article-item.style-2 .image-wrap {
    border-radius: 0;
}
.section-blog-page .blog-article-item.style-2 .image-wrap img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}
.section-blog-page .blog-article-item.style-2 .article-content {
    padding: 20px 22px 24px;
}
.section-blog-page .blog-article-item.style-2 .title a {
    color: var(--Heading);
}
.section-blog-page .blog-article-item.style-2 .title a:hover {
    color: var(--Primary);
}
.section-blog-page .blog-excerpt {
    color: #8a8d9b;
    font-size: 14px;
    line-height: 1.65;
    margin: 10px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.modern-sidebar-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f0f0f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}
.modern-sidebar-box .sidebar-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--Heading);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f2;
}
.modern-sidebar-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f7;
}
.modern-sidebar-list li:last-child {
    border-bottom: none;
}
.modern-sidebar-list .thumb {
    width: 72px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.modern-sidebar-list .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modern-sidebar-list .item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
}
.modern-sidebar-list .item-title a {
    color: var(--Heading);
    text-decoration: none;
}
.modern-sidebar-list .item-title a:hover {
    color: var(--Primary);
}
.modern-sidebar-list .item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--Primary);
}
.modern-sidebar-cta {
    text-align: center;
}
.modern-sidebar-cta p {
    font-size: 14px;
    color: #8a8d9b;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ── Agent detail page ── */
.agent-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #f0f0f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}
.agent-profile-card .profile-avatar-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 6px;
    border: 2px dashed #e1e1e5;
    flex-shrink: 0;
}
.agent-profile-card .profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.agent-profile-card .profile-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--Heading);
}
.agent-profile-card .profile-role {
    color: var(--Primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}
.agent-profile-card .profile-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--Heading);
    list-style: none;
}
.agent-profile-card .profile-contact li i {
    color: var(--Primary);
    font-size: 18px;
}
.agent-profile-card .profile-contact a {
    color: var(--Heading);
    text-decoration: none;
}
.agent-profile-card .profile-contact a:hover {
    color: var(--Primary);
}
.modern-content-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #f0f0f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}
.modern-content-box .box-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--Heading);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f2;
}
.modern-content-box .box-text {
    color: #5c5f6a;
    line-height: 1.75;
    white-space: pre-line;
    margin: 0;
}

/* ── Blog detail page ── */
.section-blog-details-page .blog-detail-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #f0f0f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}
.section-blog-details-page .blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f2;
    color: #8a8d9b;
    font-size: 14px;
}
.section-blog-details-page .blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.section-blog-details-page .blog-detail-meta i {
    color: var(--Primary);
}
.section-blog-details-page .blog-detail-cover {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
    aspect-ratio: 16 / 9;
    background: #f0f0f2;
}
.section-blog-details-page .blog-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.section-blog-details-page .blog-detail-body {
    color: #3a3d46;
    font-size: 16px;
    line-height: 1.85;
}
.section-blog-details-page .blog-detail-body p {
    margin-bottom: 1rem;
}
.section-blog-details-page .blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
@media (max-width: 767px) {
    .agent-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .agent-profile-card .profile-contact li {
        justify-content: center;
    }
    .section-blog-details-page .blog-detail-card {
        padding: 22px 18px;
    }
}

/* ── Contact page ── */
.section-contact-page .contact-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f2;
}
.section-contact-page .contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}
.section-contact-page .contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.section-contact-page .contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f2;
}
.section-contact-page .contact-info-list li:last-child {
    border-bottom: none;
}
.section-contact-page .contact-info-list .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(241, 145, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--Primary);
    font-size: 20px;
}
.section-contact-page .contact-info-list h6 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--Heading);
}
.section-contact-page .contact-info-list p,
.section-contact-page .contact-info-list a {
    margin: 0;
    font-size: 14px;
    color: #5c5f6a;
    line-height: 1.55;
    text-decoration: none;
}
.section-contact-page .contact-info-list a:hover {
    color: var(--Primary);
}
.section-contact-page .contact-form .form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--Heading);
    margin-bottom: 8px;
}
.section-contact-page .contact-form .form-control {
    border-radius: 10px;
    border: 1px solid #e8eaed;
    padding: 12px 14px;
    font-size: 15px;
}
.section-contact-page .contact-form .form-control:focus {
    border-color: var(--Primary);
    box-shadow: 0 0 0 3px rgba(241, 145, 61, 0.15);
}
@media (max-width: 767px) {
    .section-contact-page .contact-map-wrap iframe {
        height: 300px;
    }
}
