/* =============================================================
   GLOBAL RESPONSIVE CSS — Belediye Sitesi
   Tüm sayfalarda geçerli, mevcut stilleri bozmadan çalışır.
   ============================================================= */

/* ── GENEL MOBİL TEMEL ─────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── HERO SLIDER (index.php) ───────────────────────────────── */
@media (max-width: 991px) {
    .premium-hero,
    .premium-hero .main-slider,
    .hero-slide {
        height: 60vh !important;
        min-height: 400px !important;
    }
}

@media (max-width: 767px) {
    .premium-hero,
    .premium-hero .main-slider,
    .hero-slide {
        height: 55vh !important;
        min-height: 320px !important;
    }

    .hero-title {
        font-size: 28px !important;
        letter-spacing: 1px !important;
        margin-bottom: 12px !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
        letter-spacing: 1px !important;
        margin-bottom: 24px !important;
    }

    .hero-buttons {
        gap: 12px !important;
    }

    .hero-btn {
        padding: 12px 28px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .premium-hero,
    .premium-hero .main-slider,
    .hero-slide {
        height: 50vh !important;
        min-height: 280px !important;
    }

    .hero-title {
        font-size: 22px !important;
        letter-spacing: 0 !important;
    }

    .hero-subtitle {
        font-size: 12px !important;
    }

    .hero-btn {
        padding: 10px 22px !important;
        font-size: 12px !important;
    }
}

/* ── QUICK BAR (Ana Sayfa) ─────────────────────────────────── */
@media (max-width: 991px) {
    .quick-bar-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .quick-item {
        padding: 18px 10px !important;
        gap: 7px !important;
    }

    .quick-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 17px !important;
    }
}

@media (max-width: 575px) {
    .quick-bar-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .quick-item {
        padding: 14px 6px !important;
        text-decoration: none !important;
    }

    .quick-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }

    .quick-label {
        font-size: 10px !important;
        white-space: normal !important;
    }
}

@media (max-width: 380px) {
    .quick-bar-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ── MODERN SECTION TITLE (Ana Sayfa) ──────────────────────── */
@media (max-width: 991px) {
    .modern-section-title h2 {
        font-size: 36px !important;
    }

    .modern-section {
        padding: 60px 0 !important;
    }

    .modern-section-title {
        margin-bottom: 50px !important;
    }
}

@media (max-width: 767px) {
    .modern-section-title h2 {
        font-size: 26px !important;
        letter-spacing: -0.5px !important;
    }

    .modern-section {
        padding: 40px 0 !important;
    }

    .modern-section-title {
        margin-bottom: 35px !important;
    }

    .modern-section-subtitle {
        font-size: 12px !important;
        letter-spacing: 2px !important;
    }
}

/* ── HERO SECTIONS (Tüm İç Sayfalar) ──────────────────────── */
@media (max-width: 991px) {
    .services-hero,
    .message-hero,
    .gallery-hero,
    .project-hero,
    .project-detail-hero,
    .contact-hero,
    .biography-hero,
    .bus-hero,
    .cerez-hero,
    .council-hero,
    .department-hero,
    .detay-hero,
    .encumen-hero,
    .eskibaskan-hero,
    .karar-hero,
    .karar-detay-hero,
    .kulturvarlik-hero,
    .kvkk-hero,
    .muhtar-hero,
    .pharmacy-hero,
    .tarihce-hero,
    .weather-hero,
    .page-hero,
    .proje-hero,
    .detail-hero {
        padding: 50px 0 35px !important;
    }

    .services-hero h1,
    .message-hero h1,
    .gallery-hero h1,
    .project-hero h1,
    .project-detail-hero h1,
    .contact-hero h1,
    .biography-hero h1,
    .bus-hero h1,
    .cerez-hero h1,
    .council-hero h1,
    .department-hero h1,
    .detay-hero h1,
    .encumen-hero h1,
    .eskibaskan-hero h1,
    .karar-hero h1,
    .karar-detay-hero h1,
    .kulturvarlik-hero h1,
    .kvkk-hero h1,
    .muhtar-hero h1,
    .pharmacy-hero h1,
    .tarihce-hero h1,
    .weather-hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 30px !important;
    }

    .services-hero .subtitle,
    .services-hero p,
    .message-hero .subtitle,
    .gallery-hero .subtitle,
    .project-hero .subtitle,
    .project-detail-hero .subtitle,
    .contact-hero p,
    .biography-hero .subtitle,
    .biography-hero p,
    .bus-hero .subtitle,
    .bus-hero p,
    .cerez-hero p,
    .council-hero p,
    .department-hero p,
    .detay-hero .subtitle,
    .encumen-hero p,
    .eskibaskan-hero p,
    .karar-hero p,
    .karar-detay-hero p,
    .kulturvarlik-hero p,
    .kvkk-hero p,
    .muhtar-hero p,
    .pharmacy-hero p,
    .tarihce-hero p,
    .weather-hero p,
    .page-hero .subtitle,
    .detail-hero .subtitle {
        font-size: 15px !important;
    }
}

