:root {
    --primary-color: #e93928;
    --primary-dark: #ee642e;
    --dark-bg: #2b2b2b;
    --darker-bg: #1a1a1a;
    --light-gray: #f5f5f5;
    --text-dark: #2d2d2d;
    --text-muted: #666666;
}

/* Vue.js v-cloak - Loading sırasında template syntax gizle */
[v-cloak] {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto Slab", serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar Temel Yapı */
.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    /* Padding'i biraz daraltarak daha derli toplu durmasını sağladık */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo ve Hamburgeri Aynı Hizaya Getiren Ana Konteyner */
.navbar>.container {
    display: flex;
    align-items: center;
    /* Dikeyde tam orta */
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 0;
    padding: 0;
}

/* Logo Boyutu: %20 yerine sabit yükseklik hizalamayı garanti eder */
.navbar-brand .logo-icon img {
    height: 50px;
    /* Logonun yüksekliğini buradan ayarlayabilirsiniz */
    width: auto;
    /* Oranı korur */
    display: block;
}

/* Hamburger Menü (Toggler) Ayarları */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    /* Tıklandığında çıkan mavi çerçeveyi kaldırır */
}

/* Mobil için Nav Listesi Hizalaması */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        margin-top: 0.8rem;
        padding: 1rem;
        border-top: 1px solid #eee;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-brand .brand-text .top {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.navbar-brand .brand-text .bottom {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    margin: 0 1.2rem;
    transition: all 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-dark) !important;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.navbar-icons {
    display: flex;
    gap: 1.2rem;
    margin-left: 1rem;
}

.navbar-icons a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.navbar-icons a:hover {
    color: white;
    background: var(--primary-color);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 80px);
}

.hero-left {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 4rem 3rem 3rem;
    color: white;
}

.hero-title {
    font-family: "Roboto Slab", sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: "Roboto Slab", sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-right {
    flex: 0 0 520px;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.hero-right-content {
    padding: 3.5rem 3rem 2rem;
    flex: 1;
}

.info-card {
    margin-bottom: 3rem;
}

.info-card h3 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.info-card .divider {
    width: 55px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 1.2rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.info-card .read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
}

.info-card .read-more:hover {
    gap: 1rem;
}

.hero-bottom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 3rem;
    color: white;
}

.hero-bottom h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
}

.hero-bottom h2 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
}

/* Search Section */
.search-section {
    background: var(--dark-bg);
    padding: 3.5rem 0;
}

.search-form {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

/* Ortak input stili — orijinal search-input (artık select dışındaki tüm alanlar) */
.search-input {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    padding: 0 1rem;
    color: white;
    font-size: 1.05rem;
    font-family: "Roboto Slab", serif;
    height: 52px;
    flex: 1;
    min-width: 0;
    border-radius: 4px 4px 0 0;
    transition: border-color 0.3s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search-input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

/* Ara Butonu */
.search-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1rem;
    font-family: "Roboto Slab", serif;
    font-weight: 600;
    cursor: pointer;
    padding: 0 2rem;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.3s;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* ===== Select2 - Koyu Tema Override ===== */
.search-form .select2-container {
    flex: 1;
    min-width: 0;
}

.search-form .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px 4px 0 0;
    height: 52px;
    display: flex;
    align-items: center;
    transition: border-color 0.3s;
}

.search-form .select2-container--default .select2-selection--single:hover,
.search-form .select2-container--default.select2-container--open .select2-selection--single {
    border-bottom-color: var(--primary-color);
}

.search-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white;
    font-size: 1.05rem;
    font-family: "Roboto Slab", serif;
    padding-left: 1rem;
    line-height: 52px;
}

.search-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    width: 30px;
}

.search-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
}

.search-form .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent rgba(255, 255, 255, 0.5) transparent;
}

.search-form .select2-container--default .select2-selection--single .select2-selection__clear {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    margin-right: 5px;
    margin-left: 5px;

}

/* Select2 Dropdown Panel */
.select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.6rem 0.8rem;
    font-family: "Roboto Slab", serif;
    font-size: 0.95rem;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-color);
}

.select2-container--default .select2-results__option--selected {
    background-color: #f0f0f0;
}

