/* ==========================================================================
   T.C. ATAŞEHİR BELEDİYESİ KÜLTÜR A.Ş. - LOGO, BUTON & İKON DÜZENLEMELERİ
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --atasehir-red: #e3384c;
    --atasehir-red-dark: #c01d30;
    --atasehir-red-light: #fff1f2;
    
    --navy-dark: #081b35;
    --navy-medium: #112644;
    --navy-light: #1e385c;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-subtle: #f1f5f9;
    
    --gold-accent: #d97706;
    --emerald-green: #059669;
    --emerald-dark: #047857;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-white: #ffffff;

    --border-color: #e2e8f0;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 16px 32px -8px rgba(15, 23, 42, 0.15);

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy-dark);
    font-weight: 800;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* EXTENDED MUNICIPAL FOOTER STYLES */
.site-footer {
    background: #0b1329;
    color: #cbd5e1;
    padding-top: 50px;
    padding-bottom: 30px;
    margin-top: 80px;
    border-top: 4px solid var(--atasehir-red);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 210px repeat(4, 1fr) 180px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.footer-brand-box,
.footer-ataturk-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-ataturk-img {
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
    margin-bottom: 8px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6));
    display: block;
}

.footer-ataturk-quote {
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 4px;
    letter-spacing: 0.2px;
}

.footer-ataturk-sig {
    font-size: 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    color: #ffffff;
    margin-top: 2px;
    letter-spacing: -0.5px;
}

.baskan-bio p {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--atasehir-red);
    display: inline-block;
    padding-bottom: 4px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: justify;
}

.footer-link-item {
    text-align: justify;
    text-justify: inter-word;
}

.footer-link-item a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-link-item a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #94a3b8;
}

/* TOP MUNICIPAL WEATHER & SOCIAL BAR */
.top-weather-bar {
    background: #0b132b;
    color: #e2e8f0;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.moon-icon-glow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f1f5f9 0%, #cbd5e1 60%, #94a3b8 100%);
    box-shadow: 0 0 12px rgba(241, 245, 249, 0.5);
    display: inline-block;
}

.top-pill-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 5px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 500;
}

.pill-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
}

.social-pill-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 5px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-pill-box a {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.social-pill-box a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Header & Navbar Logo Styling */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--atasehir-red);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
}

/* OFFICIAL LOGO DESIGN */
.brand-box {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-box img,
.brand-logo-img {
    height: 80px !important;
    max-height: 80px !important;
    width: auto;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.official-logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--atasehir-red) 0%, var(--atasehir-red-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(227, 56, 76, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.official-logo-icon svg {
    width: 26px;
    height: 26px;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 19px;
    font-weight: 900;
    color: var(--navy-dark);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.brand-title span {
    color: var(--atasehir-red);
}

.brand-subtitle {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 1px;
}

/* Nav Menu Tabs & Icons */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    flex-shrink: 0;
    margin-left: 90px;
    margin-right: auto;
}

.nav-link {
    background: transparent;
    border: none;
    color: var(--navy-dark);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.nav-link svg {
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(227, 56, 76, 0.08);
    color: var(--atasehir-red);
}

.nav-link:hover svg {
    color: var(--atasehir-red);
}

.nav-link.active {
    background: var(--atasehir-red);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(227, 56, 76, 0.3);
}

.nav-link.active svg {
    color: var(--text-white);
}

/* DROPDOWN MENU FOR ONLINE İŞLEMLER */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 9px 16px !important;
    border-radius: var(--radius-sm);
    font-weight: 800 !important;
    font-size: 13.5px !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.nav-dropdown-btn svg {
    color: #ffffff !important;
}

.dropdown-menu-box {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 230px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--navy-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.15s ease;
}

.dropdown-item-link:hover {
    background: rgba(227, 56, 76, 0.08);
    color: var(--atasehir-red);
}

.dropdown-section-title {
    font-size: 10.5px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    padding: 10px 16px 4px 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
}

/* HEADER DYNAMIC SLIDER SECTION */
.header-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 0;
    margin-bottom: 36px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--navy-dark);
    height: 360px;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.03);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.slide-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dotted file/mesh pattern */
    background-image: radial-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px);
    background-size: 3px 3px;
    z-index: 1;
    pointer-events: none;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide-overlay {
    width: 100%;
    padding: 50px 60px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.45) 60%, rgba(15, 23, 42, 0) 100%);
    color: #ffffff;
    z-index: 2;
    position: relative;
}

.slide-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    letter-spacing: -0.5px;
}

.slide-subtitle {
    font-size: 18px;
    color: #e2e8f0;
    font-weight: 500;
    max-width: 720px;
    line-height: 1.5;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.slider-btn:hover {
    background: var(--atasehir-red);
    border-color: var(--atasehir-red);
    transform: translateY(-50%) scale(1.08);
}

.slider-btn-prev { left: 24px; }
.slider-btn-next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    right: 36px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition);
}

