/* Kent Rehberi Sayfası Stilleri */

.city-guide-page {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    background-color: #f5f5f5;
}

.city-guide-page .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Sol Sidebar Liste - Görseldeki gibi sabit sol tarafta */
.city-guide-page .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.city-guide-page .sidebar-list {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.city-guide-page .content-area {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 0;
}

.sidebar-menu-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.sidebar-menu-header {
    background-color: transparent;
    padding: 20px;
    color: #333;
    border-radius: 8px 8px 0 0;
}

.sidebar-menu-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Bebas Neue", cursive;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
}

.sidebar-menu-list li {
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu-list li:last-child {
    border-bottom: none;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    margin: 2px 5px;
    border-radius: 6px;
    background-color: transparent;
}

.sidebar-menu-item:hover {
    background-color: #e9ecef;
    color: #224a98;
    border-radius: 6px;
}

.sidebar-menu-item.active {
    background-color: transparent;
    color: #224a98;
    font-weight: bold;
    border-radius: 6px;
}

.menu-arrow {
    margin-right: 10px;
    font-size: 18px;
}

/* Sağ Taraf İçerik */
.content-area {
    padding-left: 20px;
}

.city-guide-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-title {
    font-family: "Bebas Neue", cursive;
    font-size: 42px;
    color: #224a98;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #224a98;
    margin-top: 10px;
    margin-bottom: 20px;
}

.content-main-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.content-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #224a98;
    border-radius: 4px;
}

.content-body {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 30px;
}

.content-body p {
    margin-bottom: 15px;
}

.content-contact-info {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.content-contact-info h3 {
    font-family: "Bebas Neue", cursive;
    font-size: 28px;
    color: #224a98;
    margin-bottom: 20px;
}

.content-contact-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.content-contact-info i {
    margin-right: 10px;
    color: #224a98;
    width: 20px;
}

.content-contact-info a {
    color: #224a98;
    text-decoration: none;
}

.content-contact-info a:hover {
    text-decoration: underline;
}

/* Harita */
.content-map {
    margin-top: 40px;
}

.content-map h3 {
    font-family: "Bebas Neue", cursive;
    font-size: 28px;
    color: #224a98;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.map-link {
    text-align: center;
    margin-top: 10px;
}

.map-link a {
    color: #224a98;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-link a:hover {
    text-decoration: underline;
}

/* Görseller Galerisi */
.content-gallery {
    margin-top: 40px;
}

.content-gallery h3 {
    font-family: "Bebas Neue", cursive;
    font-size: 28px;
    color: #224a98;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    /* Kare görünüm için aspect-ratio */
    aspect-ratio: 1 / 1;
    /* Mavi bantı gizlemek için alt kısmı kırp */
    clip-path: inset(0 0 25% 0);
    margin-bottom: -25%;
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: #fff;
    pointer-events: none;
    z-index: 1;
    border-radius: 0 0 8px 8px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    /* Watermark'ı gizlemek için - görselin alt kısmındaki mavi bant */
    object-position: center top;
    /* Kare görünüm için tam yükseklik */
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Görsel altındaki mavi bant ve yazıyı gizle (eğer varsa) */
.gallery-item::after {
    display: none !important;
}

.gallery-item-caption,
.gallery-item-title {
    display: none !important;
}

/* Ana görsel için de aynı işlemi uygula */
.content-main-image {
    position: relative;
    overflow: hidden;
}

.content-main-image img {
    /* Mavi bantı gizlemek için alt kısmı kırp */
    clip-path: inset(0 0 15% 0);
    margin-bottom: -15%;
}

/* Görsel Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-image-container {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100001;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ccc;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100001;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

#modalCaption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 4px;
    pointer-events: none;
}

/* No Content */
.no-content {
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    color: #999;
}

.no-content i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ccc;
}

.no-content p {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .city-guide-page {
        padding: 20px 10px;
    }
    
    .city-guide-page .row {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    
    .city-guide-page .sidebar-list {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
        order: 1;
    }
    
    .city-guide-page .content-area {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        order: 2;
    }
    
    .sidebar-menu-container {
        position: relative;
        top: 0;
    }
    
    .city-guide-content {
        padding: 20px 15px;
    }
    
    .content-title {
        font-size: 28px;
    }
    
    .content-title::after {
        margin-top: 8px;
        margin-bottom: 15px;
    }
    
    .content-main-image {
        margin-bottom: 20px;
    }
    
    .content-description {
        font-size: 16px;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .content-body {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .content-map {
        margin-top: 30px;
    }
    
    .content-map h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .map-container {
        margin-bottom: 8px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .content-gallery {
        margin-top: 30px;
    }
    
    .content-gallery h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
    
    .gallery-item img {
        height: 100%;
    }
}

