/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2d5016;
    --color-primary-dark: #1a3a0a;
    --color-primary-light: #4a7a2e;
    --color-accent: #c8a45a;
    --color-bg: #fafaf5;
    --color-bg-alt: #f0ede4;
    --color-text: #2c2c2c;
    --color-text-light: #666;
    --color-white: #fff;
    --color-footer-bg: #1a1a1a;
    --color-footer-text: #ccc;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: 0.3s ease;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    background: var(--color-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    font-size: 1.8rem;
}

.brand-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

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

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--color-text-light);
    letter-spacing: 1px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

/* Hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    text-align: center;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.4);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-primary:hover {
    background: #d4b066;
    transform: translateY(-2px);
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 92vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 0;
}

.slide-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Slide Background with Ken Burns zoom */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.slide-active .slide-bg {
    transform: scale(1.08);
}

/* Gradient overlay - bottom to top */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
}

/* Slide content - left aligned, bottom positioned */
.slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 0 0 100px 0;
}

.slide-content-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    color: var(--color-white);
}

/* Slide tag */
.slide-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.slide-active .slide-tag {
    opacity: 1;
    transform: translateY(0);
}

/* Slide title */
.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
    max-width: 700px;
}

.slide-active .slide-content h1 {
    opacity: 1;
    transform: translateY(0);
}

/* Slide description */
.slide-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
    max-width: 550px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.slide-active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Slider button */
.btn-slider {
    display: inline-block;
    padding: 14px 36px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s, background 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.slide-active .btn-slider {
    opacity: 1;
    transform: translateY(0);
}

.btn-slider:hover {
    background: #d4b066;
    box-shadow: 0 4px 20px rgba(212, 176, 102, 0.4);
    transform: translateY(-2px);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev {
    left: 24px;
}

.slider-next {
    right: 24px;
}

/* Slider Bottom Bar */
.slider-bottom-bar {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Slide Counter */
.slider-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--color-white);
    font-family: inherit;
}

.counter-current {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.counter-sep {
    font-size: 1rem;
    opacity: 0.5;
    margin: 0 2px;
}

.counter-total {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.6;
}

/* Slider Dots with progress */
.slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.slider-dot {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.slider-dot .dot-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--color-white);
    border-radius: 2px;
    transition: none;
}

.slider-dot.active {
    width: 40px;
    background: rgba(255, 255, 255, 0.25);
}

.slider-dot.active .dot-progress {
    animation: dotFill 6s linear forwards;
}

.slider-dot.completed .dot-progress {
    width: 100%;
}

@keyframes dotFill {
    from { width: 0; }
    to { width: 100%; }
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ========== PAGE HERO ========== */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 80px 20px;
}

.page-hero-overlay h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-hero-overlay p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto;
}

/* ========== BOARD CARDS ========== */
.board-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.board-cards-center {
    max-width: 340px;
}

.board-card {
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 36px 24px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.board-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.board-card-president {
    border-top: 4px solid var(--color-accent);
}

.board-card-president .board-avatar {
    width: 100px;
    height: 100px;
}

.board-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 14px rgba(45, 80, 22, 0.25);
    overflow: hidden;
}

.board-avatar-sm {
    width: 68px;
    height: 68px;
}

.board-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.board-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(45, 80, 22, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
}

.board-card-president .board-role {
    background: rgba(200, 164, 90, 0.15);
    color: #8a6d2b;
}

/* ========== SIDEBAR COLLAPSIBLE ========== */
.sidebar-collapsible-toggle {
    justify-content: flex-start;
}

.sidebar-collapsible-toggle .collapsible-chevron {
    transition: transform var(--transition);
}

.sidebar-collapsible-toggle.open .collapsible-chevron {
    transform: rotate(180deg);
}

.sidebar-collapsible-menu {
    display: none;
    padding-left: 16px;
}

.sidebar-collapsible-menu.open {
    display: block;
}

.sidebar-sub-link {
    font-size: 0.85rem;
    padding: 8px 16px;
}

