/* assets/css/style.css */
/* Mevcut stiller korunuyor, sadece galeri modalı kaldırılıp lightbox ve event-card stilleri ekleniyor */
.header-bg {
    background: linear-gradient(135deg, #D82228 0%, #0057B7 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.active-tab {
    position: relative;
    color: #FFD700;
}
.active-tab::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #FFD700;
    border-radius: 4px;
}
.flag-icon {
    width: 32px;
    height: 32px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
}
.search-container {
    background-color: rgba(255,255,255,0.15);
    transition: all 0.2s ease;
}
.search-container:hover {
    background-color: rgba(255,255,255,0.25);
}
.search-input {
    background: transparent;
    outline: none;
}
.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}
.custom-select {
    background-color: rgba(255,255,255,0.15);
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 10px;
}
.custom-select:hover {
    background-color: rgba(255,255,255,0.25);
}
.search-button {
    background-color: rgba(255, 215, 0, 0.8);
    transition: all 0.2s ease;
}
.search-button:hover {
    background-color: rgba(255, 215, 0, 1);
}
.nav-item {
    position: relative;
    transition: all 0.3s ease;
}
.nav-item.active {
    color: #0057B7;
}
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #0057B7;
    border-radius: 50%;
}
.bottom-search-button {
    transform: translateY(-20px);
    box-shadow: 0 4px 15px rgba(0, 87, 183, 0.3);
    transition: all 0.3s ease;
}
.bottom-search-button:hover {
    transform: translateY(-20px) scale(1.1);
}
.badge {
    font-size: 10px;
    min-width: 16px;
    height: 16px;
}
.search-modal {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.search-modal.active {
    opacity: 1;
    visibility: visible;
}
.language-modal {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.language-modal.active {
    opacity: 1;
    visibility: visible;
}
.location-modal {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.location-modal.active {
    opacity: 1;
    visibility: visible;
}
.language-option, .location-option {
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    margin: 25px 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-slide {
    min-width: 100%;
    position: relative;
}
.slider-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}
.slider-slide:hover .slider-image {
    filter: brightness(0.7);
}
.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
}
.slider-dot.active {
    background: #FFD700;
    width: 30px;
}
.location-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 24px;
    margin-bottom: 12px;
    font-size: 14px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px;
}
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.category-item:hover {
    transform: translateY(-3px);
}
.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    color: white;
    background: linear-gradient(135deg, var(--icon-color) 0%, var(--icon-color-dark) 100%);
}

.icon-box i {
    width: 36px;
    height: 36px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-name {
    font-size: 12px;
}

/* Aktif kategori için nokta */
.category-item {
    position: relative;
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px; /* Metnin altına yerleştir */
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #0057B7; /* ncy-blue */
    border-radius: 50%;
}
.popular-section {
    padding: 16px;
    margin-top: 24px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1A2B3C;
}
.see-all {
    color: #0057B7;
    font-size: 14px;
    font-weight: 500;
}
.places-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.place-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 87, 183, 0.1);
    position: relative;
}
.place-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.place-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.place-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}
.place-location {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
}
.place-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
}
.star-icon {
    color: #FFD700;
    margin-right: 4px;
    font-size: 14px;
}
.events-section {
    padding: 16px;
    margin-top: 8px;
}
.event-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 87, 183, 0.1);
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 87, 183, 0.15);
}
.event-date {
    width: 80px;
    background: #0057B7;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.event-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.event-month {
    font-size: 14px;
    text-transform: uppercase;
}
.event-content {
    flex: 1;
    padding: 16px;
}
.event-title {
    font-size: 16px;
    font-weight: 600;
    color: #1A2B3C;
    margin-bottom: 8px;
}
.event-details {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #64748B;
}
.event-detail {
    display: flex;
    align-items: center;
}
.event-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}
.event-button {
    background: #0057B7;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.event-button:hover {
    background: #0047A0;
}
@media (min-width: 768px) {
    .slider-image {
        height: 400px;
    }
    .category-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 12px;
    }
    .place-card {
        flex: 0 0 320px;
    }
    .place-image {
        height: 200px;
    }
    .event-card {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}
:focus-visible {
    outline: 2px solid #0057B7;
    outline-offset: 2px;
}
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.language-modal, .location-modal, .search-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.back-button {
    background-color: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}
.back-button:hover {
    background-color: rgba(255,255,255,0.25);
}
.action-button {
    background-color: #FFFFFF;
    color: #1A2B3C;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    padding: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.action-button:hover {
    background-color: #ECEFF1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.action-button.liked {
    background-color: #D82228;
    color: #FFFFFF;
    border-color: #D82228;
}
.action-button.liked:hover {
    background-color: #B71C1C;
}
.info-card {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.info-item {
    background: #F5F7FA;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.info-item:hover {
    background: #ECEFF1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.review-modal.active {
    display: flex;
}

/* Lightbox Stilleri */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-caption {
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
    max-width: 90%;
}

/* Event card stilleri */
.event-card {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 160px; /* Kart yüksekliği, place-card ile uyumlu */
    overflow: hidden;
    border-radius: 16px;
    transition: box-shadow 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 6px 16px rgba(0, 87, 183, 0.15);
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.event-location {
    font-size: 10px; /* Küçültüldü */
    color: white;
    background: #0057B7; /* Tam renk, opak */
    padding: 4px 10px; /* Yazıdan biraz büyük */
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.event-datetime {
    font-size: 10px; /* Küçültüldü */
    color: white;
    background: #0057B7; /* Tam renk, opak */
    padding: 4px 10px; /* Yazıdan biraz büyük */
    border-radius: 4px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.event-title {
    font-size: 12px; /* Küçültüldü */
    font-weight: 600;
    color: white;
    background: #0057B7; /* Tam renk, opak */
    padding: 6px 12px; /* Yazıdan biraz büyük */
    border-radius: 4px;
    display: inline-block;
}

/* Place-page-card stilleri (Slider-slide uyarlaması) */
.place-page-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.place-page-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.place-page-card img {
    width: 100%;
    height: 256px; /* h-64 Tailwind eşdeğeri */
    object-fit: cover;
    filter: brightness(0.85);
    transition: all 0.3s ease;
}

.place-page-card:hover img {
    filter: brightness(0.75);
}

@media (min-width: 768px) {
    .place-page-card img {
        height: 384px; /* md:h-96 Tailwind eşdeğeri */
    }
}

.place-page-card .absolute.bottom-0 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
}

.place-page-card .location-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 24px;
    margin-bottom: 12px;
    font-size: 14px;
}

.place-page-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .place-page-card h3 {
        font-size: 24px;
    }
}

.place-page-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.place-page-card .absolute.top-4 {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #FFD700;
    border-radius: 9999px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.place-page-card span {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #1A2B3C;
}

/* Category Modal Stilleri */
.category-modal {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.category-modal.active {
    opacity: 1;
    visibility: visible;
}

.category-option {
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}