/* ==========================================================================
   NAZARWEB ARCHITECTURE ADAPTED TO ERKAN KARATAS TEAL/NAVY SYSTEM
   ========================================================================== */

/* 1. Page Wrapper */
.nazar-adapted-page {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    background-color: #f8fafc;
    line-height: 1.7;
    position: relative;
    padding-bottom: 70px;
}

/* 2. Hero Banner (Deep Navy + Teal Accent) */
.nazar-hero {
    background: linear-gradient(135deg, #091322 0%, #0f1e36 60%, #122847 100%);
    padding: 55px 0 65px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(101, 189, 194, 0.25);
}

.nazar-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(101, 189, 194, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.8;
    pointer-events: none;
}

.nazar-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.nazar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #94a3b8;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.nazar-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nazar-breadcrumb a:hover {
    color: #65bdc2;
}

.nazar-breadcrumb .sep {
    color: #475569;
}

.nazar-breadcrumb .current {
    color: #65bdc2;
    font-weight: 600;
}

.nazar-category-badge {
    background: rgba(101, 189, 194, 0.15);
    color: #65bdc2;
    border: 1px solid rgba(101, 189, 194, 0.35);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.nazar-hero-title {
    color: #ffffff;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin: 0 0 14px 0;
}

.nazar-hero-subtitle {
    color: #cbd5e1;
    font-size: 17px;
    max-width: 820px;
    line-height: 1.65;
    margin: 0 0 22px 0;
}

.nazar-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nazar-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 16px;
    border-radius: 30px;
    color: #e2e8f0;
    font-size: 13.5px;
}

.nazar-author-badge img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #65bdc2;
}

.nazar-author-badge strong {
    color: #65bdc2;
}

/* 3. Main 2-Column Grid Layout */
.nazar-main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    margin-top: 45px;
    align-items: start;
}

/* 4. Content Column (Left Side) */
.nazar-content-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.nazar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.nazar-lead-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #65bdc2;
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 28px;
}

.nazar-lead-box p {
    font-size: 16.5px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
}

/* Typography Inside Content */
.treatment-heading {
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.35 !important;
    position: relative !important;
    border-left: 4px solid #65bdc2 !important;
    padding-left: 14px !important;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important;
}

.treatment-heading:first-of-type {
    margin-top: 0 !important;
}

.nazar-body-text p {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 18px;
}

.nazar-body-text ul,
.nazar-body-text ol {
    margin: 18px 0 24px 0;
    padding-left: 20px;
}

.nazar-body-text ul li,
.nazar-body-text ol li {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 10px;
}

.nazar-body-text ul li strong,
.nazar-body-text ol li strong {
    color: #0f172a;
}

/* 5. Clinical Media Box */
.treatment-media-box {
    margin: 30px 0;
    text-align: center;
}

.treatment-figure {
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 10px;
    background: #ffffff;
    max-width: 100%;
}

.treatment-figure img {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.treatment-figure figcaption {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    font-weight: 500;
}

/* 6. Video Grid Wrapper */
.treatment-video-grid-wrapper {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05) !important;
    padding: 24px;
    margin: 35px 0;
}

.treatment-video-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}

.treatment-video-badge {
    background: #0d9488;
    color: #ffffff;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.treatment-video-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.treatment-video-card-item {
    background: #ffffff;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.treatment-video-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #65bdc2;
}

.treatment-video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
    margin-bottom: 12px;
}

.treatment-video-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.treatment-video-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    margin-top: auto;
    gap: 10px;
}

.treatment-video-btn {
    background: linear-gradient(135deg, #65bdc2 0%, #0d9488 100%);
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.treatment-video-btn:hover {
    background: #0f766e;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* 7. Doctor Author Bio Box (Bottom) */
.doctor-author-box {
    margin-top: 40px;
    padding: 24px 28px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 22px;
}

.doctor-author-avatar {
    width: 84px !important;
    height: 84px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #65bdc2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.doctor-author-info h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.doctor-author-info .title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0d9488;
    margin: 0 0 6px 0;
}

.doctor-author-info .bio {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 8. Sidebar Column (Right Side) */
.nazar-sidebar-col {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-profile-card,
.sidebar-blog-ticker-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 1.5rem 1.35rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

.sidebar-menu-title {
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    margin-bottom: 1.15rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.sidebar-menu-title::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: #e2e8f0 !important;
}

/* Sidebar Navigation Items */
.sidebar-nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 14px !important;
    background: #f8fafc !important;
    border: 1px solid transparent !important;
    border-left: 4px solid transparent !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: #334155 !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.sidebar-nav-btn .step-num {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.sidebar-nav-btn .item-label {
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: inherit !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    flex: 1 1 auto !important;
    transition: all 0.2s ease !important;
}

.sidebar-nav-btn .item-arrow {
    font-size: 11px !important;
    color: #cbd5e1 !important;
    flex-shrink: 0 !important;
    margin-left: 8px !important;
    transition: transform 0.22s ease, color 0.22s ease !important;
}

.sidebar-nav-btn:hover,
.sidebar-nav-btn.active {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #65bdc2 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
    transform: translateX(4px) !important;
}

.sidebar-nav-btn:hover .step-num,
.sidebar-nav-btn.active .step-num {
    color: #0d9488 !important;
    font-weight: 800 !important;
}

.sidebar-nav-btn:hover .item-label,
.sidebar-nav-btn.active .item-label {
    color: #0d9488 !important;
    font-weight: 700 !important;
}

.sidebar-nav-btn:hover .item-arrow,
.sidebar-nav-btn.active .item-arrow {
    color: #0d9488 !important;
    transform: translateX(3px) !important;
}

/* Sidebar Call-To-Action Card */
.sidebar-cta-card {
    background: linear-gradient(145deg, #091322 0%, #112240 100%);
    border-radius: 20px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(101, 189, 194, 0.2);
    text-align: center;
}

.sidebar-cta-card .cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(101, 189, 194, 0.18);
    color: #65bdc2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px auto;
    border: 1.5px solid #65bdc2;
}

.sidebar-cta-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.sidebar-cta-card p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.55;
    margin-bottom: 16px;
}

.sidebar-cta-phone {
    font-size: 18px;
    font-weight: 800;
    color: #65bdc2;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.sidebar-cta-btn-primary {
    display: block;
    background: #65bdc2;
    color: #0f172a !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.sidebar-cta-btn-primary:hover {
    background: #0d9488;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.sidebar-cta-btn-whatsapp {
    display: block;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-cta-btn-whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .nazar-main-grid {
        grid-template-columns: 1fr;
    }
    .treatment-video-cards {
        grid-template-columns: 1fr;
    }
    .nazar-card {
        padding: 24px 20px;
    }
    .doctor-author-box {
        flex-direction: column;
        text-align: center;
    }
}