/* ========== SEARCH DROPDOWN ========== */
.search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition);
}

.search-item:hover {
    background: var(--color-bg-alt);
}

.search-item.disabled {
    cursor: default;
    color: var(--color-text-light);
}

.search-item.disabled:hover {
    background: none;
}

/* ========== BOARD EMPTY ========== */
.board-empty {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1rem;
    padding: 20px;
}

/* ========== ADMIN NEWS ========== */
.news-media-preview {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.news-media-preview img {
    max-height: 150px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.news-preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background var(--transition);
}

.news-preview-remove:hover {
    background: #a93226;
}

.news-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-badge-img {
    background: #e3f2fd;
    color: #1565c0;
}

.news-badge-vid {
    background: #fce4ec;
    color: #c62828;
}

.status-draft {
    background: #fff3e0;
    color: #e65100;
}

.news-img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.news-img-thumb {
    position: relative;
    border-radius: var(--radius);
    overflow: visible;
}

.news-img-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ========== NEWS FEED (Facebook-style) ========== */
.feed-page {
    background: #f0f2f5;
    min-height: calc(100vh - 70px);
    padding: 30px 20px;
}

.feed-container {
    max-width: 680px;
    margin: 0 auto;
}

.feed-center-content {
    flex: 1;
    display: flex;
    justify-content: center;
    background: #f0f2f5;
    padding: 30px 20px;
}

.feed-no-sidebar {
    max-width: 100%;
    margin: 0 auto;
}

.feed-center-column {
    width: 100%;
    max-width: 680px;
}

.feed-right-spacer {
    width: 280px;
    flex-shrink: 0;
}

.feed-header {
    margin-bottom: 20px;
}

.feed-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.feed-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

.feed-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e4e6eb;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: feedSpin 0.8s linear infinite;
}

@keyframes feedSpin {
    to { transform: rotate(360deg); }
}

.feed-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.feed-empty svg {
    margin: 0 auto 12px;
    opacity: 0.4;
}

.feed-loading-more {
    text-align: center;
    padding: 20px;
}

.feed-loading-more .feed-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e4e6eb;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: feedSpin 0.8s linear infinite;
}

/* --- Post Card --- */
.feed-post {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.feed-post-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 0;
}

.feed-post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.feed-post-meta {
    display: flex;
    flex-direction: column;
}

.feed-post-source {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.3;
}

.feed-post-time {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.feed-post-title {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 12px 20px 0;
    line-height: 1.4;
    color: var(--color-text);
}

.feed-post-summary {
    padding: 4px 20px 0;
    font-size: 0.92rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.feed-post-text {
    padding: 8px 20px 14px;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--color-text);
    word-wrap: break-word;
}

.feed-read-more {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

.feed-read-more:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* --- Media Slider --- */
.media-slider {
    position: relative;
    overflow: hidden;
    background: #000;
}

.ms-track {
    display: flex;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ms-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 4 / 3;
}

.ms-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.ms-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

/* Arrows */
.ms-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s, opacity 0.2s;
    opacity: 0;
}

.media-slider:hover .ms-arrow {
    opacity: 1;
}

.ms-prev { left: 10px; }
.ms-next { right: 10px; }

.ms-arrow:hover {
    background: #fff;
}

/* Dots */
.ms-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.ms-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.ms-dot.active {
    background: #fff;
    transform: scale(1.25);
}

.ms-dot:hover {
    background: rgba(255,255,255,0.85);
}

/* Counter */
.ms-counter {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 3;
}

/* --- Lightbox --- */
.feed-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.feed-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 6px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 14px;
    border-radius: 20px;
}

/* --- Stats Bar --- */
.feed-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    border-bottom: 1px solid #e4e6eb;
}

.feed-stat-likes {
    display: flex;
    align-items: center;
    gap: 5px;
}

.feed-stat-comments {
    cursor: default;
}

/* --- Action Bar --- */
.feed-actions {
    display: flex;
    border-top: 1px solid #e4e6eb;
    padding: 4px 8px;
}

