.founder-section {
    width: 100%;
    padding: 60px 0;
    background-color: #000000;
}

.founder-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.founder-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.separator-rect {
    width: 60px;
    height: 1px;
    background-color: #ffffff;
}

.founder-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 0;
}

.founder-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.founder-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
    /* Center the content block */
}

.founder-image-container {
    width: 545px;
    height: 420px;
    /* Increased from 356px */
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.founder-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-text-frame {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Reduced gap to ensure fit */
    max-width: 557px;
    height: 420px;
    /* Increased from 356px */
    /* Match image height */
    position: relative;
    padding-bottom: 50px;
}

.founder-who-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    margin: 0;
}

.founder-desc {
    font-family: 'Inter', sans-serif;
    /* Assuming Inter based on context */
    font-size: 16px;
    line-height: 1.5;
    color: #D0D1CF;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 11;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 30px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

.btn-about:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Responsive adjustments for Founder Section */
@media (max-width: 1200px) {
    .founder-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .founder-text-frame {
        max-width: 100%;
        text-align: center;
        align-items: center;
        height: auto;
        /* Allow text to expand container */
        padding-bottom: 0;
        /* Remove padding reserved for absolute button */
    }

    .btn-about {
        position: static;
        /* Flow naturally after text */
        margin-top: 30px;
        /* Space between text and button */
    }
}

@media (max-width: 768px) {
    .founder-name {
        font-size: 32px;
    }

    .founder-image-container {
        width: 100%;
        height: auto;
        aspect-ratio: 545 / 356;
    }
}

/* Blog Section */
.blog-section {
    width: 100%;
    padding: 60px 0;
    background-color: #000000;
}

.blog-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0;
}

.blog-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 438px;
}

.blog-img-container {
    width: 100%;
    height: 298.53px;
    border-radius: 14px;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Reverted to cover */
    object-position: top;
    /* Prioritize top part */
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.05);
}

.blog-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #D0D1CF;
}

.blog-author {
    font-weight: 600;
    color: #ffffff;
}

.blog-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.blog-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #d1d0cf;
    line-height: 1.4;
    margin: 0;
}

.blog-read-more {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    text-decoration: underline;
    margin-top: auto;
}

/* Responsive adjustments for Blog Section */
@media (max-width: 1200px) {
    .blog-grid {
        flex-direction: column;
        align-items: center;
    }

    .blog-card {
        width: 100%;
        max-width: 438px;
    }
}

/* Books Section */
.books-section {
    width: 100%;
    padding: 60px 0;
    background-color: #000000;
}

.books-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1600px;
    margin: 0 auto;
}

.book-card {
    display: flex;
    gap: 32px;
    align-items: center;
    /* Vertically center content */
}

.book-left {
    display: flex;
    gap: 13px;
    flex-shrink: 0;
}

.book-img {
    width: 241px;
    height: 374px;
    border-radius: 13px;
    object-fit: cover;
}

.book-separator-line {
    width: 6px;
    height: 374px;
    background-color: #e50815;
    border-radius: 3px;
}

.book-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 438px;
}

.book-author {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.book-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.book-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #d1d0cf;
    line-height: 1.5;
    margin: 0;
}

.book-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 40px;
    /* Increased padding for wider button */
    min-width: 140px;
    /* Ensure minimum width */
    background-color: #e50815;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-buy:hover {
    background-color: #b30610;
    color: #ffffff;
}

.link-inspect {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.link-inspect:hover {
    color: #d1d0cf;
}

/* Responsive adjustments for Books Section */
@media (max-width: 1200px) {
    .books-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .book-card {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .book-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .book-left {
        flex-direction: column;
        align-items: center;
    }

    .book-separator-line {
        width: 100px;
        height: 6px;
        /* Horizontal on mobile */
    }

    .book-actions {
        justify-content: center;
    }
}

/* ======================================
   NOTIFICATION BADGE (Header Bell Icon)
   ====================================== */
.notif-unread-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #09090b;
    animation: notif-pulse 1.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes notif-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    60%  { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Auth buttons in the header: "header .navbar ul li a:hover" (streamit.min.css)
   forces text color to red on hover, overriding Bootstrap's own hover-color
   for .btn — that made "Kayıt Ol" show red text on its red background. */
header .navbar .nav-item a.btn:hover {
    color: var(--bs-btn-hover-color);
}

header .navbar .nav-item a.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}