@media (max-width: 767px) {
    .services-hero,
    .message-hero,
    .gallery-hero,
    .project-hero,
    .project-detail-hero,
    .contact-hero,
    .biography-hero,
    .bus-hero,
    .cerez-hero,
    .council-hero,
    .department-hero,
    .detay-hero,
    .encumen-hero,
    .eskibaskan-hero,
    .karar-hero,
    .karar-detay-hero,
    .kulturvarlik-hero,
    .kvkk-hero,
    .muhtar-hero,
    .pharmacy-hero,
    .tarihce-hero,
    .weather-hero,
    .page-hero,
    .proje-hero,
    .detail-hero {
        padding: 38px 0 28px !important;
    }

    .services-hero h1,
    .message-hero h1,
    .gallery-hero h1,
    .project-hero h1,
    .project-detail-hero h1,
    .contact-hero h1,
    .biography-hero h1,
    .bus-hero h1,
    .cerez-hero h1,
    .council-hero h1,
    .department-hero h1,
    .detay-hero h1,
    .encumen-hero h1,
    .eskibaskan-hero h1,
    .karar-hero h1,
    .karar-detay-hero h1,
    .kulturvarlik-hero h1,
    .kvkk-hero h1,
    .muhtar-hero h1,
    .pharmacy-hero h1,
    .tarihce-hero h1,
    .weather-hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 24px !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 8px !important;
    }

    .services-hero .subtitle,
    .services-hero p,
    .message-hero .subtitle,
    .gallery-hero .subtitle,
    .project-hero .subtitle,
    .project-detail-hero .subtitle,
    .contact-hero p,
    .biography-hero .subtitle,
    .biography-hero p,
    .bus-hero .subtitle,
    .bus-hero p,
    .cerez-hero p,
    .council-hero p,
    .department-hero p,
    .detay-hero .subtitle,
    .encumen-hero p,
    .eskibaskan-hero p,
    .karar-hero p,
    .karar-detay-hero p,
    .kulturvarlik-hero p,
    .kvkk-hero p,
    .muhtar-hero p,
    .pharmacy-hero p,
    .tarihce-hero p,
    .weather-hero p,
    .page-hero .subtitle,
    .detail-hero .subtitle {
        font-size: 14px !important;
    }
}

/* ── BREADCRUMBS ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .modern-breadcrumbs {
        padding: 8px 16px !important;
        gap: 8px !important;
        font-size: 12px !important;
        flex-wrap: wrap !important;
    }

    .modern-breadcrumbs a,
    .modern-breadcrumbs span {
        font-size: 12px !important;
    }
}

/* ── SERVICES / DUYURU / HABER KARTLARİ ────────────────────── */
@media (max-width: 991px) {
    .services-content,
    .project-content,
    .gallery-content,
    .message-content {
        padding: 50px 0 60px !important;
    }
}

@media (max-width: 767px) {
    .services-content,
    .project-content,
    .gallery-content,
    .message-content {
        padding: 35px 0 45px !important;
    }

    .service-card-image {
        height: 160px !important;
    }

    .section-title h2 {
        font-size: 24px !important;
    }
}

/* ── PROJE KARTLARI ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .project-card-image {
        height: 220px !important;
    }

    .project-filters {
        padding: 20px 15px !important;
        max-width: 100% !important;
        margin: -20px 15px 35px !important;
    }

    .filter-tabs a {
        padding: 10px 22px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 767px) {
    .project-card-image {
        height: 190px !important;
    }

    .filter-tabs {
        gap: 8px !important;
    }

    .filter-tabs a {
        padding: 9px 18px !important;
        font-size: 12px !important;
    }
}

/* ── GALERİ GRİD ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 18px !important;
    }

    .gallery-item img {
        height: 220px !important;
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .gallery-item img {
        height: 160px !important;
    }

    .gallery-item {
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .gallery-item img {
        height: 130px !important;
    }
}

/* ── QUOTE CARD (b_mesaj) ───────────────────────────────────── */
@media (max-width: 991px) {
    .quote-card {
        padding: 32px 28px !important;
    }
}

