/**

* Askolsun İlişki Akademisi - Ana Stil Dosyası

* Kırmızı Tema

*/

/* ===== Variables ===== */

:root {

    --primary-color: #dc2626;      /* Kırmızı */

    --primary-hover: #b91c1c;      /* Koyu kırmızı */

    --primary-light: #fef2f2;      /* Açık kırmızı arka plan */

    --primary-dark: #991b1b;       /* Çok koyu kırmızı */

    --secondary-color: #64748b;

    --success-color: #10b981;

    --danger-color: #ef4444;

    --warning-color: #f59e0b;

    --info-color: #3b82f6;

    --light-color: #f8fafc;

    --dark-color: #1e293b;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition: all 0.3s ease;

    --shadow-sm: 0 1px 2px 0 rgba(220, 38, 38, 0.05);

    --shadow: 0 1px 3px 0 rgba(220, 38, 38, 0.1), 0 1px 2px 0 rgba(220, 38, 38, 0.06);

    --shadow-md: 0 4px 6px -1px rgba(220, 38, 38, 0.1), 0 2px 4px -1px rgba(220, 38, 38, 0.06);

    --shadow-lg: 0 10px 15px -3px rgba(220, 38, 38, 0.1), 0 4px 6px -2px rgba(220, 38, 38, 0.05);

    --shadow-xl: 0 20px 25px -5px rgba(220, 38, 38, 0.1), 0 10px 10px -5px rgba(220, 38, 38, 0.04);

}



/* ===== Base Styles ===== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



/* Utility Classes */

.cursor-pointer {

    cursor: pointer !important;

}



/* Icon hover düzeltmesi */

a i.bi:hover,

a:hover i.bi {

    color: inherit !important;

}



/* Link içindeki iconlar için */

a.text-white i.bi,

a.text-white:hover i.bi {

    color: white !important;

}



a.text-primary i.bi,

a.text-primary:hover i.bi {

    color: var(--primary-color) !important;

}



/* Dashboard kartlarındaki iconlar */

.bg-primary.bg-opacity-10 i.bi {

    color: var(--primary-color) !important;

}



.bg-success.bg-opacity-10 i.bi {

    color: #198754 !important;

}



.bg-info.bg-opacity-10 i.bi {

    color: #0dcaf0 !important;

}



.bg-warning.bg-opacity-10 i.bi {

    color: #ffc107 !important;

}



/* Kırmızı arka planda beyaz icon */

.bg-primary i.bi.text-white,

.btn-primary i.bi {

    color: white !important;

}



/* Badge içindeki metinler */

.badge {

    font-weight: 500;

}



/* Yaklaşan randevular kartı için özel stil */

.card .bg-opacity-10 {

    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;

}



/* Icon container'ları için sabit boyut */

.bg-opacity-10.p-3.rounded {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

}



body {

    font-family: var(--font-family);

    font-size: 16px;

    line-height: 1.6;

    color: var(--dark-color);

    background-color: #ffffff;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    padding-top: 0 !important;

}



h1, h2, h3, h4, h5, h6 {

    font-weight: 600;

    line-height: 1.2;

    margin-bottom: 1rem;

}



a {

    color: var(--primary-color);

    text-decoration: none;

    transition: var(--transition);

}



a:hover {

    color: var(--primary-hover);

}



img {

    max-width: 100%;

    height: auto;

}



/* ===== Utilities ===== */

.text-primary {

    color: var(--primary-color) !important;

}



.bg-primary {

    background-color: var(--primary-color) !important;

}



.btn {

    font-weight: 500;

    padding: 0.625rem 1.25rem;

    border-radius: 0.5rem;

    transition: var(--transition);

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

}



.btn-primary {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

    color: white;

}



.btn-primary:hover {

    background-color: var(--primary-hover);

    border-color: var(--primary-hover);

    transform: translateY(-2px);

    box-shadow: var(--shadow-md);

}



.btn-outline-primary {

    color: var(--primary-color);

    border-color: var(--primary-color);

}



.btn-outline-primary:hover {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

    color: white;

}



/* Detaylı Bilgi Butonu */

.btn-detail {

    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);

    color: white;

    border: none;

    padding: 0.5rem 1.25rem;

    border-radius: 2rem;

    font-weight: 500;

    font-size: 0.875rem;

    transition: all 0.3s ease;

    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);

    position: relative;

    overflow: hidden;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

}



.btn-detail:before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);

    transition: left 0.5s;

}



.btn-detail:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);

    color: white;

    background-color: var(--primary-hover);

}



.btn-detail:hover:before {

    left: 100%;

}



.btn-detail i {

    margin-right: 0.375rem;

}



