header {
    border-bottom: 1px solid #dddddd;
}


.header-middle {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.menu li {
    position: relative;
    padding: 0 15px;
}

    .menu li::after {
        content: "";
        position: absolute;
        right: 0;
        top: 30%;
        height: 40%;
        width: 2px;
        background-color: #ccc;
    }

    .menu li:last-child::after {
        display: none; /* son li için çizgi eklenmesin */
    }

.main-nav .menu > li > a {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem;
}

.button-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-login {
    background: none;
    border: none;
    color: #1b1c1c;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-login .login-icon {
        font-size: 22px;
        color: #b1b3b6;
    }

.btn-txt-none {
    text-transform: none;
}

    .btn-txt-none > i {
        font-size: 20px;
    }


/* Counter Section*/

.stats-section {
    min-height: 600px;
    display: flex;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: end;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    background: #ffffff;
    background-image: url(/images/counter/bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

    .stats-section .stats {
        margin-top: 150px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: end;
    }

.stats .stats-1 {
    background-image: url(/images/counter/1.svg);
}

.stats .stats-2 {
    background-image: url(/images/counter/2.svg);
}

.stats .stats-3 {
    background-image: url(/images/counter/3.svg);
}

.stats .stats-4 {
    background-image: url(/images/counter/4.svg);
}

.stat-box {
    background: transparent;
    border-radius: 12px;
    width: 300px;
    height: 300px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 20px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .stat-box .count {
        font-size: 6rem;
        font-weight: bold;
    }

    .stat-box .label {
        font-size: 3rem;
        margin-top: 5px;
        color: black;
        font-weight: 600;
    }

.orange .count {
    color: #ffa300;
}

.green .count {
    color: #4caf50;
}

.darkblue .count {
    color: #006d77;
}

.blue .count {
    color: #2196f3;
}


@media (max-width: 768px) {
    .stats-section {
        min-height: auto;
        padding: 20px 10px;
        gap: 20px;
        background-position: top center;
    }

        .stats-section .stats {
            margin-top: 70px;
        }

    .stat-box {
        width: 200px;
        height: 200px;
        height: auto;
        aspect-ratio: 1 / 1; /* Kare şekli korumak için */
        padding: 20px;
        background-size: 80%; /* Mobilde daha küçük arka plan */
    }

        .stat-box .count {
            font-size: 3rem;
        }

        .stat-box .label {
            font-size: 1.5rem;
        }
}


.about-section {
    display: flex;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    width: 100%;
    background-image: url('/images/aboutus/aboutus.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: white;
}

.about-container {
    display: flex;
    height: 600px;
    width: 100%;
    position: relative;
    justify-content: end;
}

.about-right-side {
    width: 55%;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.about-us-text {
    margin-top: 2rem;
}

.about-us-logo {
    width: 350px;
    height: auto;
}

.about-section p {
    font-size: 1.8rem;
}

@media (min-width: 769px) and (max-width: 1720px) {
    .about-us-text {
        margin-left: 20%;
    }

        .about-us-text p {
            font-size: 1.4rem;
        }

    .about-us-logo {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .about-section {
        background-image: none;
    }

    .about-container {
        justify-content: center;
        height: auto; /* opsiyonel: içerik kadar yükseklik olsun diye */
        padding: 1rem; /* içeriğin kenarlara yapışmaması için */
    }

    .about-right-side {
        width: 100%;
        padding: 1rem;
        align-items: center;
    }

    .about-us-text {
        margin-top: 1rem;
        text-align: center;
    }

    .about-us-logo {
        width: 250px;
    }

    .about-section p {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 2rem;
    }
}


/*owl */

.first-section {
    background: white;
    margin-top: 5rem;
}

.home-slider {
    position: relative;
}

.home-slide {
    display: flex;
    justify-content: center;
    padding: 0px !important;
}

.grade-box {
    width: 300px;
    height: 300px;
    padding: 0px !important;
    background-color: transparent;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.box-1 {
    background-image: url(/images/slides/2.png);
}

.box-2 {
    background-image: url(/images/slides/3.png);
}

.box-3 {
    background-image: url(/images/slides/4.png);
}

.box-4 {
    background-image: url(/images/slides/5.png);
}

.box-5 {
    background-image: url(/images/slides/6.png);
}

.box-6 {
    background-image: url(/images/slides/7.png);
}

.box-7 {
    background-image: url(/images/slides/8.png);
}

.grade-box::before,
.grade-box::after {
    box-sizing: border-box;
}

.grade-title {
    font-size: 24px;
    font-weight: bold;
    color: #4a4a4a;
}


.bg-blue {
    background-color: #cce9fc;
}

.bg-pink {
    background-color: #fcd5d5;
}

.bg-green {
    background-color: #d7f5c9;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-nav button {
    background: #5e0883 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 22px !important;
    border: none !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.2s !important;
}

    .owl-nav button:hover {
        transform: scale(1) !important;
    }

.home-slider .owl-stage-outer {
    position: relative !important;
    overflow: hidden !important;
}


/* News Letter Section */

.newsletter-section {
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    background-image: url(/images/newsletter/news.png);
    background-color: #e4e4e4 !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

    .newsletter-section h2 {
        font-size: 2rem;
        margin-bottom: 25px !important;
    }

.newsletter-form .btn {
    background: #e31a22;
}

.book-slide-container {
    background-image: url(/images/book-slider/bg.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.top-bar-social-image {
    height: 30px;
    margin: 5px;
}

.user-menu {
    font-size: 14px;
    font-weight: bold;
}



/*/Yayınlarımız*/
.our-publish-section {
    background-color: white;
    margin-bottom: 5rem;
}

.publish-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.publish-logo {
    height: 150px;
    transform: rotate(10deg);
}

.publish-title {
    background: linear-gradient(to right, #002f6c, #005aa7);
    color: white;
    padding: 21px 250px;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 15px;
    clip-path: polygon(0 0, 10% 50%, 0 100%, 100% 100%, 100% 0);
}

.grades {
    margin-top: 40px;
}

    .grades h1 {
        background: linear-gradient(to right, #002f6c, #005aa7);
        color: white;
        padding: 20px;
        letter-spacing: 10px;
        font-size: 24px;
    }

.grade-box {
    width: 250px;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    transition: transform 0.2s;
}

    .grade-box:hover {
        transform: scale(1.05);
        cursor: pointer;
    }

.grades-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 40px;
}

/* Background image'ler burada tanımlı */
.grade-2 {
    background-image: url(/images/publishes/grade-2.png);
}

.grade-3 {
    background-image: url(/images/publishes/grade-3.png);
}

.grade-4 {
    background-image: url(/images/publishes/grade-4.png);
}

.grade-5 {
    background-image: url(/images/publishes/grade-5.png);
}

.grade-6 {
    background-image: url(/images/publishes/grade-6.png);
}

.grade-7 {
    background-image: url(/images/publishes/grade-7.png);
}

.grade-8 {
    background-image: url(/images/publishes/grade-8.png);
}

@media (max-width: 768px) {
    .publish-header {
        flex-direction: column;
    }

    .publish-logo {
        height: 70px;
    }

    .publish-title {
        clip-path: none;
        font-size: 24px;
        letter-spacing: 8px;
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .grade-box {
        width: 175px;
        height: 175px;
    }
}


/*booklist*/

/* Book Card CSS for Smart English Book List */

.books-display-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

    .books-display-container .book-item {
        transition: all 0.3s ease;
        margin-bottom: 20px;
        padding: 30px;
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgb(101 93 93 / 29%);
    }

        .books-display-container .book-item:hover {
            transform: translateY(-5px);
        }

    .books-display-container .book-container {
        display: flex;
        align-items: center;
        justify-content: center;
        perspective: 500px;
        margin-bottom: 15px;
        cursor: pointer;
    }

    .books-display-container .book-details {
        margin-top: 3rem;
        text-align: center;
        width: 225px;
        padding: 0 10px;
    }

    .books-display-container .book-title {
        font-weight: 600;
        font-size: 18px;
        margin-bottom: 5px;
        color: #333;
        transition: color 0.3s ease;
    }

    .books-display-container .book-item:hover .book-title {
        color: #0066cc;
    }

    .books-display-container .book-features {
        list-style: none;
        padding: 0;
        margin: 0;
        margin-top: auto;
        border-top: 1px solid #f0f0f0;
        padding-top: 15px;
    }

        .books-display-container .book-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #444;
            font-size: 14px;
            margin-bottom: 10px;
            padding-left: 5px;
        }


    .books-display-container .book-info {
        font-size: 14px;
        color: #666;
        margin-bottom: 8px;
    }

    .books-display-container .book-price {
        font-weight: 700;
        color: #0066cc;
        font-size: 16px;
        margin-bottom: 8px;
    }

@keyframes initAnimation {
    0% {
        transform: rotateY(-30deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

.books-display-container .book {
    width: 225px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: 0.5s ease;
    animation: 1s ease 0s 1 initAnimation;
}

.books-display-container .book-container:hover .book,
.books-display-container .book-container:focus .book {
    transform: rotateY(-30deg);
}

.books-display-container .book > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 225px;
    height: 300px;
    transform: translateZ(25px);
    background-color: #01060f;
    border-radius: 0 0px 0px 0;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.books-display-container .book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.books-display-container .book::before {
    position: absolute;
    content: ' ';
    left: 0;
    top: 7px;
    width: 48px;
    height: 286px;
    transform: translateX(193px) rotateY(90deg);
    background: linear-gradient(90deg, #fff 0%, #f9f9f9 5%, #fff 10%, #f9f9f9 15%, #fff 20%, #f9f9f9 25%, #fff 30%, #f9f9f9 35%, #fff 40%, #f9f9f9 45%, #fff 50%, #f9f9f9 55%, #fff 60%, #f9f9f9 65%, #fff 70%, #f9f9f9 75%, #fff 80%, #f9f9f9 85%, #fff 90%, #f9f9f9 95%, #fff 100% );
}

.books-display-container .book::after {
    position: absolute;
    top: 0;
    left: 0;
    content: ' ';
    width: 225px;
    height: 300px;
    transform: translateZ(-25px);
    background-color: #01060f;
    border-radius: 0 0px 0px 0;
    box-shadow: -10px 0 50px 10px rgb(181 178 178 / 40%);
}

/* Book list page styling */
.books-page-title {
    text-align: center;
    margin: 40px 0 20px;
    color: #333;
    font-size: 32px;
    font-weight: 600;
}

.books-page-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.books-display-container .book-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: #0066cc;
    color: white;
    font-size: 12px;
    border-radius: 20px;
    margin-top: 8px;
}

.books-display-container .book-button {
    display: inline-block;
    margin-top: 10px;
    width: 100%;
    padding: 8px 15px;
    background-color: #291e6b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .books-display-container .book-button:hover {
        background-color: #0052a3;
    }

/* Book Details Overlay */
.books-display-container .book-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .books-display-container .book-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.books-display-container .book-overlay-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .books-display-container .book-overlay-content {
        flex-direction: row;
    }
}

.books-display-container .book-overlay-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

    .books-display-container .book-overlay-close:hover {
        background-color: #e0e0e0;
    }

.books-display-container .book-overlay-image {
    flex: 0 0 250px;
    margin-right: 0;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .books-display-container .book-overlay-image {
        margin-right: 30px;
        margin-bottom: 0;
    }
}

.books-display-container .book-overlay-cover {
    width: 100%;
    max-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.books-display-container .book-overlay-info {
    flex: 1;
}

.books-display-container .book-overlay-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.books-display-container .book-overlay-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.books-display-container .book-overlay-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.books-display-container .book-overlay-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.books-display-container .book-overlay-meta-item {
    margin-right: 30px;
    margin-bottom: 10px;
}

.books-display-container .book-overlay-meta-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.books-display-container .book-overlay-meta-value {
    font-weight: 600;
    color: #333;
}

.books-display-container .book-overlay-price {
    font-size: 22px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 20px;
}

.books-display-container .book-overlay-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .books-display-container .book-overlay-button:hover {
        background-color: #0052a3;
    }


.sectiontitle {
    background: #f3f6f9;
}

.btn-outline {
    color: #1b1b1b;
}

.btn-rounded {
    border-radius: 7px;
}

.btn-ellipse {
    border-radius: 2rem;
}

.btn-xs {
    padding: 0.2em 0.5em;
    font-size: 1.1rem;
}

.min-vh-75 {
    min-height: 75vh;
}

.min-vh-100 {
    min-height: 100vh;
}
