/* ==========================================================================
   Sayfa (Page Details) Dedicated Stylesheet - Printop Theme
   ========================================================================== */

/* --- Hero & Breadcrumb Adjustments (Eliminate White Gaps) --- */
.breadcrumb {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .breadcrumb {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

.sayfa-hero {
    position: relative;
    padding: 75px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.sayfa-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .sayfa-hero {
        padding: 50px 0;
    }
    .sayfa-hero-title {
        font-size: 2rem;
    }
}

.sayfa-breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 8px 22px;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.sayfa-breadcrumb-link {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.sayfa-breadcrumb-link:hover {
    color: var(--main-600, #735CFC);
}

.sayfa-breadcrumb-sep {
    color: #cbd5e1;
    font-size: 0.75rem;
    display: inline-flex;
}

.sayfa-breadcrumb-current {
    color: var(--main-600, #735CFC);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Main Layout --- */
.sayfa-section {
    padding: 80px 0 120px 0;
    background: #fdfdfd;
}

@media (max-width: 768px) {
    .sayfa-section {
        padding: 50px 0 80px 0;
    }
}

.sayfa-main-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.03);
}

@media (max-width: 768px) {
    .sayfa-main-card {
        padding: 24px;
        border-radius: 16px;
    }
}

/* --- Featured Image --- */
.sayfa-featured-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    max-height: 460px;
}

.sayfa-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sayfa-featured-media:hover img {
    transform: scale(1.02);
}

/* --- Executive Excerpt --- */
.sayfa-lead-box {
    background: #f8fafc;
    border-left: 4px solid var(--main-600, #735CFC);
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 32px;
}

html[dir="rtl"] .sayfa-lead-box {
    border-left: none;
    border-right: 4px solid var(--main-600, #735CFC);
}

.sayfa-lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

/* --- Rich Article Body --- */
.sayfa-body-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #475569;
}

.sayfa-body-content p {
    margin-bottom: 1.35rem;
}

.sayfa-body-content h2,
.sayfa-body-content h3,
.sayfa-body-content h4,
.sayfa-body-content h5 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
}

.sayfa-body-content h2 {
    font-size: 1.75rem;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.sayfa-body-content h3 {
    font-size: 1.375rem;
    margin-top: 1.85rem;
    margin-bottom: 0.85rem;
}

.sayfa-body-content h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.sayfa-body-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

html[dir="rtl"] .sayfa-body-content ul {
    padding-right: 0;
}

.sayfa-body-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

html[dir="rtl"] .sayfa-body-content ul li {
    padding-left: 0;
    padding-right: 28px;
}

.sayfa-body-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--main-600, #735CFC);
    box-shadow: 0 0 0 3px rgba(115, 92, 252, 0.15);
}

html[dir="rtl"] .sayfa-body-content ul li::before {
    left: auto;
    right: 4px;
}

.sayfa-body-content ol {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

html[dir="rtl"] .sayfa-body-content ol {
    padding-left: 0;
    padding-right: 1.5rem;
}

.sayfa-body-content ol li {
    margin-bottom: 0.65rem;
    line-height: 1.75;
}

.sayfa-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.75rem 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.sayfa-body-content blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--main-600, #735CFC);
    padding: 20px 24px;
    border-radius: 8px;
    margin: 1.75rem 0;
    font-style: italic;
    color: #334155;
}

html[dir="rtl"] .sayfa-body-content blockquote {
    border-left: none;
    border-right: 4px solid var(--main-600, #735CFC);
}

/* --- Share & Copy Bar --- */
.sayfa-share-wrapper {
    margin-top: 45px;
    padding-top: 28px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sayfa-share-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sayfa-share-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sayfa-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sayfa-share-btn:hover {
    background: var(--main-600, #735CFC);
    color: #ffffff;
    transform: translateY(-2px);
}

.sayfa-copy-box {
    position: relative;
    max-width: 380px;
    width: 100%;
}

.sayfa-copy-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 8px 45px 8px 18px;
    font-size: 0.8125rem;
    color: #64748b;
    outline: none;
}

html[dir="rtl"] .sayfa-copy-input {
    padding: 8px 18px 8px 45px;
}

.sayfa-copy-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--main-600, #735CFC);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

html[dir="rtl"] .sayfa-copy-btn {
    right: auto;
    left: 12px;
}

/* --- Sidebar Modern Widgets --- */
.sayfa-sidebar {
    position: sticky;
    top: 100px;
}

.sayfa-widget {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.02);
    margin-bottom: 24px;
}

.sayfa-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.sayfa-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-column: column;
    gap: 8px;
}

.sayfa-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    color: #475569;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.sayfa-nav-link:hover,
.sayfa-nav-link.active {
    background: #ffffff;
    color: var(--main-600, #735CFC);
    border-color: rgba(115, 92, 252, 0.2);
    box-shadow: 0 4px 15px rgba(115, 92, 252, 0.06);
    transform: translateX(4px);
}

html[dir="rtl"] .sayfa-nav-link:hover,
html[dir="rtl"] .sayfa-nav-link.active {
    transform: translateX(-4px);
}

.sayfa-nav-link .icon {
    color: var(--main-600, #735CFC);
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.sayfa-nav-link:hover .icon {
    transform: translateX(3px);
}

html[dir="rtl"] .sayfa-nav-link:hover .icon {
    transform: translateX(-3px);
}

/* --- Support & Hotline Card --- */
.sayfa-support-card {
    background: linear-gradient(135deg, #181423 0%, #2A2142 100%);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(24, 20, 35, 0.15);
}

.sayfa-support-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 18px auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sayfa-support-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sayfa-support-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 22px;
    line-height: 1.6;
}

.sayfa-support-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #ffffff;
    color: #0f172a;
    padding: 12px 18px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.sayfa-support-phone-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    color: var(--main-600, #735CFC);
}

.sayfa-support-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--main-600, #735CFC);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sayfa-support-cta-btn:hover {
    background: #5d45eb;
    color: #ffffff;
}

/* --- Print Standards Card --- */
.sayfa-standards-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sayfa-standard-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sayfa-standard-bullet {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--main-600, #735CFC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sayfa-standard-text h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.sayfa-standard-text p {
    font-size: 0.775rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
