/* ==========================================================================
   KÖK: Gazze Yaşam Ormanı Projesi - Premium CSS Stylesheet
   Design Language: Modern living-monument theme with dark/light harmony.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Color Themes
   -------------------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Theme Colors (Default: Light Theme) */
    --primary: #15452d;
    /* Deep rich forest green */
    --primary-rgb: 21, 69, 45;
    --primary-light: #2d6a4f;
    --primary-hover: #0e301f;
    --accent: #d4af37;
    /* Warm antique gold */
    --accent-hover: #bfa15f;
    --accent-glow: rgba(212, 175, 55, 0.4);

    --bg: #f4f7f5;
    /* Soft herbal white */
    --bg-alt: #e9efe9;
    /* Secondary soft gray-green background */
    --card-bg: #ffffff;
    --card-hover-bg: #fbfdfc;

    --text: #1b2621;
    /* Charcoal green text */
    --text-muted: #5e6f66;
    /* Sage gray text */
    --border: #d0ded6;

    --shadow: rgba(21, 69, 45, 0.08);
    --shadow-hover: rgba(21, 69, 45, 0.16);
    --shadow-glow: rgba(21, 69, 45, 0.25);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(21, 69, 45, 0.08);
    --glass-blur: 15px;

    /* Specific Tree Type Colors */
    --color-olive: #606c38;
    --color-cinar: #d4a373;
    --color-selvi: #283618;
    --color-empty: #e2e8f0;

    /* Transitions & Corners */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="dark"] {
    /* Theme Colors (Dark Theme overrides) */
    --primary: #10b981;
    /* Vivid glowing emerald green */
    --primary-rgb: 16, 185, 129;
    --primary-light: #34d399;
    --primary-hover: #059669;
    --accent: #fbbf24;
    /* Bright solar gold */
    --accent-hover: #f59e0b;
    --accent-glow: rgba(251, 191, 36, 0.4);

    --bg: #050806;
    /* Pure night-green background */
    --bg-alt: #0c120f;
    /* Secondary dark panel */
    --card-bg: #121915;
    --card-hover-bg: #16201b;

    --text: #f0fdf4;
    /* High contrast herbal white */
    --text-muted: #94a89d;
    /* Soft grey-green */
    --border: #223129;

    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(16, 185, 129, 0.15);
    --shadow-glow: rgba(16, 185, 129, 0.3);

    /* Glassmorphism */
    --glass-bg: rgba(18, 25, 21, 0.75);
    --glass-border: rgba(16, 185, 129, 0.12);
    --glass-blur: 15px;

    --color-olive: #84cc16;
    --color-cinar: #f59e0b;
    --color-selvi: #34d399;
    --color-empty: #1e293b;
}

/* --------------------------------------------------------------------------
   2. Resets & Base Configuration
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}

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

/* --------------------------------------------------------------------------
   3. Custom Typography & Decorative UI Components
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-family: var(--font-serif);
}

h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px var(--shadow);
}

.section {
    padding: 100px 0;
    position: relative;
}

.section.alt-bg {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 16px;
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.highlight-text {
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-glow);
    z-index: -1;
    border-radius: 4px;
}

/* Helper Classes */
.w-full {
    width: 100% !important;
}

.hidden-el {
    display: none !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
    width: 100%;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Blur & Mobile Drawer)
   -------------------------------------------------------------------------- */
.blur-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--shadow);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-serif);
    letter-spacing: 1px;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
    color: var(--accent);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--border);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--card-bg);
    z-index: 1100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 30px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.close-drawer {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-drawer:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: auto;
}

.drawer-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.drawer-link:hover {
    color: var(--primary);
    padding-left: 8px;
}

.drawer-actions {
    margin-top: 40px;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    display: block;
    opacity: 1;
}

/* --------------------------------------------------------------------------
   5. Buttons (CTA & General Interactive States)
   -------------------------------------------------------------------------- */
.btn,
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.95rem;
}

.btn-primary,
.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover,
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

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

.btn-secondary {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--primary);
    box-shadow: 0 4px 10px var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--border);
    box-shadow: 0 6px 15px var(--shadow-hover);
}

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

/* Text Highlights & States */
.text-olive {
    color: var(--color-olive);
}

.text-cinar {
    color: var(--color-cinar);
}

.text-selvi {
    color: var(--color-selvi);
}

.bg-olive {
    background-color: var(--color-olive);
}

.bg-cinar {
    background-color: var(--color-cinar);
}

.bg-selvi {
    background-color: var(--color-selvi);
}