/* Link stilinde detaylı bilgi */

.btn-link-detail {

    color: var(--primary-color);

    text-decoration: none;

    font-weight: 500;

    position: relative;

    padding-bottom: 2px;

    transition: all 0.3s ease;

}



.btn-link-detail:after {

    content: '→';

    margin-left: 0.25rem;

    transition: margin-left 0.3s ease;

}



.btn-link-detail:hover {

    color: var(--primary-hover);

}



.btn-link-detail:hover:after {

    margin-left: 0.5rem;

}



/* ===== Header Styles ===== */

.top-bar {

    min-height: 40px;

}



.navbar {

    background-color: white;

    box-shadow: var(--shadow);

    padding: 0.5rem 0;

    position: relative !important;

}



.navbar-brand {

    font-size: 1.5rem;

    font-weight: 700;

}



.navbar-brand .text-primary {

    color: var(--primary-color) !important;

}



.navbar-nav .nav-link {

    font-weight: 500;

    padding: 0.5rem 1rem;

    color: var(--dark-color);

    position: relative;

}



.navbar-nav .nav-link:hover {

    color: var(--primary-color);

}



.navbar-nav .nav-link.active {

    color: var(--primary-color);

}



.navbar-nav .nav-link.active::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 1rem;

    right: 1rem;

    height: 2px;

    background-color: var(--primary-color);

}



/* ===== Hero Section ===== */

.hero-section {

    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);

    padding: 20px 0;

    margin-top: 0 !important;

}



.hero-section .container {

    padding-top: 0 !important;

}



.hero-section .row {

    min-height: 200px !important;

}



.hero-section .row.min-vh-100,

.hero-section .row.align-items-center {

    min-height: 200px !important;

}



/* Hero image container */

.hero-image {

    max-width: 400px;

    margin: 0 auto;

}



.hero-image img {

    width: 100%;

    height: 400px;

    object-fit: cover;

    box-shadow: var(--shadow-xl);

    border: 5px solid white;

    border-radius: 50% !important;

}



/* Header'dan hemen sonra gelen hero section için */

header + main > .hero-section:first-child {

    margin-top: -20px;

    padding-top: 40px;

}



@media (min-width: 992px) {

    .hero-section {

        padding: 40px 0;

    }

    

    .hero-section .row {

        min-height: 320px !important;

    }

}



/* Hero Section - Ekstra düzeltme */

main > .hero-section:first-child {

    margin-top: -30px !important;

    padding-top: 50px !important;

}



/* ===== Service Cards ===== */

.service-card {

    transition: var(--transition);

    border: 1px solid #e5e7eb;

    display: flex;

    flex-direction: column;

}



.service-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-lg);

    border-color: var(--primary-color);

}



.service-card > div.p-4 {

    display: flex;

    flex-direction: column;

    flex: 1;

}



.service-card h3 {

    margin-bottom: 1rem;

}



.service-card p {

    flex: 1;

    margin-bottom: 1.5rem;

}



.service-card .btn-detail {

    align-self: flex-start;

}



/* Service Placeholder Image */

.service-placeholder-img {

    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);

    height: 200px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

}



.service-placeholder-img::before {

    content: "Hizmet Görseli";

    color: #dc2626;

    font-size: 1.5rem;

    font-weight: 500;

    opacity: 0.3;

}



.service-placeholder-img::after {

    content: "";

    position: absolute;

    top: -50%;

    left: -50%;

    width: 200%;

    height: 200%;

    background: repeating-linear-gradient(

        45deg,

        transparent,

        transparent 10px,

        rgba(220, 38, 38, 0.05) 10px,

        rgba(220, 38, 38, 0.05) 20px

    );

}



.service-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--primary-light);

    border-radius: 12px;

}



.service-icon .text-primary {

    color: var(--primary-color) !important;

}



/* ===== Course Cards ===== */

.course-card {

    background-color: white;

    transition: var(--transition);

    border: 1px solid #e5e7eb;

    display: flex;

    flex-direction: column;

}



.course-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-lg);

    border-color: var(--primary-color);

}



.course-card > div.p-4 {

    display: flex;

    flex-direction: column;

    flex: 1;

}



.course-card h3 {

    margin-bottom: 0.5rem;

}



.course-card p {

    flex: 1;

}



.course-image {

    height: 200px;

    object-fit: cover;

}



.course-image-placeholder {

    height: 200px;

    background-color: var(--light-color);

}



/* ===== Blog Cards ===== */

.blog-card {

    background-color: white;

    transition: var(--transition);

    border: 1px solid #e5e7eb;

    display: flex;

    flex-direction: column;

}