.dot-item.active {
    background: var(--atasehir-red);
    width: 32px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .header-slider-wrapper { height: 360px; }
    .slide-overlay { padding: 30px 24px; }
    .slide-title { font-size: 24px; }
    .slide-subtitle { font-size: 14px; }
    .slider-btn { width: 40px; height: 40px; }
}

/* PROPER BUTTON STYLING (BUTONLAR) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    user-select: none;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--atasehir-red) 0%, var(--atasehir-red-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(227, 56, 76, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ed4559 0%, var(--atasehir-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(227, 56, 76, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--navy-dark);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: #cbd5e1;
}

.btn-emerald {
    background: linear-gradient(135deg, var(--emerald-green) 0%, var(--emerald-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-emerald:hover {
    background: linear-gradient(135deg, #10b981 0%, var(--emerald-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: var(--radius-sm);
}

/* Hero Section */
.hero-section {
    padding: 30px 0 20px;
}

.hero-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.hero-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--atasehir-red-light);
    color: var(--atasehir-red);
    border: 1px solid rgba(227, 56, 76, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--atasehir-red);
    border-radius: 50%;
}

.hero-title {
    font-size: 36px;
    color: var(--navy-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--atasehir-red);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 15.5px;
    margin-bottom: 26px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: var(--bg-subtle);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--navy-dark);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-visual {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Filter Bar */
.filter-section {
    margin-bottom: 30px;
}

.filter-bar {
    background: var(--bg-white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--navy-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--navy-dark);
    color: var(--text-white);
    border-color: var(--navy-dark);
}

.search-box {
    position: relative;
    width: 280px;
}

.search-input {
    width: 100%;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 9px 16px 9px 40px;
    color: var(--text-main);
    font-size: 13.5px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--atasehir-red);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(227, 56, 76, 0.15);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Cards Grid */
.section-title-box {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-size: 26px;
    color: var(--navy-dark);
}

/* ============ HOMEPAGE CLEAN SECTION BLOCKS (MATCHING IMAGE) ============ */
.hp-section-block {
    margin-bottom: 50px;
    position: relative;
}

.hp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.hp-section-title {
    font-size: 32px;
    font-weight: 900;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0;
}

.hp-section-link {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.hp-section-link:hover { color: var(--navy-dark); }

.hp-cards-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 10px;
}
.hp-cards-row::-webkit-scrollbar {
    display: none;
}

.hp-slider-wrapper {
    position: relative;
    /* Add padding so buttons have space and don't overlap cards */
    padding: 0 45px;
    margin: 0 -15px; /* Slight negative margin so it aligns nicely with text */
}

.hp-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 80px;
    background: #1f2937;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.hp-slider-btn:hover {
    background: #111827;
}
.hp-slider-btn.prev {
    left: 0;
    /* Flat on the right, rounded on the left */
    border-radius: 40px 0 0 40px;
}
.hp-slider-btn.next {
    right: 0;
    /* Flat on the left, rounded on the right */
    border-radius: 0 40px 40px 0;
}

.hp-card {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
}
.hp-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.hp-card-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}
.hp-card-img-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hp-card:hover .hp-card-img-box img { transform: scale(1.03); }

.hp-card-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hp-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hp-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hp-card-desc {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.hp-card-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--atasehir-red);
}

@media (max-width: 992px) {
    .hp-section-title { font-size: 26px; }
    .hp-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 600px) {
    .hp-section-title { font-size: 22px; }
    .hp-card-img-box { height: 200px; }
    .hp-card { flex: 0 0 100%; }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Card Styles */
.card-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(227, 56, 76, 0.4);
}

.card-image-box {
    position: relative;
    height: 210px;
    width: 100%;
    overflow: hidden;
}

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

.card-item:hover .card-img {
    transform: scale(1.04);
}

.card-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 27, 53, 0.85);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 800;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-rez-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--emerald-green);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 20px;
    color: var(--navy-dark);
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fef3c7;
    color: var(--gold-accent);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 12px;
}

.card-location {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 13.5px;
    color: var(--text-main);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tag-pill {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    color: var(--navy-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Pitch Slot Grid */
.slots-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 15px 0;
}

.slot-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--navy-dark);
    padding: 9px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.slot-btn:hover {
    border-color: var(--atasehir-red);
    color: var(--atasehir-red);
}

.slot-btn.selected {
    background: var(--atasehir-red);
    color: #ffffff;
    border-color: var(--atasehir-red);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: var(--transition);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--navy-dark);
    color: #fff;
}

.modal-title {
    font-size: 20px;
    color: #ffffff;
}

.btn-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: var(--atasehir-red);
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--atasehir-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(227, 56, 76, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Ticket Preview */
.ticket-preview {
    background: var(--bg-subtle);
    border: 2px dashed var(--atasehir-red);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-top: 15px;
}

.ticket-qr {
    width: 130px;
    height: 130px;
    margin: 15px auto;
    background: #ffffff;
    padding: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.ticket-qr img {
    width: 100%;
    height: 100%;
}

.ticket-code {
    font-family: monospace;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--navy-dark);
}

/* Admin Dashboard UI */
.admin-section {
    padding: 20px 0;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--atasehir-red-light);
    color: var(--atasehir-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--navy-dark);
}