.bg-empty {
    background-color: var(--color-empty);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.92) 0%, rgba(var(--primary-rgb), 0.75) 100%), url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(212, 175, 55, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    animation: pulseGlow 10s infinite alternate ease-in-out;
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(-10px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary-light);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.75rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--primary);
    color: #ffffff;
}

.stat-info h3 {
    font-size: 2rem;
    font-family: var(--font-sans);
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(-50px, 50px);
    }
}

/* --------------------------------------------------------------------------
   7. Interactive Metaverse Map ("Hafıza Ormanı")
   -------------------------------------------------------------------------- */
.map-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 45px var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px 4px 4px 16px;
    width: 100%;
    max-width: 400px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-box i {
    color: var(--text-muted);
    margin-right: 12px;
}

.search-box input {
    color: var(--text);
    flex: 1;
    font-weight: 500;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-hover);
}

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

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.filter-btn:hover {
    background: var(--border);
    color: var(--text);
}

.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.canvas-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    height: 550px;
    cursor: grab;
}

.canvas-container:active {
    cursor: grabbing;
}

#forestCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Floating Detail Card (Aesthetic Jewel) */
.floating-detail-card {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 320px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--shadow-glow);
    padding: 20px;
    z-index: 10;
    pointer-events: none;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease, top 0.1s ease, left 0.1s ease;
}

.floating-detail-card.active {
    pointer-events: auto;
    transform: scale(1);
    opacity: 1;
}

.floating-detail-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tree-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--bg-alt);
    color: var(--primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.coordinate {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
}

.close-card-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-card-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transform: scale(1.1);
}

.floating-detail-card.pinned {
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(18, 142, 91, 0.35);
}

.floating-detail-card .card-body h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.martyr-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.donor-msg {
    font-style: italic;
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 12px;
}

.donor-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.view-video-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
}

.view-video-link:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Audio Narrative & Spatial Sound UI */
.audio-narrative-container {
    margin: 12px 0;
    padding: 10px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
    transition: var(--transition);
}

.audio-narrative-container:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--primary-light);
}

.play-narrative-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.play-icon-box {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
    transition: var(--transition);
}

.play-narrative-btn:hover .play-icon-box {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.narrative-info {
    flex: 1;
}

.narrative-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 16px;
}

.waveform .bar {
    width: 2px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 1px;
    transition: height 0.2s ease;
}

/* Waveform Animation when active */
.waveform.playing .bar {
    animation: wave 1s infinite ease-in-out;
}

.waveform.playing .bar:nth-child(1) { animation-delay: 0.0s; }
.waveform.playing .bar:nth-child(2) { animation-delay: 0.1s; }
.waveform.playing .bar:nth-child(3) { animation-delay: 0.2s; }
.waveform.playing .bar:nth-child(4) { animation-delay: 0.3s; }
.waveform.playing .bar:nth-child(5) { animation-delay: 0.4s; }
.waveform.playing .bar:nth-child(6) { animation-delay: 0.5s; }
.waveform.playing .bar:nth-child(7) { animation-delay: 0.6s; }
.waveform.playing .bar:nth-child(8) { animation-delay: 0.7s; }
.waveform.playing .bar:nth-child(9) { animation-delay: 0.8s; }
.waveform.playing .bar:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

.audio-ambient-info {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    display: none;
    animation: fadeIn 0.3s ease forwards;
}

.audio-narrative-container.playing .audio-ambient-info {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Zoom Controls Overlay */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zoom-controls button {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px var(--shadow);
    transition: var(--transition);
}

.zoom-controls button:hover {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

/* Map Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   8. Custom Physical Design Tabs (Yaşayan Bir Anıt Park)
   -------------------------------------------------------------------------- */
.custom-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--border);
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 8px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-contents {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.tab-pane.active {
    display: block;
    animation: fadeInTab 0.4s forwards ease;
}

@keyframes fadeInTab {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pane-text h3 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.pane-text>p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.design-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.design-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.list-num {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

.list-text strong {
    font-size: 1.05rem;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.list-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Visual Placeholders - Premium Gradient Overlays */
.pane-visual {
    width: 100%;
}

.visual-placeholder {
    height: 380px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px var(--shadow);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.visual-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px var(--shadow-hover);
}

/* Styled backgrounds representing components */
.arch-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/kudus_avlusu.png');
    background-size: cover;
    background-position: center;
}

.arch-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.6) 80%);
    border: 2px dashed var(--accent);
    margin: 20px;
    border-radius: var(--radius-md);
}

.picnic-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/dogal_oyun.png');
    background-size: cover;
    background-position: center;
}