.blog-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-lg);

    border-color: var(--primary-color);

}



.blog-card > div.p-4 {

    display: flex;

    flex-direction: column;

    flex: 1;

}



.blog-card h3 {

    margin-bottom: 0.5rem;

}



.blog-card p {

    flex: 1;

}



.blog-image {

    width: 100%;

    height: 250px;

    object-fit: cover;

}



.blog-image-placeholder {

    height: 250px;

    background-color: var(--light-color);

}



/* Blog detay sayfası için */

.blog-detail .post-image img {

    width: 100%;

    height: auto;

    max-height: 500px;

    object-fit: cover;

    border-radius: 8px;

}



/* Küçük resimler için (popüler yazılar, ilgili yazılar) */

.blog-thumb {

    width: 60px;

    height: 60px;

    object-fit: cover;

    border-radius: 4px;

}



/* ===== Test Items ===== */

.test-item {

    transition: var(--transition);

    border: 1px solid #e5e7eb;

}



.test-item:hover {

    transform: translateX(5px);

    box-shadow: var(--shadow-md);

    border-color: var(--primary-color);

}



.test-icon .text-primary {

    color: var(--primary-color) !important;

}



/* ===== Forms ===== */

.form-control,

.form-select {

    border: 1px solid #e5e7eb;

    border-radius: 0.5rem;

    padding: 0.75rem 1rem;

    font-size: 1rem;

    transition: var(--transition);

}



.form-control:focus,

.form-select:focus {

    border-color: var(--primary-color);

    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);

}



.form-label {

    font-weight: 500;

    margin-bottom: 0.5rem;

    color: var(--dark-color);

}



.form-check-input:checked {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

}



/* ===== Newsletter Form ===== */

.newsletter-form .input-group {

    max-width: 500px;

    margin: 0 auto;

}



.newsletter-form .form-control {

    border-top-right-radius: 0;

    border-bottom-right-radius: 0;

}



.newsletter-form .btn {

    border-top-left-radius: 0;

    border-bottom-left-radius: 0;

}



/* ===== Footer ===== */

footer {

    background-color: var(--dark-color);

}



footer a:hover {

    color: var(--primary-color) !important;

}



.social-links a {

    transition: var(--transition);

}



.social-links a:hover {

    transform: translateY(-3px);

    color: var(--primary-color) !important;

}



/* ===== WhatsApp Button ===== */

.whatsapp-button {

    position: fixed;

    bottom: 80px;

    right: 20px;

    width: 60px;

    height: 60px;

    background-color: #25d366;

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);

    transition: var(--transition);

    z-index: 999;

    text-decoration: none;

}



.whatsapp-button:hover {

    background-color: #128c7e;

    transform: scale(1.1);

    color: white;

}



.whatsapp-button i {

    margin: 0;

}



/* ===== Scroll to Top Button ===== */

#scrollToTop {

    position: fixed;

    bottom: 20px;

    right: 20px;

    width: 50px;

    height: 50px;

    background-color: var(--primary-color);

    color: white;

    border: none;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: var(--transition);

    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);

    z-index: 998;

    padding: 0;

}



#scrollToTop i {

    margin: 0 !important;

    padding: 0 !important;

    line-height: 1 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

}



#scrollToTop:hover {

    background-color: var(--primary-hover);

    transform: translateY(-3px);

}



#scrollToTop.show {

    opacity: 1;

    visibility: visible;

}



/* Bootstrap button override for scroll to top */

#scrollToTop.btn {

    padding: 0 !important;

}



/* ===== Alerts ===== */

.alert {

    border: none;

    border-radius: 0.5rem;

    padding: 1rem 1.25rem;

    font-weight: 500;

}



.alert-success {

    background-color: #d1fae5;

    color: #065f46;

}



.alert-danger {

    background-color: #fee2e2;

    color: #991b1b;

}



.alert-warning {

    background-color: #fef3c7;

    color: #92400e;

}



/* ===== Badges ===== */

.badge {

    font-weight: 500;

    padding: 0.375rem 0.75rem;

    border-radius: 0.375rem;

}



.badge.bg-primary {

    background-color: var(--primary-color) !important;

}



/* ===== Pagination ===== */

.pagination {

    gap: 0.25rem;

}



.page-link {

    border: 1px solid #e5e7eb;

    border-radius: 0.375rem;

    padding: 0.5rem 0.75rem;

    color: var(--dark-color);

    font-weight: 500;

}



.page-link:hover {

    background-color: var(--primary-light);

    border-color: var(--primary-color);

    color: var(--primary-color);

}



.page-item.active .page-link {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

}



