/* ============================================================
   BS YAYINCILIK — BÖLÜM STİLLERİ
   Tüm sayfa bölümleri için class tabanlı stiller
   ============================================================ */

/* ============================================================
   KATEGORİ METİN LİSTESİ (Hero Altı)
   ============================================================ */
.cat-text-bar {
    background: var(--bg-main);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.cat-text-marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.cat-text-marquee-content {
    display: inline-flex;
    gap: 80px;
    animation: marquee 25s linear infinite;
    align-items: center;
}

.cat-text-marquee-content:hover {
    animation-play-state: paused;
}

.cat-text-link {
    color: var(--text-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cat-text-link:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.cat-text-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.cat-text-link:hover .cat-text-icon {
    transform: rotate(15deg) scale(1.1);
}


/* ============================================================
   YUVARLAK KATEGORİ CAROUSEL
   ============================================================ */
.circle-cat-section {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.circle-cat-inner {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.circle-cat-side-box {
    width: 100px;
    flex-shrink: 0;
    background-color: var(--primary);
    border-top: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.circle-cat-side-box--left {
    border-right: 1px solid var(--text-dark);
}

.circle-cat-side-box--right {
    border-left: 1px solid var(--text-dark);
}

.circle-cat-animal-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.circle-cat-side-box:hover .circle-cat-animal-img {
    transform: scale(1.15) rotate(8deg);
}

.circle-cat-track {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    flex-grow: 1;
    padding: 0;
    flex-wrap: nowrap;
    border-top: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
}

.circle-cat-item {
    flex: 1;
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 15px;
    text-align: center;
    border-right: 1px solid var(--text-dark);
    transition: background-color 0.3s ease;
    background: transparent;
}

.circle-cat-item:last-child {
    border-right: none;
}

.circle-cat-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.circle-cat-img-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.circle-cat-item:hover .circle-cat-img-wrap {
    transform: scale(1.08);
}

.circle-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-cat-label {
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: black;
}

/* ============================================================
   SHOP BY AGE BÖLÜMÜ
   ============================================================ */
.yazarlar-section {
    padding: 80px 0;
    background: var(--bg-main);
    text-align: center;
    position: relative;
}

.age-deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.age-deco--right {
    top: 10%;
    right: 10%;
}

.age-deco--left {
    top: 10%;
    left: 10%;
}

.age-deco--center {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.age-deco-icon {
    font-size: 4rem;
}

.age-deco-icon--sm {
    font-size: 3rem;
}

.age-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-top: 30px;
}

.age-subtitle {
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.age-filter-bar {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.age-filter-btn {
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.age-filter-btn--active {
    border: none;
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.age-filter-btn--active:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.age-filter-btn--inactive {
    border: 2px dashed var(--text-dark);
    background: transparent;
    color: var(--text-dark);
}

.age-filter-btn--inactive:hover {
    transform: scale(1.05);
    background: var(--primary-pale);
    border-style: solid;
}

/* Ürün Grid - 4 column */
.products-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* Ana sayfa ürün kartı (dashed border variant) */
.product-card-alt {
    background: white;
    border: 2px dashed var(--text-dark);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card-alt:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

.product-card-alt .product-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    margin-bottom: 15px;
    width: 100%;
}

.product-card-alt .product-card-img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card-alt:hover .product-card-img {
    transform: scale(1.05);
}

.product-card-alt .product-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-card-alt .product-card-cat {
    color: var(--text-light);
    font-size: 0.7rem;
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-card-alt .product-card-name {
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 900;
    font-family: var(--font-heading);
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-alt .product-card-name a {
    color: var(--text-dark);
    text-decoration: none;
}

.product-card-alt .product-card-price {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.1rem;
}

/* Ana sayfa ürün kartı - küçük */
.product-card-alt-sm .product-card-link {
    height: 130px;
}

.product-card-alt-sm .product-card-img {
    max-height: 120px;
}

.product-card-alt-sm .product-card-cat {
    font-size: 0.65rem;
}

.product-card-alt-sm .product-card-name {
    font-size: 1rem;
}

.product-card-alt-sm .product-card-price {
    font-size: 0.95rem;
}

/* ============================================================
   TOP SELLING BANNERS
   ============================================================ */
.hero-section {
    position: relative;
    background: var(--primary);
    overflow: hidden;
    height: 100vh;
}

.hero-section .bs-btn {
    background-color: white;
    color: var(--primary);
}

.hero-section .bs-btn:hover {
    background-color: var(--secondary);
    color: var(--text-dark);
}

/* ============================================================
   TRUST BADGES
   ============================================================ */

.trust-section {
    padding: 0;
    background: transparent;
}

.trust-section-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.trust-inner {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    box-shadow: none;
    gap: 0;
    border-top: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
}

.trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    border-right: 1px solid var(--text-dark);
    transition: transform 0.3s ease;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    transform: none;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.5s ease;
}

.trust-item:hover .trust-icon {
    transform: rotate(360deg);
}

.trust-svg {
    transition: stroke 0.3s ease;
}

.trust-icon--green {
    color: var(--pastel-green-dark);
}

.trust-icon--yellow {
    color: var(--accent-dark);
}

.trust-icon--pink {
    color: var(--pastel-pink-dark);
}

.trust-icon--blue {
    color: var(--pastel-blue);
}

.trust-label {
    display: block;
    color: var(--text-dark);
    font-weight: 900;
    font-family: var(--font-heading);
}

.trust-desc {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ============================================================
   FEATURED BOOKS
   ============================================================ */

/* ============================================================
   LEFT IMAGE & CATEGORY LIST
   ============================================================ */
.populer-section {
    background: var(--bg-main);
    padding-bottom: 80px;
}

.populer-section .container-fluid {
    padding-right: 0;
}

.populer-inner {
    display: flex;
    background: transparent;
    align-items: stretch;
    position: relative;
}

.populer-image-wrap {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.populer-image-wrap:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

.populer-image {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.populer-list-wrap {
    flex: 2.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-right: 15px;
    /* Leave space for absolute preview image */
}

.populer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.populer-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--text-dark);
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.populer-list-item:last-child {
    border-bottom: none;
}

.populer-list-item--active {
    color: var(--primary);
    background-color: rgba(0, 0, 0, 0.02);
}

.populer-list-item:hover {
    color: var(--primary);
    background-color: rgba(0, 0, 0, 0.04);
}

.populer-list-icon {
    font-size: 2rem;
}

.populer-list-text {
    position: relative;
}

/* Hover Preview Wrap */
.populer-preview-wrap {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.populer-preview-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transform-origin: center center;
    border-radius: 20px;
}

/* ============================================================
   APP DOWNLOAD BANNER
   ============================================================ */
.app-section {
    background-color: var(--pastel-blue);
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.app-wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: var(--secondary-light);
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
}

.app-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.app-content {
    flex: 1;
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
}

.app-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 900;
    max-width: 450px;
    line-height: 1.1;
}

.app-desc {
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    max-width: 380px;
    color: var(--text-dark);
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    background: var(--text-dark);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.app-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.app-btn-icon {
    font-size: 1.2rem;
}

.app-image-wrap {
    flex: 1;
    text-align: right;
    position: relative;
}

.app-image {
    max-width: 100%;
    border-radius: 50% 50% 0 0;
}

.app-image-anim {
    animation: float 8s ease-in-out infinite;
    display: inline-block;
    position: relative;
    top: 20px;
}



/* ============================================================
   BLOG & ARTICLES
   ============================================================ */
.blog-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.blog-section .container-fluid {
    padding: 0;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding: 0 40px;
}

.blog-section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    margin: 0;
}

.blog-layout {
    display: flex;
    align-items: stretch;
    border-top: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    border-right: 1px solid var(--text-dark);
}

/* Sol Afiş */
.blog-featured-card {
    flex: 1;
    padding: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-content {
    position: relative;
    z-index: 2;
}

.blog-featured-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid var(--text-dark);
}

.blog-featured-heading {
    font-size: 4rem;
    font-family: 'Brush Script MT', cursive;
    margin-bottom: 10px;
    line-height: 1;
}

.blog-featured-sub {
    font-size: 2rem;
    font-weight: 900;
    color: var(--star-yellow);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.blog-featured-footer {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.5rem;
}

/* Sağ Liste */
.blog-list {
    flex: 2;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--text-dark);
}

.blog-list-item {
    display: flex;
    align-items: stretch;
    padding: 40px;
    transition: transform 0.3s ease;
    flex: 1;
}

.blog-list-item:not(:last-child) {
    border-bottom: 1px solid var(--text-dark);
}

.blog-list-img-wrap {
    position: relative;
    width: 250px;
    flex-shrink: 0;
}

.blog-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.blog-list-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 900;
    border: 2px dashed var(--text-dark);
}

.blog-list-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    padding-left: 40px;
}

.blog-list-title {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.3;
}

.blog-list-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-list-excerpt {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.d-flex {
    display: flex;
}

.d-flex-gap15 {
    display: flex;
    gap: 15px;
    align-items: center;
}

.d-flex-end-gap10 {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.d-flex-col-gap8 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anim-dur-7s {
    animation-duration: 7s;
}

.anim-dur-5s {
    animation-duration: 5s;
}

.anim-del-1s {
    animation-delay: 1s;
}

.anim-del-15 {
    animation-delay: 1.5s;
}

.fs-4rem {
    font-size: 4rem;
}

.fs-2rem-accent {
    font-size: 2rem;
    color: var(--accent);
}

.mt-n20 {
    margin-top: -20px;
}

.ml-25 {
    margin-left: 25px;
}

.text-accent {
    color: var(--accent);
}

/* ============================================================
   TOY PRODUCTS GRID (Görseldeki Tasarım)
   ============================================================ */
/* ============================================================
   HOME PRODUCTS GRID (Standard Class Names)
   ============================================================ */
.home-products-section {
    /* light cream page background */
    padding: 80px 0;
    /* black border */
}

.home-products-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.home-products-title {
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-weight: 900;
}

.home-products-subtitle {
    color: #555555;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.home-products-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.home-products-side-box {
    width: 30px;
    flex-shrink: 0;
    background-color: var(--bs-blue);
    /* bright blue side box */
    border-top: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
}

.home-products-side-box--left {
    border-right: 1px solid var(--text-dark);
}

.home-products-side-box--right {
    border-left: 1px solid var(--text-dark);
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 5 columns */
    border-top: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    border-left: 1px solid var(--text-dark);
    flex-grow: 1;
}

.home-product-card-wrapper {
    border-right: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    padding: 40px;
    display: flex;
    flex-direction: column;
    background: var(--bg-main-dark);
}

.home-product-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
    border: 2px dashed var(--text-dark);
    border-radius: 15px;
}

.home-product-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px;
}

.home-product-card:hover .home-product-img {
    transform: scale(1.05);
}

.home-product-divider {
    border-bottom: 2px dashed var(--text-dark);
    /* black dashed divider line */
}

.home-product-card:hover .home-product-divider,
.home-product-card.active-card .home-product-divider {
    border-bottom-color: #7A5C9E;
}

.home-product-content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 10px;
}

.home-product-category {
    font-size: 0.7rem;
    font-weight: 800;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.home-product-title {
    font-size: 1.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: #111111;
    margin: 0 0 10px 0;
}

.home-product-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: #6C5292;
    margin-bottom: 15px;
    display: block;
}