/* ===== Flatpickr - Koyu Tema Override ===== */
.search-form input.flatpickr-input,
.search-form input.flatpickr-alt-input,
.search-form .search-input+.form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 4px 4px 0 0 !important;
    color: white !important;
    font-size: 1.05rem;
    font-family: "Roboto Slab", serif;
    padding: 0 1rem !important;
    height: 52px !important;
    flex: 1;
    min-width: 0;
    transition: border-color 0.3s;
}

.search-form input.flatpickr-input:focus,
.search-form input.flatpickr-alt-input:focus,
.search-form .search-input+.form-control:focus {
    border-bottom-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-form input.flatpickr-alt-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Orijinal tarih input (Flatpickr altInput aktifken gizlenebilir) */
.search-form input[name="date"].search-input {
    flex: 1;
    min-width: 0;
}

/* ===== Date Picker Wrapper & Clear Button ===== */
.date-picker-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: stretch;
}

.date-picker-wrap .search-input {
    width: 100%;
    flex: 1;
    padding-right: 2rem;
}

.date-clear-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.3rem;
    line-height: 1;
    z-index: 2;
    display: none;
    transition: color 0.2s;
}

.date-clear-btn:hover {
    color: white;
}

/* Tarayıcı doğal takvim ikonunu gizle */
.date-picker-wrap input::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
}

.date-picker-wrap input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

/* ===== Mobil Uyum ===== */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-form .select2-container {
        flex: unset;
        width: 100% !important;
    }

    .search-input {
        width: 100%;
    }

    .search-btn {
        margin-top: 0.5rem;
        justify-content: center;
        padding: 1rem 2rem;
        width: 100%;
    }
}

/* Content Section */
.content-section {
    padding: 6rem 0;
    background: white;
}

.section-title {
    font-family: "Roboto Slab", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: left;
}

.section-divider {
    width: 55px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 3.5rem;
}

/* Trending */
.trending-main {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    margin-bottom: 3rem;
}

.trending-card-large {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.trending-card-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 80%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.trending-card-overlay h4 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.service-tag {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.trending-menu {
    background: var(--dark-bg);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    color: white;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.trending-menu ul {
    list-style: none;
    padding: 0;
}

.trending-menu li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s;
}

.trending-menu li:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

.trending-menu li:last-child {
    border-bottom: none;
}

/* Blog Featured */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-content {
    padding: 3rem 2.5rem;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.blog-tag {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-tag:not(:last-child)::after {
    content: ",";
}

.blog-featured h3 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
}

/* News Cards */
.news-card {
    margin-bottom: 2.8rem;
    padding-bottom: 2.8rem;
    border-bottom: 1px solid #e5e5e5;
}

.news-card:last-child {
    border-bottom: none;
}

.news-card h4 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Library Hours Widget */
.library-hours-widget {
    background: var(--dark-bg);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    position: relative;
}

.library-hours-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.library-hours-widget h3 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .library-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hours-item .time {
    font-weight: 600;
    color: white;
}

/* Digital Resources Section */
.digital-resources-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.digital-resources-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.digital-resources-section .section-title {
    color: white;
    text-align: center;
}

.digital-resources-section .section-divider {
    background: white;
    margin: 0 auto 4rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.resource-item {
    text-align: center;
    color: white;
    transition: all 0.3s;
}

.resource-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.4s;
}

.resource-item:hover .resource-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px) scale(1.05);
}

.resource-item h4 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

/* News and Events Section */
.news-events-section {
    background: var(--light-gray);
    padding: 6rem 0;
}

/*.events-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, 1fr);*/
/*    gap: 2.5rem;*/
/*}*/

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
}


.event-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.event-tags {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.event-card h4 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
}