/* ===== Breadcrumb ===== */

.breadcrumb {

    background-color: transparent;

    padding: 0;

    margin-bottom: 1.5rem;

}



.breadcrumb-item + .breadcrumb-item::before {

    content: "›";

    color: #9ca3af;

}



.breadcrumb a {

    color: var(--primary-color);

}



/* ===== Tables ===== */

.table {

    border-collapse: separate;

    border-spacing: 0;

}



.table thead th {

    background-color: var(--light-color);

    font-weight: 600;

    text-transform: uppercase;

    font-size: 0.875rem;

    letter-spacing: 0.05em;

    border-bottom: 2px solid #e5e7eb;

}



.table tbody tr:hover {

    background-color: #f9fafb;

}



/* ===== Cards ===== */

.card {

    border: 1px solid #e5e7eb;

    border-radius: 0.75rem;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

}



.card:hover {

    box-shadow: var(--shadow-md);

}



.card-header {

    background-color: var(--light-color);

    border-bottom: 1px solid #e5e7eb;

    font-weight: 600;

}



/* ===== Modal ===== */

.modal-content {

    border: none;

    border-radius: 0.75rem;

    box-shadow: var(--shadow-xl);

}



.modal-header {

    border-bottom: 1px solid #e5e7eb;

    padding: 1.5rem;

}



.modal-footer {

    border-top: 1px solid #e5e7eb;

    padding: 1.5rem;

}



/* ===== Loading Spinner ===== */

.spinner-border {

    width: 1.5rem;

    height: 1.5rem;

    border-width: 0.2rem;

}



.spinner-border.text-primary {

    color: var(--primary-color) !important;

}



/* ===== CTA Section ===== */

.cta-section {

    background-color: var(--primary-color) !important;

}



/* ===== Dropdown ===== */

.dropdown-item:hover {

    background-color: var(--primary-light);

    color: var(--primary-color);

}



.dropdown-item.active {

    background-color: var(--primary-color);

}



/* ===== Input Group ===== */

.input-group-text {

    background-color: var(--primary-light);

    border-color: #e5e7eb;

    color: var(--primary-color);

}



/* ===== Custom Classes ===== */

.text-danger {

    color: var(--primary-color) !important;

}



.border-primary {

    border-color: var(--primary-color) !important;

}



.bg-light {

    background-color: var(--light-color) !important;

}



/* ===== Responsive ===== */

/* Tablet ve küçük laptop ekranlar (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    /* Top bar responsive düzenlemesi */
    .top-bar .col-12.col-md-6 {
        text-align: center !important;
    }
    
    .top-bar .col-12.col-md-6:first-child {
        margin-bottom: 0.5rem;
    }
    
    /* Navbar brand boyutu */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    /* Navigation menü düzenlemesi */
    .navbar-nav {
        padding-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    /* Login butonları */
    .d-flex.align-items-center.ms-3 {
        justify-content: center;
        margin-top: 1rem;
        margin-left: 0 !important;
    }
    
    .d-flex.align-items-center.ms-3 .btn {
        margin: 0 0.25rem;
    }
}

/* Tüm mobil ve tablet ekranlar (991px ve altı) */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .whatsapp-button {
        bottom: 70px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    #scrollToTop {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section .row {
        min-height: auto !important;
    }
}


@media (max-width: 767px) {

    .hero-section {

        text-align: center;

        padding: 20px 0;

        padding: 40px 0;

    }

    

    .hero-image {

        margin-top: 2rem;

    }

    

    .hero-image img {

        max-width: 300px;

        height: 300px;

    }

    

    /* Hero başlık mobilde alt alta */

    .hero-section h1 {

        display: block;

    }

    

    .hero-section h1 span {

        display: block;

    }

    

    .display-4 {

        font-size: 2.5rem;

    }

    

    .display-5 {

        font-size: 2rem;

    }

}



/* ===== Custom Scrollbar ===== */

::-webkit-scrollbar {

    width: 10px;

    height: 10px;

}



::-webkit-scrollbar-track {

    background: #f1f1f1;

}



::-webkit-scrollbar-thumb {

    background: var(--primary-color);

    border-radius: 5px;

}



::-webkit-scrollbar-thumb:hover {

    background: var(--primary-hover);

}



/* ===== Print Styles ===== */

@media print {

    .navbar,

    footer,

    .btn,

    .social-links,

    #scrollToTop,

    .whatsapp-button {

        display: none !important;

    }

    

    body {

        font-size: 12pt;

    }

    

    a {

        color: inherit;

        text-decoration: none;

    }

}



/* Service Block Highlight Effect */

.service-block {

    transition: all 0.3s ease;

    position: relative;

}