.kpi-title {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.data-table-container {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-subtle);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
}

.data-table th {
    background: var(--bg-subtle);
    color: var(--navy-dark);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.badge-status {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
}

.badge-approved {
    background: #d1fae5;
    color: var(--emerald-green);
}

.badge-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

/* Mobile App Simulator */
.mobile-simulator-modal {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1500;
}

.mobile-frame {
    width: 360px;
    height: 700px;
    background: #000000;
    border-radius: 44px;
    border: 10px solid #1e293b;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mobile-notch {
    width: 130px;
    height: 22px;
    background: #1e293b;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}

.mobile-screen-content {
    flex-grow: 1;
    overflow-y: auto;
    background: var(--bg-light);
    padding: 35px 16px 16px;
}

@media (max-width: 992px) {
    .hero-card { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ MOBILE HAMBURGER BUTTON ============ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--navy-dark);
    flex-shrink: 0;
}

/* ============ MOBILE RESPONSIVE: TOP BAR + HEADER ============ */
@media (max-width: 900px) {
    /* TOP WEATHER BAR */
    .top-weather-bar { padding: 4px 0; }
    .top-bar-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .top-bar-left { order: 1; width: 100%; justify-content: center; font-size: 11px; }
    .top-pill-box { order: 2; padding: 3px 10px; gap: 10px; font-size: 11px; }
    .social-pill-box { order: 3; padding: 3px 10px; gap: 10px; }
    .social-pill-box a svg { width: 12px; height: 12px; }
}

@media (max-width: 768px) {
    /* TOP BAR - hide weather pills on small screens */
    .top-pill-box { display: none; }
    .top-bar-flex { flex-wrap: nowrap; justify-content: space-between; }
    .top-bar-left { width: auto; }

    /* HEADER */
    .header-inner { padding: 6px 0; gap: 8px; }
    .brand-box img,
    .brand-logo-img {
        height: 50px !important;
        max-height: 50px !important;
    }

    /* HAMBURGER - show */
    .mobile-menu-btn { display: flex; }

    /* NAV MENU - collapsible */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        border-top: 2px solid var(--atasehir-red);
        z-index: 999;
        padding: 8px 0;
        margin-left: 0;
    }
    .nav-menu.open { display: flex; }

    .nav-link {
        padding: 12px 20px;
        border-radius: 0;
        font-size: 14px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-link:last-child { border-bottom: none; }
    .nav-link.active {
        border-radius: 0;
        box-shadow: none;
    }

    /* Make header position relative for absolute nav */
    .main-header { position: sticky; }
    .header-inner { position: relative; }

    /* SLIDER */
    .header-slider-wrapper { height: 280px; }
    .slide-overlay { padding: 20px 16px; }
    .slide-title { font-size: 20px; }
    .slide-subtitle { font-size: 13px; }
    .slider-btn { width: 36px; height: 36px; }

    /* SECTION TITLES */
    .section-title-box { flex-direction: column; align-items: flex-start; gap: 8px; }
    .section-title { font-size: 20px; }
    .section-subtitle { font-size: 13px; }
}

@media (max-width: 480px) {
    /* Very small screens */
    .top-weather-bar { font-size: 10px; }
    .social-pill-box { gap: 8px; }
    .brand-box img,
    .brand-logo-img {
        height: 40px !important;
        max-height: 40px !important;
    }
    .header-slider-wrapper { height: 220px; }
    .slide-title { font-size: 17px; }
    .slide-subtitle { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* FOOTER */
    .footer-top-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .footer-ataturk-box { align-items: center; text-align: center; }
    .footer-ataturk-img { width: 120px !important; max-width: 120px !important; }
    .footer-bottom-bar { flex-direction: column; text-align: center; gap: 8px; }
}

/* MOBILE BOTTOM NAVIGATION BAR (PWA APP FEEL) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    z-index: 9999;
    align-items: center;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
}

.mb-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8; /* muted */
    gap: 4px;
    transition: var(--transition);
    width: 100%;
    height: 100%;
}

.mb-nav-item span {
    font-size: 10px;
    font-weight: 700;
}

.mb-nav-item.active {
    color: var(--atasehir-red);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Ensure body doesn't hide behind the bottom nav */
    body {
        padding-bottom: 70px !important;
    }
    
    /* Hide some elements on mobile to make it feel more like an app */
    .top-bar { display: none; }
    
    /* Hide the web-style hamburger menu since we have bottom nav */
    .mobile-menu-btn { display: none; }
    .navbar-links { display: none !important; }
}

/* KAFELER 3'LÜ GRID DÜZENİ */
.kafeler-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 1024px) {
    .kafeler-three-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 640px) {
    .kafeler-three-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