.event-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Shop Section */
.shop-section {
    padding: 6rem 0;
    background: white;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.shop-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.shop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.shop-card-image {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover {
    width: 180px;
    height: 260px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.book-red {
    background: linear-gradient(135deg, #ff5722, #e64a19);
}

.book-green {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.book-blue {
    background: linear-gradient(135deg, #00acc1, #00838f);
}

.book-orange {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.shop-card-content {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 300px;
}

.shop-card-content a {
    text-decoration: none;
}

.shop-card-content a h3 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: black;
}

.shop-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.shop-card .price {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.shop-card .price a {
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-right {
        flex: 0 0 400px;
    }

    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
    }

    .hero-left {
        min-height: 60vh;
    }

    .hero-right {
        flex: 1;
        width: 100%;
    }

    .trending-main {
        grid-template-columns: 1fr;
    }

    .blog-featured {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar-fixed {
        bottom: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        width: 100%;
    }

    .sidebar-btn {
        width: 100%;
        height: 55px;
    }
}

@media (max-width: 768px) {

    .hero-title,
    .hero-subtitle {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* About Page Specific Styles - Append to existing style.css */

/* Page Hero */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.breadcrumb-custom {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.breadcrumb-custom a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

.breadcrumb-custom span {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.5rem;
}

/* Welcome Section */
.welcome-section {
    padding: 6rem 0;
    background: white;
}

.welcome-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.welcome-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Icon Features */
.icon-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.icon-feature {
    text-align: center;
    transition: all 0.3s;
}

.icon-feature:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.icon-feature:hover .icon-circle {
    background: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.icon-circle i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.icon-feature:hover .icon-circle i {
    color: white;
}

.icon-feature h3 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h6 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-text h2 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 300px;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    padding: 1.2rem 3rem;
    background: var(--dark-bg);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.privacy-check {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.privacy-check a {
    color: white;
    text-decoration: underline;
}

/* Services Carousel */
.services-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.services-carousel {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 2rem;
}

.service-card h3 {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.read-more:hover {
    gap: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

/* Library Tour & Visitor Info */
.info-section {
    padding: 6rem 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.tour-video {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.tour-video img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s;
}

.tour-video:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-dark);
}

.visitor-info-list {
    list-style: none;
    padding: 0;
}

.visitor-info-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.3s;
}

.visitor-info-item:hover {
    padding-left: 1rem;
}

.visitor-info-item h4 {
    font-family: "Roboto Slab", serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.visitor-info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.visitor-info-item p {
    color: var(--text-muted);
    margin: 0.8rem 0 0 2.5rem;
    line-height: 1.7;
    display: none;
}

.visitor-info-item.active p {
    display: block;
}

/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.chat-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.chat-icon {
    width: 50px;
    height: 50px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.chat-text {
    font-weight: 600;
    color: var(--text-dark);
}

/* Sidebar Buttons */
.sidebar-fixed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.sidebar-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-btn:hover {
    background: var(--primary-dark);
    width: 75px;
}

/* Footer Light Version */
.footer-light {
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 5rem 0 2rem;
}

.footer-light .footer-section h4 {
    color: var(--text-dark);
}

.footer-light .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-light .footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 6px;
    color: white;
    font-size: 1.5rem;
}

.footer-light .footer-logo .brand-text .top {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.footer-light .footer-logo .brand-text .bottom {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.footer-light .footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-light .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s;
}

.footer-light .footer-social a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-light .footer-section ul li a {
    color: var(--text-muted);
}

.footer-light .footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-light .footer-bottom {
    border-top: 1px solid #ddd;
    color: var(--text-muted);
}

/* Additional Responsive */
@media (max-width: 992px) {
    .page-hero h1 {
        font-size: 3rem;
    }

    .welcome-content {
        grid-template-columns: 1fr;
    }

    .icon-features {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .newsletter-text h2 {
        font-size: 2.2rem;
    }

    .newsletter-input {
        min-width: 100%;
    }
}

.swiper {
    width: 100%;
    padding: 20px 0 50px;
    /* Pagination için alt boşluk */
}

.event-card {
    width: 100%;
    height: 480px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 3/2;
    /* 600x400 oranını korur */
}

.event-card-image {
    width: 100%;
    height: 480px;
}

.event-card-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    opacity: 0.8;
    /* Yazının okunması için hafif karartma */
}


.event-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
}

.event-card-overlay h4 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Swiper Buton Rengi (Sitedeki kırmızı tona uygun) */
:root {
    --swiper-theme-color: #e64a19;
}

.archive-quote {
    margin: 40px 0;
    padding: 20px 30px;
    border-left: 5px solid #e64a19;
    /* Sitedeki kırmızı tonu */
    background-color: #f9f9f9;
    position: relative;
}

.archive-quote p {
    font-family: 'Georgia', serif;
    /* Gazete hissiyatı için serif font */
    font-style: italic;
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Tırnak işareti süslemesi (Opsiyonel) */
.archive-quote::before {
    content: "\201C";
    /* Sol tırnak işareti */
    font-size: 4rem;
    color: rgba(230, 74, 25, 0.2);
    /* Çok hafif kırmızı tonu */
    position: absolute;
    top: -10px;
    left: 10px;
}

.form-group {
    padding: 10px 10px 10px 0;
}

.form-control {
    padding: 15px;
}

#submit_btn {
    margin-top: 15px;
    margin-left: 5px;
    padding: 10px 40px;
    background-color: var(--primary-dark);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 10px;
}

.list-unstyled li {
    color: #dc3545 !important;
}

/* ==========================================
   PAGINATION COMPONENT - Custom Design
   Tüm pagination bileşenleri için ortak stil
   ========================================== */

/* Pagination Container */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 3rem;
    flex-wrap: wrap;
    /* Mobil için sarma */
    padding: 0 1rem;
    /* Mobil kenar boşluk */
}

/* Pagination Button Base */
.pagination-btn {
    min-width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    background: white;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Pagination Button Hover */
.pagination-btn:hover {
    background: var(--light-gray);
    color: var(--text-dark);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 57, 40, 0.2);
}

/* Active Page Button */
.pagination-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(233, 57, 40, 0.35);
    cursor: default;
}

.pagination-btn.active:hover {
    transform: none;
    /* Active page'de hover hareketi olmasın */
}

/* Prev/Next Buttons (Önceki/Sonraki) */
.pagination-btn-nav {
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.pagination-btn-nav:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* Disabled State (Vue ve Razor için) */
.pagination-btn:disabled,
.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================
   RESPONSIVE - Mobil Optimization
   ========================================== */

@media (max-width: 768px) {
    .pagination-container {
        gap: 5px;
        margin-top: 2rem;
    }

    .pagination-btn {
        min-width: 38px;
        height: 38px;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .pagination-btn-nav {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    /* Çok fazla sayfa olduğunda gizlenebilecek numaralar */
    .pagination-btn.hide-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .pagination-btn {
        min-width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
}

/* ===== Takvim G�r�n�m� ===== */
.calendar-month-block {
    margin-bottom: 2.5rem;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.calendar-month-title {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    background: var(--dark-bg);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 8px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 0.5rem;
    background: var(--dark-bg);
    /* color: white; */
    border-radius: 6px 6px 0 0;
}

.calendar-cell {
    min-height: 120px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
}

.calendar-cell-empty {
    background: transparent;
    border: 1px dashed #e9ecef;
    min-height: 120px;
}

.calendar-cell.has-issue {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-cell.has-issue:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.calendar-day-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6c757d;
    align-self: flex-end;
    margin-bottom: 0.2rem;
}

.calendar-cell.has-issue .calendar-day-number {
    color: var(--primary-color);
}

.calendar-issue-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
    flex: 1;
}

.calendar-issue-thumb {
    width: 100%;
    max-height: 80px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.calendar-cell.has-issue:hover .calendar-issue-thumb {
    transform: scale(1.05);
}

.calendar-issue-number {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    text-align: center;
}

/* Takvim Responsive */
@media (max-width: 768px) {
    .calendar-grid {
        gap: 2px;
    }

    .calendar-cell,
    .calendar-cell-empty {
        min-height: 80px;
        padding: 0.2rem;
    }

    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.5rem 0.2rem;
    }

    .calendar-day-number {
        font-size: 0.65rem;
    }

    .calendar-issue-thumb {
        max-height: 50px;
    }

    .calendar-issue-number {
        font-size: 0.6rem;
    }

    .calendar-month-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {

    .calendar-cell,
    .calendar-cell-empty {
        min-height: 60px;
    }

    .calendar-issue-thumb {
        max-height: 35px;
    }

    .calendar-issue-number {
        display: none;
    }
}