.service-block.highlight {

    animation: highlightPulse 1s ease-in-out;

}



@keyframes highlightPulse {

    0% {

        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);

        transform: scale(1);

    }

    50% {

        box-shadow: 0 0 20px 10px rgba(13, 110, 253, 0.2);

        transform: scale(1.02);

    }

    100% {

        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);

        transform: scale(1);

    }

}



/* Smooth scroll için */

html {

    scroll-behavior: smooth;

}



/* Service block padding ayarı (navbar'ın altında kalmaması için) */

.service-block {

    scroll-margin-top: 80px; /* Navbar yüksekliğine göre ayarlayın */

}

/* Hizmetlerimiz sayfası resim boyutları */
.service-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background-color: #f8f9fa;
}

/* Responsive için küçük ekranlarda resim boyutu */
@media (max-width: 768px) {
    .service-image img {
        height: 300px;
    }
}
/* ===== Scroll Down Arrow ===== */
.scroll-down-arrow {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    animation: bounce 2s infinite;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.scroll-down-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}


/* ===== Navbar Menu Font Size Enhancement ===== */
.navbar-nav .nav-link {
    font-size: 1.125rem !important; /* 18px - 2 tık büyük */
    font-weight: 500 !important;
    padding: 0.75rem 1rem !important;
}

/* Responsive font sizes */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        font-size: 1.0625rem !important; /* 17px - mobilde biraz daha küçük */
    }
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-link {
        font-size: 1rem !important; /* 16px - küçük ekranlarda normal boyut */
    }
}


/* ===== Section Background Colors ===== */
/* Hero section background color for testimonials and blog sections */
.bg-hero {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
}

/* Distinct blue background for services and test sections */
.bg-blue-distinct {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
}

/* ===== Books Side Button ===== */
.books-side-button {
    position: fixed;
    left: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.books-side-button:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%);
    transform: translateY(-50%) rotate(-90deg);
    box-shadow: 4px 4px 15px rgba(220, 38, 38, 0.4);
    color: white;
}

.books-side-button i {
    font-size: 18px;
    margin-bottom: 2px;
}

/* ===== Books Modal Styles ===== */
.book-card {
    background: white;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.book-cover {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.book-overlay .badge {
    font-size: 12px;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.book-title {
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.3;
}

.book-description {
    font-size: 14px;
    line-height: 1.5;
}

.book-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-size: 1.5rem !important;
    font-weight: 700;
}

.old-price {
    font-size: 1rem;
}

/* Special Offer Section */
.special-offer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed var(--primary-color);
    position: relative;
}

.special-offer::before {
    content: '🎁';
    position: absolute;
    top: -15px;
    left: 20px;
    background: white;
    padding: 5px 10px;
    font-size: 20px;
}

.package-price {
    text-align: center;
}

.package-price .text-muted {
    font-size: 1.1rem;
}

.package-price h3 {
    font-weight: 700;
    font-size: 2rem;
}

/* Modal enhancements */
.modal-xl {
    max-width: 1200px;
}

.modal-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
}

.modal-footer.bg-light {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .books-side-button {
        left: -5px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .books-side-button span {
        display: none;
    }
    
    .book-cover {
        height: 220px;
    }
    
    .modal-xl {
        max-width: 95%;
        margin: 10px auto;
    }
    
    .package-price h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .special-offer .col-md-8,
    .special-offer .col-md-4 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .book-card .btn-lg {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Smooth animations for mobile */
@media (prefers-reduced-motion: reduce) {
    .books-side-button,
    .book-card,
    .book-cover img {
        transition: none;
    }
}

/* ===== Testimonials Alignment Fix ===== */
.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 250px;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20px !important;
}

.testimonial-content p {
    flex: 1;
    line-height: 1.6;
    font-size: 14px;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-author h6 {
    margin-bottom: 2px !important;
    font-weight: 600;
}

.testimonial-author small {
    font-size: 12px;
    opacity: 0.7;
}

/* Testimonials section kartlarının eşit yükseklikte olması için */
.testimonials-section .row.g-4 {
    display: flex;
    align-items: stretch;
}

.testimonials-section .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Quote icon positioning - Fixed */
.testimonial-content .bi-quote {
    position: relative;
    float: left;
    margin: 0 5px 10px 0;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    padding-left: 0;
    overflow: hidden;
}

.testimonial-content p {
    display: block;
    margin-top: 0;
    padding-left: 40px;
    text-indent: 0;
}

/* Responsive testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        min-height: 200px;
        margin-bottom: 20px;
    }
    
    .testimonial-content p {
        font-size: 13px;
    }
}