.feed-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.feed-action-btn:hover {
    background: #f0f2f5;
}

.feed-action-btn.liked {
    color: #e74c3c;
}

.feed-action-btn.liked:hover {
    background: #fce4ec;
}

/* --- Expand Toggle Bar --- */
.feed-expand-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    border-top: none;
    background: #8db580;
    transition: background 0.15s;
    user-select: none;
}

.feed-expand-toggle:hover {
    background: #7da870;
}

.feed-expand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    flex: 1;
    margin: 0;
    padding: 0;
}

.feed-expand-more {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 16px;
}

.feed-expand-more svg {
    transition: transform 0.3s ease;
}

.feed-expand-toggle.open .feed-expand-more svg {
    transform: rotate(180deg);
}

.feed-expand-toggle.open .feed-expand-more span {
    display: none;
}

/* --- Expand Body (animated) --- */
.feed-expand-body {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.feed-expand-body.open {
    overflow: visible;
}

.feed-expand-body {
    background: #8db580;
}

.feed-expand-body .feed-post-summary {
    padding: 12px 20px 0;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.feed-expand-body .feed-post-text {
    padding: 8px 20px 14px;
    color: #fff;
}

.feed-expand-body .feed-comment-section {
    display: block;
}

/* --- Comment Section --- */
.feed-comment-section {
    border-top: none;
    padding: 12px 16px;
    background: #97c08a;
}

.feed-comments-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.feed-comment {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.feed-comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feed-comment-body {
    flex: 1;
    min-width: 0;
}

.feed-comment-bubble {
    background: rgba(255,255,255,0.2);
    border-radius: 18px;
    padding: 8px 14px;
    display: inline-block;
    max-width: 100%;
}

.feed-comment-name {
    font-weight: 600;
    font-size: 0.82rem;
    display: block;
    color: #fff;
}

.feed-comment-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    word-wrap: break-word;
}

.feed-comment-meta {
    display: flex;
    gap: 12px;
    padding: 2px 14px;
    font-size: 0.75rem;
}

.feed-comment-time {
    color: rgba(255,255,255,0.6);
}

.feed-comment-delete {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.feed-comment-delete:hover {
    color: #ffcdd2;
    text-decoration: underline;
}

.feed-no-comments {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    padding: 8px 0;
}

.feed-comment-error {
    text-align: center;
    color: #ffcdd2;
    font-size: 0.85rem;
}

/* --- Comment Input --- */
.feed-comment-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

.feed-comment-input input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e4e6eb;
    border-radius: 24px;
    font-size: 0.88rem;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
}

.feed-comment-input input:focus {
    border-color: var(--color-primary);
}

.feed-comment-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.feed-comment-send:hover {
    background: var(--color-primary-dark);
}

/* --- Share Toast --- */
.feed-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #333;
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.feed-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Feed Responsive --- */
@media (max-width: 1100px) {
    .feed-right-spacer {
        display: none;
    }
}

@media (max-width: 768px) {
    .feed-center-content {
        padding: 0;
    }

    .panel-content.feed-center-content {
        padding: 0;
    }

    .feed-center-column {
        max-width: 100%;
    }

    .feed-page {
        padding: 0;
    }

    .feed-post {
        border-radius: 0;
        margin-bottom: 8px;
        box-shadow: none;
    }

    .feed-post-header {
        padding: 12px 14px 0;
    }

    .feed-post-title {
        padding: 10px 14px 0;
        font-size: 1.05rem;
    }

    .feed-post-summary {
        padding: 4px 14px 0;
    }

    .feed-post-text {
        padding: 6px 14px 12px;
    }

    .ms-slide img,
    .ms-slide video {
        object-fit: cover;
    }

    .ms-arrow {
        opacity: 1;
        width: 32px;
        height: 32px;
    }

    .ms-prev { left: 6px; }
    .ms-next { right: 6px; }

    .feed-stats {
        padding: 8px 14px;
    }

    .feed-action-btn span {
        display: none;
    }

    .feed-action-btn {
        gap: 0;
    }

    .feed-comment-section {
        padding: 10px 12px;
    }
}

/* ========== ADMIN TABLE ========== */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table thead {
    background: var(--color-bg-alt);
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--color-text-light);
    border-bottom: 1px solid #e8e5dc;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0ede4;
    color: var(--color-text);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #fafaf5;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.table-avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Modal Input */
.modal-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--color-bg);
    color: var(--color-text);
}

