/* ===== متغیرهای اصلی ===== */
:root {
    --primary: #1a5c3a;
    --primary-light: #2d7a4e;
    --gold: #c9a84c;
    --gold-light: #f0e0b0;
    --cream: #f8f4ef;
    --dark: #1a1a1a;
    --text-light: #f5f0e8;
    --text-muted: #8a7a6a;
    --bg-body: #f8f4ef;
    --bg-card: rgba(255, 255, 255, 0.92);
    --shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.12);
    --radius: 20px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --font: 'Vazir', 'Segoe UI', Tahoma, sans-serif;
    --sidebar-width: 320px;
    --font-size-base: 1rem;
    --card-border-color: rgba(201, 168, 76, 0.15);
    --hero-gradient-1: #1a5c3a;
    --hero-gradient-2: #0d2e1a;
    --footer-bg: var(--primary);
}

.reading-mode {
    --font-size-base: 1.2rem;
}
.reading-mode body {
    font-size: var(--font-size-base);
}
.reading-mode .container {
    max-width: 1000px;
}
.reading-mode h1 {
    font-size: 2.8rem;
}
.reading-mode .card p {
    font-size: 1.15rem;
    line-height: 2.2;
}

[data-theme="night"] {
    --bg-body: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.92);
    --dark: #e2e8f0;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
    --gold-light: rgba(201, 168, 76, 0.12);
    --card-border-color: rgba(201, 168, 76, 0.08);
    --hero-gradient-1: #0f172a;
    --hero-gradient-2: #020617;
    --footer-bg: #0f172a;
    --cream: #1e293b;
}
[data-theme="red"] {
    --bg-body: #fef2f2;
    --bg-card: rgba(255, 255, 255, 0.95);
    --dark: #1a1a1a;
    --text-light: #f5f0e8;
    --text-muted: #64748b;
    --shadow: 0 20px 50px -10px rgba(220, 38, 38, 0.1);
    --gold: #dc2626;
    --gold-light: #fee2e2;
    --card-border-color: rgba(220, 38, 38, 0.15);
    --hero-gradient-1: #7f1d1d;
    --hero-gradient-2: #450a0a;
    --footer-bg: #7f1d1d;
    --cream: #fef2f2;
}
[data-theme="green"] {
    --bg-body: #f0fdf4;
    --bg-card: rgba(255, 255, 255, 0.95);
    --dark: #1a1a1a;
    --text-light: #f5f0e8;
    --text-muted: #64748b;
    --shadow: 0 20px 50px -10px rgba(22, 163, 74, 0.1);
    --gold: #16a34a;
    --gold-light: #dcfce7;
    --card-border-color: rgba(22, 163, 74, 0.15);
    --hero-gradient-1: #14532d;
    --hero-gradient-2: #052e16;
    --footer-bg: #14532d;
    --cream: #f0fdf4;
}
[data-theme="blue"] {
    --bg-body: #eff6ff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --dark: #1a1a1a;
    --text-light: #f5f0e8;
    --text-muted: #64748b;
    --shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.1);
    --gold: #2563eb;
    --gold-light: #dbeafe;
    --card-border-color: rgba(37, 99, 235, 0.15);
    --hero-gradient-1: #1e3a5f;
    --hero-gradient-2: #0f172a;
    --footer-bg: #1e3a5f;
    --cream: #eff6ff;
}
[data-theme="gold"] {
    --bg-body: #fef9e7;
    --bg-card: rgba(255, 255, 255, 0.95);
    --dark: #1a1a1a;
    --text-light: #f5f0e8;
    --text-muted: #64748b;
    --shadow: 0 20px 50px -10px rgba(212, 161, 75, 0.15);
    --gold: #b7791f;
    --gold-light: #fef3c7;
    --card-border-color: rgba(212, 161, 75, 0.2);
    --hero-gradient-1: #78350f;
    --hero-gradient-2: #451a03;
    --footer-bg: #78350f;
    --cream: #fef9e7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    font-size: var(--font-size-base);
    background: var(--bg-body);
    color: var(--dark);
    line-height: 1.8;
    padding-top: 70px;
    transition: background var(--transition), color var(--transition), font-size var(--transition);
}