.picnic-bg::before {
    content: '\f2e7';
    /* FontAwesome Fork & Knife */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.06);
    position: absolute;
    top: 30%;
    left: 40%;
}

.totem-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/akilli_totem.png');
    background-size: cover;
    background-position: center;
}

.ecosystem-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hasat_ekosistemi.png');
    background-size: cover;
    background-position: center;
}

.museum-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hanzala_muze.png');
    background-size: cover;
    background-position: center;
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
}

.v-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.visual-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sustainable Tech Box */
.tech-info-box {
    margin-top: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 25px var(--shadow);
    align-items: center;
}

.info-icon {
    font-size: 2rem;
    color: var(--accent);
}

.info-content h4 {
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Etki Paneli (Project Funding)
   -------------------------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--primary-light);
}

.project-img {
    height: 220px;
    padding: 24px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.water-well-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/su_kuyusu.png');
    background-size: cover;
    background-position: center;
}

.library-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/gezici_kutuphane.png');
    background-size: cover;
    background-position: center;
}

.prosthetics-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/protez_atolyesi.png');
    background-size: cover;
    background-position: center;
}

.proj-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.project-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-body h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    flex: 1;
}

.progress-container {
    margin-bottom: 24px;
}

.progress-bar-wrap {
    height: 8px;
    background: var(--bg-alt);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--primary-light));
    border-radius: var(--radius-full);
    position: relative;
    box-shadow: 0 0 8px var(--accent-glow);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.badge-donor-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-donate-project {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-donate-project:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ==========================================================================
   9.5. Bütçe ve Gelir Modeli (Financial & Sustainability Panel)
   ========================================================================== */
#butce-ve-gelir-paneli {
    position: relative;
    overflow: hidden;
}

.financial-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.financial-tabs {
    display: flex;
    gap: 15px;
    background: var(--bg-alt);
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.f-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.f-tab-btn i {
    font-size: 1.1rem;
}

.f-tab-btn:hover {
    color: var(--text);
}

.f-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

/* Panes visibility */
.f-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.f-tab-pane.active {
    display: block;
    animation: fadeInTab 0.4s forwards ease;
}

/* Key Figures Summary Cards */
.financial-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.f-summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.f-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary-light);
}

.f-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.capex-icon {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
}

.opex-icon {
    background: rgba(96, 108, 56, 0.1);
    color: var(--color-olive);
}

.total-icon {
    background: rgba(21, 69, 45, 0.1);
    color: var(--primary);
}

.primary-theme-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border: none;
    color: #ffffff;
}

.primary-theme-card .f-card-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.primary-theme-card .f-card-info span {
    color: rgba(255, 255, 255, 0.7);
}

.primary-theme-card .f-card-info p {
    color: rgba(255, 255, 255, 0.8);
}

.primary-theme-card:hover {
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.3);
}

.f-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.f-card-info span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.f-card-info h3 {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.primary-theme-card .f-card-info h3 {
    color: #ffffff;
}

.f-card-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Inner Tabs Selection (CapEx / OpEx details) */
.inner-tabs-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow);
}

.inner-tabs-list {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 15px;
}

.inner-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.inner-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: var(--transition);
}

.inner-tab-btn:hover {
    color: var(--text);
}

.inner-tab-btn.active {
    color: var(--primary);
}

.inner-tab-btn.active::after {
    background: var(--primary);
}

.inner-pane {
    display: none;
    opacity: 0;
}

.inner-pane.active {
    display: block;
    animation: fadeInTab 0.3s forwards ease;
}

/* Tables Styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.premium-table th {
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 700;
    padding: 16px 20px;
    border-bottom: 2px solid var(--border);
}

.premium-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}

.premium-table tbody tr:hover {
    background: rgba(var(--primary-rgb), 0.02);
}

.table-group-header {
    background: rgba(var(--primary-rgb), 0.01);
    font-weight: 700;
    color: var(--primary);
    border-right: 1px solid var(--border);
    line-height: 1.4;
}

.table-group-header small {
    display: block;
    margin-top: 4px;
    font-weight: 600;
}

.table-total-row {
    font-weight: 800;
    background: var(--bg-alt);
    font-size: 1.05rem;
}

.table-total-row td {
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.text-right {
    text-align: right;
}

.text-olive {
    color: var(--color-olive) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-selvi {
    color: var(--color-selvi) !important;
}

/* Pane 2: Revenue Model Details */
.sustainability-info-box {
    background: rgba(21, 69, 45, 0.04);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 24px 30px;
    margin-bottom: 40px;
}