@media (max-width: 767px) {
    .quote-card {
        padding: 22px 18px !important;
        margin-bottom: 24px !important;
    }

    .quote-card::after {
        font-size: 80px !important;
        top: -5px !important;
        right: 15px !important;
    }
}

/* ── İLETİŞİM SAYFASI ───────────────────────────────────────── */
@media (max-width: 991px) {
    .modern-form-container {
        padding: 25px 20px !important;
    }

    .modern-map-container iframe {
        height: 300px !important;
    }

    .contact-info-section {
        padding: 20px 0 10px !important;
    }

    .contact-form-section {
        padding: 25px 0 35px !important;
    }
}

@media (max-width: 767px) {
    .modern-form-container {
        padding: 20px 15px !important;
    }

    .modern-map-container iframe {
        height: 250px !important;
    }

    .modern-form-container h2 {
        font-size: 20px !important;
    }

    .contact-icon-box {
        width: 50px !important;
        height: 50px !important;
    }

    .contact-icon-box i {
        font-size: 20px !important;
    }

    .modern-contact-card {
        padding: 20px 15px !important;
        margin-bottom: 15px !important;
    }
}

/* ── MODERN CARD (Ana Sayfa) ────────────────────────────────── */
@media (max-width: 991px) {
    .modern-card-image {
        height: 220px !important;
    }

    .modern-card-body {
        padding: 25px 22px !important;
    }

    .modern-card-title {
        font-size: 18px !important;
    }
}

@media (max-width: 767px) {
    .modern-card-image {
        height: 190px !important;
    }

    .modern-card-body {
        padding: 18px 16px !important;
    }

    .modern-card-title {
        font-size: 16px !important;
    }

    .modern-btn {
        padding: 12px 30px !important;
        font-size: 13px !important;
    }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .modern-footer {
        padding: 40px 0 0 !important;
    }

    .modern-footer h3 {
        font-size: 15px !important;
        margin-top: 20px !important;
    }

    .modern-footer-social {
        gap: 8px !important;
    }
}