.modal-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

select.modal-input {
    cursor: pointer;
}

/* ========== ADMIN SLIDES ========== */
.sidebar-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    padding: 16px 16px 6px;
    margin-top: 8px;
    border-top: 1px solid #e8e5dc;
}

.slide-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-bottom: 1px solid #f0ede4;
    transition: background var(--transition);
}

.slide-item:last-child {
    border-bottom: none;
}

.slide-item:hover {
    background: #fafaf5;
}

.slide-item-img {
    width: 120px;
    height: 70px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-bg-alt);
}

.slide-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--color-text-light);
}

.slide-item-info {
    flex: 1;
    min-width: 0;
}

.slide-item-info h4 {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.slide-item-info p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slide-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slide-item-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.btn-icon:hover {
    background: var(--color-bg-alt);
}

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

.btn-delete:hover {
    color: #c0392b;
    border-color: #c0392b;
}

/* ========== SECTIONS ========== */
.section {
    padding: 70px 20px;
}

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

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ========== CATEGORY CARDS ========== */
.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-img {
    height: 200px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.category-card:hover .category-img img {
    transform: scale(1.05);
}

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

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

.category-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.category-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color var(--transition);
}

.category-card:hover .category-link {
    color: var(--color-accent);
}

/* ========== NAVBAR AUTH ========== */
.nav-login-btn {
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: var(--radius);
    padding: 8px 20px !important;
    font-weight: 600;
    margin-left: 8px;
}

.nav-login-btn:hover {
    background: var(--color-primary-light);
    color: var(--color-white) !important;
}

.nav-profile-dropdown {
    position: relative;
    margin-left: 8px;
    flex-shrink: 0;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: var(--transition);
}

.nav-profile-btn:hover {
    background: var(--color-bg-alt);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    overflow: hidden;
    text-transform: uppercase;
}

.nav-profile-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform var(--transition);
}

.profile-dropdown-menu.show .dropdown-arrow,
.nav-profile-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    min-width: 160px;
    overflow: hidden;
    z-index: 1001;
}

.profile-dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--color-text);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
}

.dropdown-item:hover {
    background: var(--color-bg-alt);
}

.dropdown-logout {
    color: #c0392b;
    border-top: 1px solid var(--color-bg-alt);
}

/* ========== AUTH FORMS ========== */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px - 200px);
    padding: 40px 20px;
}