.sustainability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.15);
}

.sustainability-info-box p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.sustainability-info-box p strong {
    color: var(--primary);
}

.revenue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.revenue-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.revenue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary-light);
}

.rev-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rev-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.rev-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.bg-olive {
    background: rgba(96, 108, 56, 0.1);
    color: var(--color-olive);
}

.bg-cinar {
    background: rgba(212, 163, 115, 0.15);
    color: var(--color-cinar);
}

.bg-selvi {
    background: rgba(40, 54, 24, 0.1);
    color: var(--color-selvi);
}

.bg-primary {
    background: rgba(21, 69, 45, 0.1);
    color: var(--primary);
}

.revenue-card h3 {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.rev-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.rev-value small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.revenue-card .divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

.revenue-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.revenue-card ul li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.revenue-card ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.85rem;
}

.highlight-rev-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.02) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.highlight-rev-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    transform: rotate(45deg);
    opacity: 0.1;
}

.highlight-rev-card .rev-icon {
    background: var(--primary);
    color: #ffffff;
}

.highlight-rev-card .rev-value {
    color: var(--primary);
}

/* Responsive adjustments inside CSS */
@media (max-width: 768px) {
    .financial-tabs {
        flex-direction: column;
        border-radius: var(--radius-md);
        width: 100%;
    }

    .f-tab-btn {
        width: 100%;
        justify-content: center;
    }

    .inner-tabs-list {
        flex-direction: column;
        gap: 5px;
        border-bottom: none;
    }

    .inner-tab-btn::after {
        display: none;
    }

    .inner-tab-btn {
        text-align: center;
        border-bottom: 2px solid transparent;
        padding-bottom: 10px;
    }

    .inner-tab-btn.active {
        border-bottom-color: var(--primary);
    }

    .premium-table th,
    .premium-table td {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .table-group-header {
        border-right: none;
        display: block;
        width: 100%;
    }
}


/* --------------------------------------------------------------------------
   10. Anı Defteri ("Hafıza Zinciri" & Moderasyon)
   -------------------------------------------------------------------------- */
.guestbook-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.message-form-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px var(--shadow);
}

.message-form-box h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-status-alert {
    display: none;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 20px;
}

/* Feed Wrapper & Tabs */
.feed-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feed-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
}

