/* ==========================================================================
   RizeCity / Genel Stil Dosyası (style.css)
   ========================================================================== */

/* --- GENEL KÖK DEĞİŞKENLER VE GÖVDE --- */
:root {
    --rize-green: #15803d;
    --rize-light-green: #22c55e;
    --main-font: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--main-font);
    background-color: #f8fafc;
    color: #0f172a;
    overflow-x: hidden;
}

/* --- NAVBAR STİLLERİ --- */
.bg-dark {
    background: #0a1f12 !important;
}

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled {
    background-color: rgba(9, 30, 17, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed !important;
    z-index: 999 !important;
    width: 100%;
    top: 0;
    left: 0;
}

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.25s ease;
    padding-bottom: 4px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #22c55e;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.nav-weather-badge {
    font-size: 0.85rem;
    white-space: nowrap;
}

/* --- HERO & SLIDER STİLLERİ (INDEX) --- */
.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 85vh;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
    min-height: 85vh;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 85vh; /* <--- DİKKAT */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 50px 60px 50px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    //background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-center-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 650px;
    text-align: center;
    z-index: 2;
}

.weather-card-fixed {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 250px;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 24px 20px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cat-box-item {
    width: 85px;
    height: 80px;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

.cat-box-item:hover {
    transform: translateY(-4px);
    color: #15803d;
    background: #ffffff;
}

.card-zoom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-zoom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Swiper Navigasyon */
.hero-slider-container .swiper-button-next,
.hero-slider-container .swiper-button-prev {
    z-index: 6;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    transition: all 0.3s ease;
}

.hero-slider-container .swiper-button-next:hover,
.hero-slider-container .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #4ade80;
}

.hero-slider-container .swiper-button-next::after,
.hero-slider-container .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

.hero-slider-container .swiper-pagination {
    z-index: 6;
    bottom: 20px;
}

.hero-slider-container .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}

.hero-slider-container .swiper-pagination-bullet-active {
    background: #4ade80;
    opacity: 1;
    width: 20px;
    border-radius: 10px;
}

/* --- BANNER & İÇ SAYFA HEADER (ETKİNLİKLER VB.) --- */
.page-banner {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 31, 18, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%), url('../images/header.png') no-repeat center center/cover;
    padding: 120px 0 60px 0;
    color: #fff;
}

/* --- ETKİNLİK KARTLARI STİLLERİ --- */
.event-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.event-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img-wrapper img {
    transform: scale(1.08);
}

.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 8px 14px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 2;
}

.date-badge .day {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--rize-green);
    line-height: 1;
}

.date-badge .month {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
}

.organizer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.72rem;
    z-index: 2;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- MOBİL DUYARLILIK (RESPONSIVE - 991px ve Altı) --- */
/* --- MOBİL DUYARLILIK (RESPONSIVE - 991px ve Altı) --- */
@media (max-width: 991px) {
    .weather-card-fixed {
        display: none !important;
    }

    .nav-weather-badge {
        font-size: 0.75rem;
        padding: 4px 10px !important;
    }

    .hero-slider-container,
    .heroSwiper,
    .hero-wrapper {
        min-height: 550px !important; /* Mobilde tüm slaytlar için ortak bir minimum yükseklik belirler */
        height: auto;
    }

    .hero-wrapper {
        flex-direction: column;
        padding: 100px 20px 40px 20px;
    }

    .hero-center-content {
        position: relative;
        left: auto;
        transform: none;
        max-width: 100%;
        margin-top: 40px;
        margin-bottom: 24px;
    }

    .navbar-collapse {
        background-color: #0a1f12;
        margin-top: 15px;
        padding: 15px;
        border-radius: 16px;
    }

    .hero-slider-container .swiper-button-next,
    .hero-slider-container .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .mobile-menu-dropdown {
        background: rgba(10, 25, 20, 0.95) !important;
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}