/* ==========================================
   RESET & BASE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #f97316;
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --dark-bg-tertiary: #334155;
    --text-light: #f1f5f9;
    --text-gray: #cbd5e1;
    --text-dark: #1e293b;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --storm-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, opacity 0.3s ease;
}

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

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo span {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.nav-menu a.active {
    color: var(--primary-light);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--storm-gradient);
}

.admin-link {
    padding: 0.5rem 1rem !important;
    background: var(--dark-bg-tertiary);
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
}

.admin-link:hover {
    background: var(--primary-color);
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-gray);
    margin: 0.5rem auto;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--storm-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: white;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

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

/* ==========================================
   PAGE SECTIONS
   ========================================== */

.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--text-light);
}

.view-all {
    color: var(--primary-light);
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.view-all:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ==========================================
   ABOUT PREVIEW SECTION (HOME PAGE)
   ========================================== */

.about-preview {
    padding: 6rem 0;
    background: var(--dark-bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image .image-placeholder {
    background: var(--dark-bg-tertiary);
    border-radius: 12px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image svg {
    width: 100px;
    height: 100px;
    color: var(--text-gray);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ==========================================
   RECENT CONTENT SECTION
   ========================================== */

.recent-content {
    padding: 6rem 0;
}

.content-section {
    margin-bottom: 5rem;
}

.blog-grid,
.video-grid,
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ==========================================
   BLOG CARDS
   ========================================== */

.blog-card {
    background: var(--dark-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.blog-card-image {
    height: 200px;
    background: var(--dark-bg-tertiary);
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image svg {
    width: 60px;
    height: 60px;
    color: var(--text-gray);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-card-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.blog-card-date {
    color: var(--text-gray);
}

.blog-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-weight: 700;
}

.blog-card-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   VIDEO CARDS
   ========================================== */

.video-card {
    background: var(--dark-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.video-card-thumbnail {
    position: relative;
    height: 200px;
    background: var(--dark-bg-tertiary);
    overflow: hidden;
}

.video-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-thumbnail .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card-thumbnail svg {
    width: 60px;
    height: 60px;
    color: var(--text-gray);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-icon {
    background: var(--primary-light);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-card-content {
    padding: 1.5rem;
}

.video-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 700;
}

.video-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ==========================================
   PHOTO CARDS
   ========================================== */

.photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--dark-bg-tertiary);
}

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

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-card-overlay {
    transform: translateY(0);
}

.photo-card-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.photo-card-meta {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.photo-card .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-card svg {
    width: 60px;
    height: 60px;
    color: var(--text-gray);
}

/* ==========================================
   BLOG PAGE
   ========================================== */

.blog-section,
.videos-section,
.photos-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.blog-filters,
.video-filters,
.photo-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--dark-bg-secondary);
    color: var(--text-gray);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: var(--storm-gradient);
    color: white;
    border-color: transparent;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.no-content {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.no-content svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    opacity: 0.5;
}

.no-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

.about-content {
    padding: 4rem 0;
}

.about-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.about-image-large .image-placeholder {
    background: var(--dark-bg-secondary);
    border-radius: 12px;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image-large svg {
    width: 120px;
    height: 120px;
    color: var(--text-gray);
}

.team-section,
.mission-section,
.location-section {
    margin-bottom: 5rem;
}

.team-section h2,
.mission-section h2,
.location-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-grid {
    display: grid;
    gap: 3rem;
}

.team-member {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-photo .image-placeholder {
    background: var(--dark-bg-tertiary);
    border-radius: 12px;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo svg {
    width: 80px;
    height: 80px;
    color: var(--text-gray);
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.team-role {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-bio {
    color: var(--text-gray);
    line-height: 1.8;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.mission-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--storm-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.mission-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.mission-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.location-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==========================================
   ADMIN PANEL
   ========================================== */

.admin-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.admin-section {
    padding: 4rem 0;
    min-height: 70vh;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--dark-bg-secondary);
    flex-wrap: wrap;
}

.admin-tab {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-gray);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

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

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

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-panel-header h2 {
    font-size: 2rem;
    color: var(--text-light);
}

.content-list {
    display: grid;
    gap: 1.5rem;
}

.content-item {
    background: var(--dark-bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.content-item-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.content-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.content-item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.settings-content {
    max-width: 800px;
}

.setting-group {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.setting-group h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.setting-group p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.warning-text {
    color: #f59e0b !important;
}

.setting-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   FORMS
   ========================================== */

.admin-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    background: var(--dark-bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--dark-bg-secondary);
}

.form-group small {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* ==========================================
   MODALS
   ========================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--dark-bg-secondary);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-modal-content {
    padding: 2.5rem;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.blog-post-modal-content {
    padding: 3rem;
    max-height: 90vh;
    overflow-y: auto;
}

.video-modal-content {
    padding: 0;
    background: black;
    max-width: 1200px;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg-tertiary);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
}

.form-modal-content h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-light);
}

/* Blog Post Modal */
#modal-post-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

#modal-post-content .post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#modal-post-content .post-category {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

#modal-post-content .post-date {
    color: var(--text-gray);
}

#modal-post-content .post-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 2rem;
}

#modal-post-content .post-content {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

#modal-post-content .post-content h2,
#modal-post-content .post-content h3 {
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#modal-post-content .post-content p {
    margin-bottom: 1.5rem;
}

#modal-post-content .post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Video Modal */
#modal-video-content iframe,
#modal-video-content video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

#modal-video-content .video-info {
    padding: 2rem;
    background: var(--dark-bg-secondary);
}

#modal-video-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

#modal-video-content .video-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

#modal-video-content .video-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Photo Modal */
.photo-modal.active {
    display: flex;
}

.photo-modal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-modal .modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
}

#modal-photo-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.photo-caption {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    max-width: 600px;
    text-align: center;
}

.photo-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-nav:hover {
    background: var(--primary-color);
}

.photo-prev {
    left: 2rem;
}

.photo-next {
    right: 2rem;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--dark-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section h3 {
    font-size: 1.5rem;
    background: var(--storm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

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

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .about-grid,
    .about-main,
    .team-member {
        grid-template-columns: 1fr;
    }

    .blog-posts-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .content-item {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 1rem;
    }

    .form-modal-content,
    .blog-post-modal-content {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .nav-logo-img {
        height: 40px;
    }

    .nav-logo span {
        display: none;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .photo-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .photo-prev {
        left: 1rem;
    }

    .photo-next {
        right: 1rem;
    }
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */

/* Hint to browser which properties will change for better optimization */
.btn,
.blog-card,
.video-card,
.photo-card {
    will-change: transform;
}

.blog-card:hover,
.video-card:hover,
.photo-card:hover,
.btn:hover {
    will-change: auto;
}

/* Enable hardware acceleration for animations */
.hero-content,
.hero-scroll,
.modal-content {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   FORECAST VERIFICATION SYSTEM
   ========================================== */

.forecast-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 6rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.forecast-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--storm-gradient);
    opacity: 0.1;
}

.forecast-section {
    padding: 4rem 0;
    min-height: 60vh;
}

/* Forecast Tabs */
.forecast-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.forecast-tab {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.forecast-tab:hover {
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.05);
}

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

/* Forecast Tab Content */
.forecast-tab-content {
    display: none;
}

.forecast-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.forecast-card {
    background: var(--dark-bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.forecast-card h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group textarea {
    resize: vertical;
}

/* Cities Grid */
.cities-forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.city-forecast-card {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.city-forecast-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.city-forecast-card h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.forecast-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.forecast-inputs .form-group {
    margin-bottom: 0;
}

.forecast-inputs input {
    text-align: center;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--storm-gradient);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

/* Verification Card */
.verification-card,
.history-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.verification-header,
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.verification-header h3,
.history-header h3 {
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.verification-header p,
.history-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.forecast-notes {
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--text-gray);
}

.verification-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-danger {
    background-color: #dc2626;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:disabled {
    background-color: #6b7280;
    cursor: not-allowed;
    transform: none;
}

/* City Verification Grid */
.cities-verification-grid,
.cities-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.city-verification-item,
.city-history-item {
    background: var(--dark-bg-secondary);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.city-verification-item h4,
.city-history-item h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

/* New Forecast Comparison Table Layout */
.forecast-comparison-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forecast-param {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.param-label {
    font-weight: 600;
    color: var(--text-light);
    min-width: 60px;
    font-size: 0.95rem;
}

.param-values {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.value-item {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.value-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.value-number {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.nws-value .value-label {
    color: rgba(251, 146, 60, 0.8);
}

.nws-value .value-number {
    color: var(--secondary-color);
}

/* Old forecast details (keep for backward compatibility) */
.forecast-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forecast-details span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Comparison Grid */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .label {
    font-weight: 600;
    color: var(--text-gray);
}

.comparison-row .forecast {
    color: var(--text-gray);
}

.comparison-row .actual {
    color: var(--primary-light);
    font-weight: 600;
}

.comparison-row .error {
    font-weight: 600;
    text-align: right;
}

.comparison-row .error.good {
    color: #10b981;
}

.comparison-row .error.moderate {
    color: #f59e0b;
}

.comparison-row .error.poor {
    color: #ef4444;
}

.comparison-row .nws-forecast {
    color: var(--secondary-color);
    font-weight: 500;
}

.comparison-row .winner {
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
}

.comparison-row .loser {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.85rem;
}

/* Messages */
.loading-message,
.info-message,
.error-message {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.loading-message {
    background: var(--dark-bg);
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-message {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border: 1px solid var(--primary-light);
}

.error-message,
.error-text {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

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

.auth-message {
    padding: 2rem;
    text-align: center;
    color: var(--text-gray);
    background: var(--dark-bg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-message a {
    color: var(--primary-light);
    text-decoration: underline;
}

.message-banner {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.message-banner.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}

.message-banner.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.message-banner.info {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border: 1px solid var(--primary-light);
}

/* Responsive Design for Forecasts */
@media (max-width: 768px) {
    .forecast-tabs {
        flex-direction: column;
    }

    .forecast-tab {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .forecast-tab.active {
        border-left-color: var(--primary-light);
        border-bottom-color: transparent;
    }

    .cities-forecast-grid,
    .cities-verification-grid,
    .cities-history-grid {
        grid-template-columns: 1fr;
    }

    .verification-header,
    .history-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .comparison-row .error {
        text-align: left;
    }

    .param-values {
        flex-direction: column;
        gap: 0.75rem;
    }

    .forecast-param {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .param-label {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}