@media (max-width: 767px) {
    .modern-footer {
        padding: 30px 0 0 !important;
    }

    .modern-footer-bottom {
        font-size: 12px !important;
        padding: 15px 0 !important;
    }

    .modern-footer-links a {
        font-size: 13px !important;
    }

    .modern-footer-contact li {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
}

/* ── HEADER MOBİL ───────────────────────────────────────────── */
@media (max-width: 1023px) {
    /* Hamburger butonu görünür ve stillendirilmiş */
    .navbar-toggler {
        display: block !important;
        position: absolute !important;
        right: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 100 !important;
        background: rgba(255,255,255,0.1) !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
        border-radius: 8px !important;
        padding: 7px 11px !important;
        line-height: 1 !important;
    }
    .navbar-toggler:hover,
    .navbar-toggler:focus {
        background: rgba(220,38,38,0.3) !important;
        outline: none !important;
    }

    /* Kayma önleme — menü absolute olarak açılır, içeriği itmez */
    .navbar-collapse.collapse.show,
    .navbar-collapse.collapsing {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: linear-gradient(135deg, #0f0800 0%, #7b1010 100%) !important;
        border-top: 1px solid rgba(255,255,255,0.12) !important;
        border-radius: 0 0 12px 12px !important;
        padding: 10px 0 16px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
        width: 100% !important;
    }

    /* header-content relative yapılmalı */
    .header-content {
        position: relative !important;
    }

    .navbar-nav .nav-link {
        padding: 10px 20px !important;
        font-size: 14px !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        color: rgba(255,255,255,0.9) !important;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none !important;
    }

    /* Dropdown mobile */
    .navbar-nav .dropdown-menu {
        background: rgba(0,0,0,0.3) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 0 0 15px !important;
        margin: 0 !important;
        position: static !important;
    }

    .navbar-nav .dropdown-item {
        padding: 8px 15px !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(255,255,255,0.04) !important;
        color: rgba(255,255,255,0.8) !important;
    }

    /* E-Belediye butonu mobile */
    .nav-ebelediye .nav-link {
        margin: 8px 20px !important;
        border-radius: 10px !important;
        display: inline-block !important;
        width: auto !important;
    }

    /* Logo */
    .logo-img {
        width: 60px !important;
        max-height: 48px !important;
    }

    /* Header nav wrap flex fix */
    .header-content .row {
        flex-wrap: nowrap !important;
        position: static !important;
    }

    /* Atatürk resmi mobile'da gizle */
    .header-nav-wrap > img {
        display: none !important;
    }

    /* navbar-collapse'ı varsayılan olarak gizle, show ile görünür yap */
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    .navbar-collapse.show {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .logo-img {
        width: 52px !important;
        max-height: 42px !important;
    }

    .logo-wrap {
        padding-right: 6px !important;
        margin-right: 6px !important;
    }
}

/* ── KARTLAR MOBİL ───────────────────────────────────────────── */
@media (max-width: 767px) {
    /* Modern section kartları */
    .modern-card {
        margin-bottom: 16px !important;
    }
    .modern-card-image {
        height: 180px !important;
    }
    .modern-card-body {
        padding: 16px !important;
    }
    .modern-card-body h3,
    .modern-card-body h4 {
        font-size: 16px !important;
    }

    /* Section padding azalt */
    .modern-section {
        padding: 40px 0 !important;
    }

    /* Başkan biyografi widget */
    .mayor-widget {
        padding: 22px 16px !important;
    }

    /* Haberler/duyurular listesi */
    .duyuru-card,
    .haber-card {
        padding: 12px !important;
    }
}

/* ── TABLO RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 767px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 500px;
    }

    .karar-table,
    .ihale-table,
    .meclis-table {
        font-size: 13px !important;
    }
}

/* ── MECLIS / ENCUMEN KARTLARİ ──────────────────────────────── */
@media (max-width: 767px) {
    .meclis-card,
    .encumen-card,
    .muhtar-card,
    .eskibaskan-card {
        margin-bottom: 20px !important;
    }

    .meclis-photo,
    .encumen-photo {
        width: 90px !important;
        height: 90px !important;
    }
}

/* ── OTOBUS SAATLERI ────────────────────────────────────────── */
@media (max-width: 767px) {
    .otobus-table td,
    .otobus-table th {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
}

/* ── HAVA DURUMU ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .weather-widget {
        padding: 15px !important;
    }

    .weather-temp {
        font-size: 48px !important;
    }
}

/* ── ECZANE ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .eczane-card {
        padding: 15px !important;
    }
}

/* ── NİKAH / CENAZE DETAY ───────────────────────────────────── */
@media (max-width: 767px) {
    .nikah-detail,
    .cenaze-detail,
    .vefat-detail {
        padding: 20px 15px !important;
    }
}

/* ── POPUP / MODAL ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .modal-dialog {
        margin: 10px !important;
    }

    .modal-body {
        padding: 15px !important;
    }
}

/* ── GENEL PADDING AZALTMA ──────────────────────────────────── */
@media (max-width: 767px) {
    .page-content {
        padding-top: 0 !important;
    }

    /* Container yatay padding */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Row gutters */
    .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .row > [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ── OVERFLOW FIX ───────────────────────────────────────────── */
body {
    overflow-x: hidden;
}

/* ── DOKUNMA HEDEFLERİ ──────────────────────────────────────── */
@media (max-width: 767px) {
    a, button, .quick-item, .service-card-btn, .filter-tabs a {
        min-height: 44px;
    }

    .quick-item {
        min-height: 0 !important;
    }
}

/* ── BIRIM / HIZMET KARTLARI ────────────────────────────────── */
@media (max-width: 767px) {
    .birim-card,
    .hizmet-card {
        margin-bottom: 20px !important;
    }
}

/* ── YAKLAŞTİRMA ENGELLE (form input zoom) ──────────────────── */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* ── SLICK SLIDER DOTS ──────────────────────────────────────── */
@media (max-width: 767px) {
    .slick-dots {
        bottom: 10px !important;
    }

    .slick-dots li button:before {
        font-size: 8px !important;
    }
}

/* ── ANİMASYON PERFORMANS (mobil pil tasarrufu) ─────────────── */
@media (max-width: 767px) {
    .hero-overlay,
    .modern-footer::before,
    .header-content::before {
        animation-duration: 30s !important;
    }
}

/* ── HARİTA CONTAINER ───────────────────────────────────────── */
@media (max-width: 767px) {
    .modern-map-container {
        border-radius: 10px !important;
        margin-bottom: 25px !important;
    }
}

/* ── BREADCRUMB (GENEL) ─────────────────────────────────────── */
@media (max-width: 480px) {
    .modern-breadcrumbs {
        display: flex !important;
        flex-wrap: wrap !important;
        border-radius: 12px !important;
        padding: 8px 12px !important;
    }
}

/* ── TARİHÇE / İÇERİK KART ──────────────────────────────────── */
@media (max-width: 991px) {
    .content-card {
        padding: 30px 25px !important;
    }

    .content-card h2 {
        font-size: 26px !important;
    }

    .tarihce-content,
    .kvkk-content,
    .cerez-content {
        padding: 40px 0 !important;
    }
}

@media (max-width: 767px) {
    .content-card {
        padding: 20px 15px !important;
        border-radius: 10px !important;
        margin-bottom: 20px !important;
    }

    .content-card h2 {
        font-size: 20px !important;
        margin-bottom: 18px !important;
    }

    .content-text {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .tarihce-content,
    .kvkk-content,
    .cerez-content {
        padding: 25px 0 !important;
    }
}

/* ── MECLİS / ENCÜMEN ÜYE KARTLARİ ─────────────────────────── */
@media (max-width: 767px) {
    .council-member-card {
        padding: 20px 15px !important;
    }

    .member-photo {
        width: 90px !important;
        height: 90px !important;
    }

    .member-name {
        font-size: 15px !important;
    }

    .member-role {
        font-size: 12px !important;
    }
}

/* ── ÖZGEÇMİŞ / BİYOGRAFİ ──────────────────────────────────── */
@media (max-width: 991px) {
    .biography-content {
        padding: 40px 0 !important;
    }
}

@media (max-width: 767px) {
    .biography-content {
        padding: 25px 0 !important;
    }

    /* Başkan fotoğrafı */
    .biography-page .mayor-photo,
    .biography-page .baskan-img {
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto 20px !important;
        display: block !important;
    }
}

/* ── OTOBÜS / SCHEDULE ──────────────────────────────────────── */
@media (max-width: 767px) {
    .bus-content {
        padding: 30px 0 50px !important;
    }

    .schedule-card {
        margin: 0 !important;
        border-radius: 14px !important;
    }
}

/* ── ECZANE ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .pharmacy-card,
    .eczane-card {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
}

/* ── HAVA DURUMU ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .weather-page .temperature,
    .weather-temp {
        font-size: 56px !important;
    }
}

/* ── KARAR / IHALE / RUHSAT TABLOLARI ───────────────────────── */
@media (max-width: 767px) {
    .karar-page .table,
    .ihale-page .table,
    .ruhsat-page .table {
        font-size: 13px !important;
    }

    .karar-page .table td,
    .karar-page .table th,
    .ihale-page .table td,
    .ihale-page .table th {
        padding: 8px 10px !important;
    }
}

/* ── NİKAH / CENAZE / VEFAT ─────────────────────────────────── */
@media (max-width: 767px) {
    .nikah-card,
    .cenaze-card,
    .vefat-card,
    .isyeri-card,
    .ruhsat-card {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
}

/* ── PROJE DETAY / SERVİS DETAY ─────────────────────────────── */
@media (max-width: 767px) {
    .project-detail-page .detail-content,
    .services-detail-page .detail-content {
        padding: 25px 0 !important;
    }

    .detay-page .detail-image {
        border-radius: 10px !important;
    }
}

/* ── CULTURAL HERITAGE / KÜLTÜR VARLIK ──────────────────────── */
@media (max-width: 767px) {
    .kulturvarlik-page .item-card {
        padding: 15px !important;
    }
}

/* ── MUHTAR / ESKİ BAŞKAN ───────────────────────────────────── */
@media (max-width: 767px) {
    .muhtar-card,
    .eskibaskan-card {
        padding: 20px 15px !important;
        margin-bottom: 20px !important;
    }

    .eskibaskan-photo {
        width: 80px !important;
        height: 80px !important;
    }
}

/* ── PROJE DETAY ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .main-image-container img {
        height: 360px !important;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }

    .project-gallery {
        padding: 20px !important;
    }

    .project-info {
        padding: 24px 20px !important;
    }
}

@media (max-width: 767px) {
    .main-image-container img {
        height: 240px !important;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .thumbnail-item img {
        height: 70px !important;
    }

    .project-gallery {
        padding: 15px !important;
        border-radius: 14px !important;
    }

    .project-info {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }

    .project-detail-hero {
        padding: 28px 0 !important;
        margin-bottom: 25px !important;
    }

    .project-detail-hero h1 {
        font-size: 22px !important;
    }
}

@media (max-width: 480px) {
    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .thumbnail-item img {
        height: 60px !important;
    }
}