.auth-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.auth-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.auth-subtitle {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.auth-error {
    background: #fdecea;
    color: #c0392b;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group input {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--color-primary);
}

.auth-submit {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 4px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ========== PANEL LAYOUT (PROFILE) ========== */
.panel-layout {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* Sidebar */
.panel-sidebar {
    width: 280px;
    background: var(--color-white);
    border-right: 1px solid #e8e5dc;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-profile {
    text-align: center;
    padding: 32px 24px 24px;
    border-bottom: 1px solid #e8e5dc;
}

.sidebar-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 auto 14px;
    box-shadow: 0 4px 14px rgba(45, 80, 22, 0.3);
    overflow: hidden;
}

.sidebar-name {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 600;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: all var(--transition);
}

.sidebar-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.sidebar-link.active {
    background: rgba(45, 80, 22, 0.08);
    color: var(--color-primary);
    font-weight: 600;
}

.sidebar-link svg {
    flex-shrink: 0;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid #e8e5dc;
}

.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    color: #c0392b;
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.sidebar-logout:hover {
    background: #fdecea;
}

/* Sidebar Mobile Toggle (hamburger/sosis) */
.sidebar-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #c0392b;
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    box-shadow: 0 4px 16px rgba(192,57,43,0.4);
    transition: background 0.2s, transform 0.2s;
}

.sidebar-mobile-toggle:hover {
    background: #a93226;
}

.sidebar-mobile-toggle:active {
    transform: scale(0.92);
}

.sidebar-mobile-toggle span {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Animate to X when open */
.sidebar-mobile-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.sidebar-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.sidebar-mobile-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .sidebar-overlay {
        display: block;
    }
}

/* Panel Content */
.panel-content {
    flex: 1;
    background: var(--color-bg);
    padding: 40px;
    overflow-y: auto;
}

.panel-header {
    margin-bottom: 32px;
}

.panel-title {
    font-size: 1.6rem;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 4px;
}

.panel-subtitle {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Info Cards */
.panel-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 700px;
}

.info-card {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: var(--color-bg-alt);
    border-bottom: 1px solid #e8e5dc;
}

.info-card-header svg {
    color: var(--color-primary);
}

.info-card-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.info-card-body {
    padding: 8px 0;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    transition: background var(--transition);
}

.info-row:not(:last-child) {
    border-bottom: 1px solid #f0ede4;
}

.info-row:hover {
    background: #fafaf5;
}

.info-label {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.88rem;
}

.info-value {
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 500;
}

/* Role Badges */
.role-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-yonetici {
    background: #e74c3c;
    color: #fff;
}

.role-yonetici_yardimcisi {
    background: #e67e22;
    color: #fff;
}

.role-dernek_uyesi {
    background: var(--color-primary);
    color: #fff;
}

.role-genel_uye {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

/* ========== SETTINGS FORM ========== */
.settings-form {
    padding: 24px;
}

.settings-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.settings-field-full {
    padding: 0 24px 0;
}

.settings-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.settings-field input,
.settings-field textarea {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    background: var(--color-bg);
    color: var(--color-text);
    resize: vertical;
}

.settings-field input:focus,
.settings-field textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.settings-field input::placeholder,
.settings-field textarea::placeholder {
    color: #bbb;
}

.settings-actions {
    padding: 20px 24px 4px;
    display: flex;
    justify-content: flex-end;
}

.settings-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    font-size: 0.92rem;
}

/* Toast Notification */
.settings-toast {
    position: fixed;
    top: 90px;
    right: 24px;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2000;
    transform: translateX(120%);
    transition: transform 0.35s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.settings-toast.show {
    transform: translateX(0);
}

.settings-toast.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.settings-toast.error {
    background: #fdecea;
    color: #c0392b;
    border-left: 44px solid #c0392b;
}

/* ========== PASSWORD CHANGE MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.25s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e8e5dc;
}

.modal-header-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.modal-icon {
    width: 44px;
    height: 44px;
    background: rgba(45, 80, 22, 0.1);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    padding: 4px;
    border-radius: 6px;
    transition: all var(--transition);
}

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

.modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-error {
    display: none;
    background: #fdecea;
    color: #c0392b;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 3px solid #c0392b;
}

.modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Password Input with Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding: 11px 44px 11px 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--color-bg);
    color: var(--color-text);
}

.password-input-wrapper input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.password-toggle {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: color var(--transition);
}

.password-toggle:hover {
    color: var(--color-text);
}

/* Password Strength Indicator */
.password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.strength-bars {
    display: flex;
    gap: 4px;
    flex: 1;
}

.strength-bar {
    height: 4px;
    flex: 1;
    border-radius: 2px;
    background: #e0e0e0;
    transition: background var(--transition);
}

.strength-bar.weak { background: #e74c3c; }
.strength-bar.medium { background: #e67e22; }
.strength-bar.good { background: #f1c40f; }
.strength-bar.strong { background: #2ecc71; }

.strength-text {
    font-size: 0.78rem;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.strength-text.weak { color: #e74c3c; }
.strength-text.medium { color: #e67e22; }
.strength-text.good { color: #d4a017; }
.strength-text.strong { color: #27ae60; }

/* Password Rules */
.password-rules {
    list-style: none;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.password-rules li {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.password-rules li .rule-icon::before {
    content: '○';
    font-size: 0.7rem;
}

.password-rules li.rule-pass {
    color: #27ae60;
}

.password-rules li.rule-pass .rule-icon::before {
    content: '✓';
}

.password-rules li.rule-fail {
    color: #e74c3c;
}

.password-rules li.rule-fail .rule-icon::before {
    content: '✕';
}

/* Match Error */
.field-match-error {
    display: none;
    font-size: 0.82rem;
    color: #e74c3c;
    font-weight: 500;
    margin-top: 2px;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 24px;
}

.modal-cancel {
    background: var(--color-bg-alt);
    color: var(--color-text);
    padding: 10px 22px;
    font-size: 0.9rem;
}

.modal-cancel:hover {
    background: #e0ddd4;
}

.modal-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.9rem;
}

.modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.spinner-icon {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sidebar button style (for Şifre Değiştir) */
button.sidebar-link {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-inactive {
    background: #fdecea;
    color: #c0392b;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 50px 20px 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    color: var(--color-white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    font-size: 0.9rem;
    color: var(--color-footer-text);
    transition: color var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none !important;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 16px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .navbar-menu.active {
        display: flex !important;
    }

    .nav-link {
        padding: 12px 14px;
        width: 100%;
    }

    .hero {
        min-height: 350px;
    }

    .hero-slider {
        height: 75vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .slide-content {
        padding: 0 0 90px 0;
    }

    .slide-content-inner {
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 2rem;
        max-width: 100%;
    }

    .slide-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .slide-tag {
        font-size: 0.7rem;
    }

    .btn-slider {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        opacity: 1;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

    .slider-bottom-bar {
        right: 20px;
        bottom: 24px;
        gap: 14px;
    }

    .counter-current {
        font-size: 1.2rem;
    }

    .page-hero {
        padding: 50px 20px;
    }

    .page-hero-overlay h1 {
        font-size: 1.8rem;
    }

    .board-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .board-card {
        padding: 28px 20px;
    }

    .slide-item {
        flex-wrap: wrap;
    }

    .slide-item-img {
        width: 80px;
        height: 50px;
    }

    .category-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-profile-dropdown {
        margin-left: 0;
        width: 100%;
    }

    .nav-profile-btn {
        width: 100%;
        justify-content: flex-start;
    }

    .profile-dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: 1px solid var(--color-bg-alt);
    }

    .profile-dropdown-menu.show {
        display: block;
    }

    .nav-login-btn {
        margin-left: 0;
        text-align: center;
    }

    .auth-card {
        padding: 28px 20px;
    }

    /* Panel Layout Mobile */
    .panel-layout {
        flex-direction: column;
        position: relative;
    }

    .sidebar-mobile-toggle {
        display: flex;
    }

    .panel-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        z-index: 1001;
        border-right: none;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .panel-sidebar.open {
        left: 0;
    }

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

    .sidebar-profile {
        padding: 24px 20px 20px;
    }

    .sidebar-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    .sidebar-nav {
        flex-direction: column;
        overflow-x: visible;
        padding: 12px;
        gap: 4px;
    }

    .sidebar-link {
        white-space: normal;
        padding: 11px 16px;
        font-size: 0.88rem;
    }

    .sidebar-footer {
        padding: 12px;
    }

    .panel-content {
        padding: 24px 16px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 20px;
    }

    .settings-form-grid {
        grid-template-columns: 1fr;
    }

    .settings-toast {
        right: 12px;
        left: 12px;
    }

    .modal-container {
        max-height: 95vh;
    }

    .modal-header {
        padding: 18px 18px 14px;
    }

    .modal-body {
        padding: 18px;
    }

    .modal-footer {
        padding: 14px 18px 18px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}

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

/* Small button variant */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========== CONTACT PAGE ========== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--color-white);
    border-radius: 14px; /* Slightly more rounded */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* More prominent shadow */
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px); /* Lift on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.contact-card-icon {
    font-size: 3rem; /* Larger icon */
    color: var(--color-primary);
    margin-bottom: 20px; /* Space below icon */
}

.contact-card h3 {
    font-size: 1.4rem; /* Slightly larger heading */
    color: var(--color-primary-dark); /* Darker primary color for heading */
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 18px; /* More space below text */
    line-height: 1.6;
}

.contact-card .btn {
    margin-top: auto; /* Push button to bottom */
    padding: 10px 25px; /* Adjust button padding */
    font-size: 0.95rem;
}

.map-container {
    border-radius: 14px; /* Match card border-radius */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Match card shadow */
    margin-top: 40px; /* Increased margin for separation */
}

/* ========== CONTACT FORM ========== */
.contact-form-section {
    margin-top: 50px;
    margin-bottom: 40px;
}

.contact-form-title {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.contact-form {
    background: var(--color-white);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
    font-size: 0.95rem;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--color-bg);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-btn {
    padding: 14px 40px;
    font-size: 1.05rem;
    cursor: pointer;
}

/* ========== KVKK MODAL ========== */
.kvkk-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.kvkk-modal-overlay.active {
    display: flex;
}

.kvkk-modal {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.kvkk-modal h3 {
    font-size: 1.3rem;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
}

.kvkk-modal p {
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.6;
}

.kvkk-modal ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.kvkk-modal ul li {
    color: var(--color-text);
    margin-bottom: 6px;
    line-height: 1.5;
}

.kvkk-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.kvkk-modal-actions .btn {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
}

.btn-secondary {
    background: #e0e0e0;
    color: var(--color-text);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: background var(--transition);
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: background var(--transition);
}

.btn-danger:hover {
    background: #c82333;
}

/* ========== CONTACT TOAST ========== */
.contact-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.contact-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-toast.success {
    background: #28a745;
}

.contact-toast.error {
    background: #dc3545;
}

/* ========== MESSAGE TABLE (Admin) ========== */
.msg-table-wrapper {
    overflow-x: auto;
}

.msg-table {
    width: 100%;
    border-collapse: collapse;
}

.msg-table th,
.msg-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.msg-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.msg-table tbody tr:hover {
    background: rgba(45, 80, 22, 0.04);
}

.msg-unread {
    font-weight: 600;
    background: rgba(45, 80, 22, 0.06);
}

.msg-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.msg-badge-unread {
    background: #dc3545;
    color: #fff;
}

.msg-badge-read {
    background: #e8e8e8;
    color: #666;
}

/* ========== MESSAGE DETAIL MODAL ========== */
.msg-detail-modal {
    max-width: 620px;
    position: relative;
}

.msg-detail-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.msg-detail-close:hover {
    color: #333;
}

.msg-detail-meta {
    margin: 16px 0;
    padding: 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
}

.msg-detail-meta p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.msg-detail-body {
    padding: 20px 0;
    line-height: 1.7;
    white-space: pre-wrap;
    color: var(--color-text);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.msg-detail-info {
    margin-bottom: 16px;
}

.msg-detail-info p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

/* ========== SIDEBAR BADGE ========== */
.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background: #dc3545;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: auto;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .map-container iframe {
        height: 300px;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 20px;
    }
    .kvkk-modal {
        padding: 24px;
    }
}

/* ========== AVATAR / PROFILE ========== */

/* Avatar images — remove green bg when image present */
.sidebar-avatar:has(img),
.nav-avatar:has(img),
.board-avatar:has(img),
.profile-hero-avatar:has(img),
.avatar-upload-preview:has(img) {
    background: none;
    box-shadow: none;
}

.sidebar-avatar img,
.nav-avatar img,
.board-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Profile hero card */
.profile-hero-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.profile-hero-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

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

.profile-hero-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

/* Avatar upload in settings */
.avatar-upload-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 0;
}

.avatar-upload-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid var(--color-bg-alt);
}

.avatar-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-initial {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.avatar-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.avatar-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.avatar-upload-hint {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .avatar-upload-section {
        flex-direction: column;
        text-align: center;
    }

    .profile-hero-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== ABOUT PAGE ========== */

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.about-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
}

.about-card-icon {
    margin-bottom: 16px;
}

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

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.about-list {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
}

.about-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    border-bottom: 1px solid #eee;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
}

.about-president {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.about-president-avatar {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-primary);
}

.about-president-content {
    flex: 1;
}

.about-quote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-quote p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 12px;
    font-style: italic;
}

.about-quote p:last-child {
    margin-bottom: 0;
}

.about-president-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-president-info strong {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.about-president-info span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-president {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-quote {
        border-left: none;
        border-top: 4px solid var(--color-primary);
        padding-left: 0;
        padding-top: 16px;
    }
}

/* ========== GALLERY ========== */

/* Season badges */
.gallery-season-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

.season-kis {
    background: #e3f2fd;
    color: #1565c0;
}

.season-ilkbahar {
    background: #e8f5e9;
    color: #2e7d32;
}

.season-yaz {
    background: #fffde7;
    color: #f9a825;
}

.season-sonbahar {
    background: #fff3e0;
    color: #e65100;
}

/* Gallery filter bar */
.gallery-filter-bar {
    display: flex;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.gallery-filter-bar .gallery-filter-btn {
    flex: 1;
    padding: 12px 8px;
    border: none;
    border-radius: 0;
    background: var(--color-white);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all var(--transition);
    text-align: center;
    position: relative;
}

.gallery-filter-bar .gallery-filter-btn:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #e0e0e0;
}

.gallery-filter-bar .gallery-filter-btn:hover {
    background: #f5f5f5;
    color: var(--color-text);
}

.gallery-filter-bar .gallery-filter-btn.active {
    color: var(--color-white);
}

.gallery-filter-bar .gallery-filter-btn.season-kis.active {
    background: #1565c0;
}

.gallery-filter-bar .gallery-filter-btn.season-ilkbahar.active {
    background: #2e7d32;
}

.gallery-filter-bar .gallery-filter-btn.season-yaz.active {
    background: #f9a825;
    color: #333;
}

.gallery-filter-bar .gallery-filter-btn.season-sonbahar.active {
    background: #e65100;
}

@media (max-width: 480px) {
    .gallery-filter-bar .gallery-filter-btn {
        padding: 10px 4px;
        font-size: 0.8rem;
    }
}

/* Kesfet filter bar */
.kesfet-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.kesfet-filter-row {
    display: flex;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.kesfet-filter-btn {
    flex: 1;
    padding: 12px 8px;
    border: none;
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    position: relative;
}

.kesfet-filter-btn:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #e0e0e0;
}

.kesfet-filter-btn:hover {
    background: #f5f5f5;
    color: var(--color-text);
}

.kesfet-filter-btn.active {
    background: #1976d2;
    color: #fff;
}

/* Type badge on posts */
.kesfet-type-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 4px;
    letter-spacing: 0.3px;
}

.kesfet-badge-gallery {
    background: #e3f2fd;
    color: #1565c0;
}

.kesfet-badge-news {
    background: #fce4ec;
    color: #c62828;
}

.kesfet-season-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 2px;
    background: #e8f5e9;
    color: #2e7d32;
}

@media (max-width: 480px) {
    .kesfet-filter-btn {
        padding: 10px 4px;
        font-size: 0.8rem;
    }
}

/* ========== ADMIN AVATAR EDIT ========== */
.admin-avatar-edit {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--color-border);
    flex-shrink: 0;
}

.admin-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-avatar-preview svg {
    color: var(--color-text-light);
}

.admin-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ========== SITE STATS ========== */
.section-alt {
    background: var(--color-bg-alt);
    padding: 3rem 0;
}

.site-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .site-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}