/* ===== مودال اطلاعیه مهم ===== */
.notice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.notice-modal-overlay.show {
    display: flex;
    animation: modalFadeIn 0.4s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.notice-modal-box {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 3px solid var(--gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}
.notice-modal-icon { font-size: 3.5rem; margin-bottom: 0.5rem; }
.notice-modal-title { color: var(--gold); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.8rem; }
.notice-modal-text { color: var(--dark); font-size: 1.1rem; line-height: 1.8; margin-bottom: 1.5rem; }
.notice-modal-btn {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}
.notice-modal-btn:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4); }

/* ===== منوی بالایی ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(26, 92, 58, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    gap: 0.5rem;
    transition: background var(--transition), border-color var(--transition);
}
.navbar .logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}
.navbar .logo span { color: var(--text-light); font-weight: 300; }
.navbar .nav-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    list-style: none;
}
.navbar .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
}
.navbar .nav-links a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}
.navbar .nav-links .admin-link {
    background: var(--gold);
    color: var(--dark);
    border-radius: 50px;
    padding: 0.2rem 1rem;
    font-weight: 700;
}
.navbar .nav-links .admin-link:hover { background: #b88a3a; color: #fff; }

/* ===== دکمه همبرگری ===== */
.hamburger-btn {
    position: fixed;
    top: 0.8rem;
    left: 1.2rem;
    width: 46px;
    height: 46px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hamburger-btn:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(201, 168, 76, 0.5); }
.hamburger-btn:active { transform: scale(0.92); }

/* ===== پنل کناری ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    max-width: 85%;
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 2px solid var(--gold);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.sidebar.open { transform: translateX(0); }
.sidebar .close-btn {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0.2rem;
}
.sidebar .close-btn:hover { transform: rotate(90deg); }
.sidebar .sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.3rem;
}
.sidebar .theme-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sidebar .theme-grid .btn {
    flex: 1 0 calc(50% - 0.25rem);
    padding: 0.5rem 0.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.sidebar .theme-grid .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.btn-night { background: #1e293b; }
.btn-day { background: #94a3b8; color: #1e293b; }
.btn-red { background: #dc2626; }
.btn-green { background: #16a34a; }
.btn-blue { background: #2563eb; }
.btn-gold { background: #c9a84c; color: #1a1a1a; }
.btn-reset { background: #94a3b8; color: #1a1a1a; }
.sidebar .divider {
    height: 1px;
    background: var(--gold-light);
    margin: 0.2rem 0;
}
.sidebar .reading-btn {
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    background: #8b5cf6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.sidebar .reading-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4); }
.sidebar .reading-btn.active { background: #f59e0b; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.sidebar .creator-section {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid var(--gold-light);
    text-align: center;
}
.sidebar .creator-section .label { font-size: 0.8rem; color: var(--text-muted); }
.sidebar .creator-section .name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    cursor: pointer;
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
    transition: all var(--transition);
}
.sidebar .creator-section .name:hover { background: var(--gold-light); transform: scale(1.05); }

/* ===== هدر ===== */
.hero {
    background: linear-gradient(145deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 100%);
    color: var(--text-light);
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
    margin: 0 1rem 2rem;
    box-shadow: var(--shadow);
    transition: background var(--transition);
}
.hero::before {
    content: '🕌';
    position: absolute;
    top: -20%;
    right: -10%;
    font-size: 12rem;
    opacity: 0.05;
    pointer-events: none;
}
.hero .badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.5rem; }
.hero h1 .gold { color: var(--gold); }
.hero p { font-size: 1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 1.2rem; }
.hero .quick-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}
.hero .quick-info span {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== بخش‌ها ===== */
.section {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}
.section.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    border-right: 6px solid var(--gold);
    padding-right: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border-color);
    transition: all var(--transition);
    margin-bottom: 1.5rem;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12); }
.card p { margin-bottom: 1rem; color: var(--dark); }
.card p:last-child { margin-bottom: 0; }

/* ===== اسکلت لودینگ ===== */
.skeleton {
    background: linear-gradient(90deg, var(--gold-light) 25%, var(--bg-card) 50%, var(--gold-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton-text { height: 1rem; margin-bottom: 0.5rem; width: 100%; }
.skeleton-text.short { width: 60%; }
.skeleton-image { height: 150px; width: 100%; border-radius: 12px; }

/* ===== شبکه ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ===== کارت‌های خبر ===== */
.news-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border-color);
    transition: all var(--transition);
    cursor: pointer;
    overflow: hidden;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15); border-color: var(--gold); }