.feed-tab-btn {
    padding: 12px 24px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feed-tab-btn:hover {
    color: var(--primary);
}

.feed-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.badge-count {
    background: var(--primary);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.feed-content {
    display: none;
    flex-direction: column;
    gap: 16px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}

.feed-content.active {
    display: flex;
}

.feed-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.feed-card:hover {
    border-color: var(--border);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.feed-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.author-info h4 {
    font-size: 0.95rem;
    color: var(--text);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.feed-date {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feed-body {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

/* Admin Moderation Panel Details */
.demo-notice {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    padding: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.8rem;
    color: var(--text);
    margin-bottom: 10px;
}

.ai-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.ai-passed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.ai-flagged {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.mod-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.mod-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-approve {
    background: #059669;
    color: #ffffff;
}

.btn-approve:hover {
    background: #047857;
}

.btn-reject {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-reject:hover {
    background: #dc2626;
    color: #ffffff;
}

.mod-actions button:disabled {
    background: var(--bg-alt);
    color: var(--text-muted);
    cursor: not-allowed;
    border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   11. Karar Odası ( Oylama )
   -------------------------------------------------------------------------- */
.decision-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.decision-voting-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px var(--shadow);
}

.decision-voting-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.decision-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.voting-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.vote-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-alt);
}

.vote-option:hover {
    border-color: var(--primary-light);
    background: var(--card-bg);
}

.vote-option input[type="radio"] {
    display: none;
}

.option-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 3px;
    transition: var(--transition);
}

.vote-option input[type="radio"]:checked+.option-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.vote-option input[type="radio"]:checked+.option-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.option-text strong {
    font-size: 0.95rem;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.option-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.decision-results-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px var(--shadow);
    display: flex;
    flex-direction: column;
}

.results-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.result-bar-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.result-bar-wrap {
    height: 14px;
    background: var(--bg-alt);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.result-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-radius: var(--radius-full);
    width: 0;
    /* Dynamic loading in JS */
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

#barWell {
    background: linear-gradient(to right, #10b981, #34d399);
}

#barSolar {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
}

#barToys {
    background: linear-gradient(to right, #3b82f6, #60a5fa);
}

.decision-badge-info {
    margin-top: auto;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.decision-badge-info i {
    font-size: 1.5rem;
    color: var(--primary);
}

.decision-badge-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Transparency & Trust Section (Şeffaflık)
   -------------------------------------------------------------------------- */
.seffaflik-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.seffaflik-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.seffaflik-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--primary-light);
}

.s-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.seffaflik-card:hover .s-icon {
    background: var(--primary);
    color: #ffffff;
}

.seffaflik-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.seffaflik-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pdf-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.pdf-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   13. Donation Modal (Step-by-step Wizard Flow)
   -------------------------------------------------------------------------- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-backdrop.open .modal-card {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text);
}

.modal-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.step-indicator {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.step-indicator.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Step Panes */
.modal-step-pane {
    display: none;
}

.modal-step-pane.active {
    display: block;
}

.modal-step-pane h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.pane-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Tree Grid Selector (Step 1) */
.tree-selection-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.tree-option-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-alt);
}

.tree-option-card:hover {
    border-color: var(--primary-light);
    background: var(--card-bg);
}

.tree-option-card.active {
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 4px 15px var(--shadow);
}

.tree-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.tree-details h5 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2px;
}

.tree-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.price {
    margin-left: auto;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.modal-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 30px;
}

/* Step 2: Customize Details */
.anma-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anma-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.anma-type-btn {
    border: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.anma-type-btn:hover {
    background: var(--border);
    color: var(--text);
}

.anma-type-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.hidden-radio {
    display: none;
}

/* Random Matcher Indicator */
.random-match-box {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px dashed var(--primary);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.random-match-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.random-match-box h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary);
}

.random-match-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Step 3: Payment Box */
.payment-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.payment-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.payment-summary strong {
    font-size: 1.4rem;
    color: var(--primary);
}

/* Step 4: Digital Title (Certificate Structure) */
.success-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.certificate-preview {
    background: #fdfdfb;
    border: 1px solid #d4af37;
    border-radius: var(--radius-sm);
    padding: 30px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    color: #1a2f23;
    position: relative;
}

/* Dark mode override for certificate inside modal */
[data-theme="dark"] .certificate-preview {
    background: #fafaf7;
    color: #111e16;
}

.cert-border {
    border: 2px solid #bfa15f;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: #15452d;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.certificate-preview h2 {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    color: #8c6d2d;
    margin-bottom: 12px;
    text-align: center;
}

.cert-body-text {
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 24px;
    max-width: 420px;
    line-height: 1.5;
}

.cert-meta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.cert-meta-item {
    display: flex;
    flex-direction: column;
}

.cert-meta-item span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7c8e82;
}

.cert-meta-item strong {
    font-size: 0.9rem;
    color: #15452d;
}

.cert-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 16px;
}

.cert-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5c6c61;
}

.cert-qr {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #15452d;
}

.cert-qr i {
    font-size: 1.5rem;
}

.success-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   14. Main Footer Design
   -------------------------------------------------------------------------- */
footer {
    background: #090e0c;
    color: #a3b8ad;
    padding: 80px 0 0;
    font-size: 0.9rem;
    border-top: 2px solid var(--primary-hover);
}

/* Dark mode specific adjustments for footer */
[data-theme="dark"] footer {
    background: #040705;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid #16241e;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-brand .logo-accent {
    background: linear-gradient(135deg, #10b981, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand p {
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: #111c17;
    border: 1px solid #1c2e26;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-group h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 6px;
    position: relative;
}

.footer-links-group h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent);
    margin-top: 8px;
}

.footer-links-group a {
    color: #a3b8ad;
}

.footer-links-group a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-slogan {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slogan-title {
    font-family: var(--font-serif);
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.4;
    font-style: italic;
}

.ministry-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    background: #0e1713;
    border: 1px solid #1c2e26;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.ministry-logos i {
    font-size: 1.75rem;
    color: var(--accent);
}

.ministry-logos span {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.footer-bottom {
    background: #050806;
    padding: 24px 0;
    font-size: 0.8rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p a {
    color: #ffffff;
    font-weight: 700;
}

.footer-bottom p a:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   15. Responsive Adaptability & Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 250px;
    }

    .decision-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions #openDonateModalBtn {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .grid-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pane-visual {
        order: -1;
    }

    .custom-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        justify-content: center;
        border-bottom: none;
        border-left: 2px solid transparent;
        margin-bottom: 0;
    }

    .tab-btn.active {
        border-left-color: var(--primary);
        background: var(--bg-alt);
    }

    .guestbook-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .success-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
    }

    .anma-selectors {
        grid-template-columns: 1fr;
    }

    .modal-card {
        padding: 24px;
    }
}

