/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-sage: #8fbc8f;
    --primary-sage-light: #a8d4a8;
    --primary-sage-dark: #6b8e6b;
    --accent-coral: #ff8a80;
    --accent-coral-light: #ffb3b3;
    --accent-lavender: #b39ddb;
    --accent-lavender-light: #d1c4e9;
    --accent-mint: #a7d8bd;
    --accent-peach: #ffcc9c;
    
    /* Neutral Colors */
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-muted: #8394a4;
    --background-primary: #fefefe;
    --background-secondary: #f8faf9;
    --border-light: rgba(143, 188, 143, 0.1);
    --shadow-light: rgba(143, 188, 143, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 20% 80%, rgba(143, 188, 143, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 138, 128, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(179, 157, 219, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    background-attachment: fixed;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 140px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 120px;
    width: 120px;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.logo:hover {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #5a5a5a;
    font-weight: 450;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 0;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.nav-link:hover,
.nav-link.active {
    color: #1a1a1a;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a1a1a 0%, #4a4a4a 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.02);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-btn {
    background: none;
    border: none;
    color: #4a4a4a;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.05);
}

.admin-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #4a4a4a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.admin-btn:hover {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 3px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: #4a4a4a;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 80vh;
    margin-top: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.08) 0%, rgba(255, 138, 128, 0.04) 50%, rgba(179, 157, 219, 0.08) 100%);
}

.hero-content {
    max-width: 1000px;
    z-index: 2;
    position: relative;
}

.hero-title {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-size: 3.5rem;
}

.hero-subtitle {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    font-weight: 300;
}

.hero-inspiration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

.hero-inspiration-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.hero-inspiration-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.1);
    transition: all 0.3s ease;
}

.hero-inspiration-image:hover .hero-inspiration-bg {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.2);
}

.hero-inspiration-text {
    text-align: left;
    padding: 1rem;
}

.hero-inspiration-text blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    line-height: 1.4;
    color: #2a2a2a;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
    font-style: italic;
    position: relative;
}

.hero-inspiration-text blockquote::before {
    content: '"';
    font-size: 3.5rem;
    color: rgba(26, 26, 26, 0.1);
    position: absolute;
    top: -0.8rem;
    left: -0.8rem;
    font-family: 'Playfair Display', serif;
}

.hero-inspiration-text cite {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: #6a6a6a;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Responsive design for combined hero */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-inspiration {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .hero-inspiration-text {
        text-align: center;
    }
    
    .hero-inspiration-text blockquote {
        font-size: 1.4rem;
    }
    
    .hero-inspiration-text blockquote::before {
        font-size: 2.5rem;
        top: -0.5rem;
        left: -0.5rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 1rem;
}

.articles-section {
    margin-bottom: 1rem;
}

.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    color: #5f6368;
}

.no-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.loading {
    text-align: center;
    padding: 4rem 2rem;
    color: #5f6368;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 30px 60px rgba(143, 188, 143, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-sage-light);
}

.article-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-sage-light) 0%, var(--accent-mint) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 300;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-category {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Space Grotesk', sans-serif;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    color: white;
}

/* Category-specific colors */
.article-category[data-category="lifestyle"] {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-sage-light) 100%);
    border-color: var(--primary-sage);
}

.article-category[data-category="psychology"] {
    background: linear-gradient(135deg, var(--accent-lavender) 0%, var(--accent-lavender-light) 100%);
    border-color: var(--accent-lavender);
}

.article-category[data-category="inspiring"] {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-coral-light) 100%);
    border-color: var(--accent-coral);
}

.article-category:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-date {
    color: #9aa0a6;
    font-size: 0.9rem;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.article-excerpt {
    color: #5f6368;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

.read-time {
    color: #9aa0a6;
    font-size: 0.9rem;
    margin-left: auto;
}

/* ===== SEARCH MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9aa0a6;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

.search-container {
    padding: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #1a1a1a;
}

.search-results {
    margin-top: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.search-result-excerpt {
    color: #5f6368;
    font-size: 0.9rem;
}

/* ===== ARTICLE MODAL ===== */
.article-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.article-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.article-modal.active .article-modal-content {
    transform: translateY(0);
}

.article-modal-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
    z-index: 10;
}

.article-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9aa0a6;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.article-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

.article-modal-body {
    padding: 2rem 3rem 3rem;
}

.article-modal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.article-modal-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.article-modal-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c2c2c;
}

.article-modal-content-body h1,
.article-modal-content-body h2,
.article-modal-content-body h3 {
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

.article-modal-content-body p {
    margin-bottom: 1.5rem;
}

.article-modal-content-body blockquote {
    border-left: 3px solid #1a1a1a;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #5f6368;
}

/* ===== ADMIN LOGIN MODAL ===== */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.admin-modal-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    width: 90%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.admin-modal.active .admin-modal-content {
    transform: translateY(0);
}

/* Admin Modal Specific Styling */
#admin-modal .modal-content {
    max-width: 420px;
    padding: 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

#admin-modal .modal-header {
    padding: 2.5rem 2.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#admin-modal .modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
    margin: 0;
}

.admin-form {
    padding: 2rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: #2c2c2c;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.form-group input {
    padding: 1.2rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(248, 249, 250, 0.5);
}

.form-group input:focus {
    border-color: #1a1a1a;
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid rgba(220, 53, 69, 0.2);
    margin-top: 0.5rem;
}

.cancel-btn:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.2);
}

.error-message {
    color: #d93025;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 100px;
    }
    
    .logo {
        height: 80px;
        width: 80px;
        border-radius: 12px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        margin: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .admin-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 0 1rem;
        min-height: calc(100vh - 100px);
        margin-top: 100px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .main-content {
        padding: 4rem 1rem 3rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-modal-body {
        padding: 1.5rem 2rem 2rem;
    }
    
    .article-modal-title {
        font-size: 2rem;
    }
    
    .admin-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
        height: 80px;
    }
    
    .logo {
        height: 60px;
        width: 60px;
        border-radius: 8px;
    }
    
    .hero {
        padding: 0 0.5rem;
        margin-top: 80px;
        min-height: calc(100vh - 80px);
    }
    
    .main-content {
        padding: 3rem 0.5rem 2rem;
    }
    
    .articles-grid {
        gap: 1.5rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .modal-content,
    .article-modal-content {
        width: 95%;
        margin: 0.5rem;
    }
    
    .search-container {
        padding: 1.5rem;
    }
    
    .article-modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 180px;
    width: 180px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.footer-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    color: #64748b;
}

.footer-login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.footer-login-btn:active {
    transform: translateY(0);
}

/* Responsive footer styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-logo {
        height: 96px;
        width: 96px;
    }
    
    .footer-brand-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-text {
        font-size: 0.875rem;
        padding: 0 1rem;
    }
}