.news-card .category {
    display: inline-block;
    background: var(--gold-light);
    color: var(--primary);
    padding: 0.15rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.news-card h4 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--dark); }
.news-card .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.news-images-grid {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.news-images-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--card-border-color);
    transition: transform var(--transition);
}
.news-images-grid img:hover { transform: scale(1.02); }
.btn-read-more {
    display: inline-block;
    margin-top: 0.6rem;
    background: var(--gold);
    color: var(--dark);
    padding: 0.3rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.2);
}
.btn-read-more:hover { transform: scale(1.04); box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35); background: #b88a3a; color: #fff; }

/* ===== فیلتر و جستجو ===== */
.news-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    align-items: center;
}
.news-filter-bar input {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--card-border-color);
    background: var(--bg-body);
    color: var(--dark);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.news-filter-bar input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15); }
.filter-btn-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.3rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--card-border-color);
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
    font-size: 0.85rem;
}
.filter-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.filter-btn:hover { background: var(--gold-light); }

/* ===== گالری ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: var(--gold-light);
    border: 1px solid var(--card-border-color);
    transition: all var(--transition);
    cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); border-color: var(--gold); }
.gallery-item img { width: 100%; height: 150px; object-fit: cover; }
.gallery-item .gallery-title { padding: 0.3rem 0.5rem; font-size: 0.8rem; color: var(--dark); text-align: center; }

/* ===== مودال‌ها ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-box h3 { color: var(--gold); margin-bottom: 0.5rem; }
.modal-box .form-group { margin-bottom: 1rem; text-align: right; }
.modal-box label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.2rem; }
.modal-box input {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--card-border-color);
    background: var(--bg-body);
    color: var(--dark);
    font-size: 1rem;
    font-family: var(--font);
    transition: all var(--transition);
}
.modal-box input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15); }
.modal-box .actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.modal-box .actions .btn { padding: 0.5rem 1.5rem; border-radius: 50px; border: none; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.modal-box .actions .btn-confirm { background: var(--gold); color: var(--dark); }
.modal-box .actions .btn-confirm:hover { transform: scale(1.05); }
.modal-box .actions .btn-cancel { background: #94a3b8; color: #1a1a1a; }
.modal-box .actions .btn-cancel:hover { background: #64748b; color: #fff; }

/* ===== Lightbox ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay .lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}
.lightbox-overlay .lightbox-close {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all var(--transition);
}
.lightbox-overlay .lightbox-close:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== فوتر ===== */
.footer {
    background: var(--footer-bg);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 1.5rem;
    margin-top: 3rem;
    border-top: 4px solid var(--gold);
    transition: background var(--transition), border-color var(--transition);
}
.footer .gold { color: var(--gold); }
.footer p { font-size: 0.9rem; opacity: 0.7; margin-top: 0.5rem; }

/* ===== دکمه بازگشت به بالا ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 12px 32px rgba(201, 168, 76, 0.5); }

/* ===== واکنش‌گرایی ===== */
@media (max-width: 768px) {
    body { padding-top: 100px; }
    .navbar { flex-direction: column; padding: 0.6rem 1rem; }
    .navbar .nav-links { gap: 0.5rem; justify-content: center; }
    .navbar .nav-links a { font-size: 0.75rem; padding: 0.2rem 0.4rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 2rem 1rem 1.8rem; margin: 0 0.5rem 1.5rem; }
    .section { padding: 0 1rem; }
    .section-title { font-size: 1.3rem; }
    .card { padding: 1rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .scroll-top { width: 42px; height: 42px; font-size: 1.2rem; bottom: 1.5rem; left: 1.5rem; }
    .hamburger-btn { top: 0.6rem; left: 0.8rem; width: 40px; height: 40px; font-size: 1.2rem; }
    .sidebar { width: 280px; padding: 1.5rem 1rem; }
    .modal-box { padding: 1.5rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .notice-modal-box { padding: 1.5rem; }
    .notice-modal-title { font-size: 1.3rem; }
    .news-filter-bar { flex-direction: column; align-items: stretch; }
    .news-filter-bar input { min-width: auto; }
    .news-images-grid img { height: 120px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.4rem; }
    .hero .quick-info { gap: 0.8rem; font-size: 0.8rem; }
    .navbar .logo { font-size: 0.95rem; }
    .section-title { font-size: 1.1rem; }
    .news-images-grid img { height: 100px; }
}