/* Vision & Technology Section */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vision-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    text-align: center;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.vision-card .v-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.vision-card:hover .v-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.vision-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.vision-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bg-light-alt {
    background-color: #f8fafc;
}

[data-theme="dark"] .bg-light-alt {
    background-color: rgba(255, 255, 255, 0.02);
}

/* --------------------------------------------------------------------------
   15. Sıfır Atık & Ekolojik Dönüşüm Katkısı (Zero Waste Presentation Deck)
   -------------------------------------------------------------------------- */
.zw-tabs-container {
    margin-top: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 40px var(--shadow);
    transition: var(--transition);
}

.zw-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.zw-tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.zw-tab-btn i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.zw-tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    background: rgba(var(--primary-rgb), 0.04);
}

.zw-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.zw-tab-btn.active i {
    transform: rotate(360deg);
    color: var(--accent);
}

.zw-tabs-content {
    position: relative;
}

.zw-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.zw-tab-pane.active {
    display: block;
}

.zw-deck-intro {
    text-align: center;
    margin-bottom: 35px;
}

.zw-deck-intro h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.zw-deck-intro p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Deck Grid */
.zw-deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.zw-deck-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px var(--shadow);
    transition: var(--transition);
}

.zw-deck-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px var(--shadow-hover);
    border-color: var(--primary-light);
}

.zw-card-media {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.zw-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.zw-deck-card:hover .zw-card-media img {
    transform: scale(1.08);
}

.zw-media-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(21, 69, 45, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.zw-media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f392b 0%, #0d1e15 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    gap: 15px;
}

.zw-media-placeholder.accent-theme {
    background: linear-gradient(135deg, #2b391f 0%, #171e11 100%);
    color: var(--accent);
}

.zw-media-placeholder.green-theme {
    background: linear-gradient(135deg, #153c2b 0%, #0b1c14 100%);
    color: #10b981;
}

.zw-media-placeholder i {
    font-size: 3rem;
    transition: var(--transition);
}

.zw-deck-card:hover .zw-media-placeholder i {
    transform: scale(1.15) rotate(15deg);
}

.zw-media-placeholder span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.zw-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.zw-card-body h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.zw-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zw-card-body ul li {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.zw-card-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
    top: -2px;
}

.zw-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.zw-card-cost {
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--border);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zw-card-cost strong {
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 800;
}

/* Cooperation Model */
.cooperation-model-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 45px;
}

.coop-column {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: 0 6px 18px var(--shadow);
    transition: var(--transition);
}

.coop-column.highlight-column {
    border: 1px solid var(--accent);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.08);
    position: relative;
}

.coop-column.highlight-column::after {
    content: 'BAĞIŞÇI ODAKLI';
    position: absolute;
    top: -12px;
    right: 25px;
    background: var(--accent);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.coop-icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.coop-icon-header i {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.coop-column.highlight-column .coop-icon-header i {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
}

.coop-icon-header h4 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
}

.coop-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.coop-column ul li {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.coop-column ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-light);
    top: 2px;
}

.coop-column.highlight-column ul li::before {
    color: var(--accent);
}

/* Mini Budget Table */
.mini-budget-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.mini-budget-title {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.mini-table {
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 4px 15px var(--shadow);
}

.mini-table tr.highlight-row {
    background: rgba(212, 175, 55, 0.06);
}

.mini-table tr.highlight-row td {
    font-weight: 800;
    color: var(--accent) !important;
}

/* Pitch Banner */
.zw-pitch-banner {
    margin-top: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.zw-pitch-quote {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-decor {
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
    display: inline-block;
}

.zw-pitch-quote p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.8;
    color: #ffffff;
    font-style: italic;
}

/* Light / Dark Mode adaptive tokens for Zero Waste */
[data-theme="dark"] .zw-tabs-container {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

[data-theme="dark"] .zw-deck-card {
    background: var(--card-bg);
}

[data-theme="dark"] .coop-column {
    background: var(--card-bg);
}

[data-theme="dark"] .zw-card-cost {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .zw-pitch-banner {
    background: linear-gradient(135deg, #0f1d16 0%, #060c09 100%);
    border: 1px solid var(--glass-border);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}