/*
Theme Name: CabinInspro Pro V4
Theme URI: https://cabininspo.com
Author: CabinInspro Team
Description: Professional WordPress theme for cabin lifestyle blogs - AdSense Ready - 6 Categories Only, Newsletter after Latest Articles
Version: 4.0.0
Text Domain: cabininspro
*/

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
    --primary: #1a4d2e;
    --primary-light: #2d6a4f;
    --primary-dark: #0d2818;
    --secondary: #c9a227;
    --accent: #8b7355;
    --bg-light: #faf9f7;
    --bg-cream: #f5f3ef;
    --bg-dark: #0f1419;
    --text-dark: #0f1419;
    --text-gray: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

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

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button { cursor: pointer; font-family: inherit; }

ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { color: var(--text-gray); margin-bottom: 1rem; }

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-lg {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background: var(--text-dark);
    padding: 0;
    font-size: 0.8125rem;
}

.top-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-date {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 4px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--white);
    background: var(--primary);
}

.social-link svg {
    width: 14px;
    height: 14px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.top-bar-links a:hover {
    color: var(--white);
}

.trending-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary), #d4af37);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--text-dark);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   MAIN HEADER
   ============================================ */

.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
}

.main-nav a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.main-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    border-radius: 10px;
    color: var(--text-gray);
    transition: var(--transition);
}

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

.search-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-dark);
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

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

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 20, 25, 0.4) 0%,
        rgba(15, 20, 25, 0.6) 50%,
        rgba(15, 20, 25, 0.8) 100%
    );
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

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

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

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

/* ============================================
   CATEGORIES SECTION
   ============================================ */

.categories-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.category-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--bg-light);
    transition: var(--transition);
}

.category-card:hover .category-thumb {
    border-color: var(--primary);
}

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

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

.category-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured-section {
    padding: 80px 0;
    background: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
}

.featured-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 500px;
}

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

.featured-main:hover img {
    transform: scale(1.05);
}

.featured-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.featured-main-cat {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.featured-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.featured-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.featured-item-img {
    width: 100px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

.featured-item-content {
    flex: 1;
}

.featured-item-cat {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.featured-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.article-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.article-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-body {
    padding: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-title a {
    color: var(--text-dark);
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
}

.article-link:hover {
    gap: 12px;
}

.article-link::after {
    content: '→';
    transition: var(--transition);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    padding: 80px 0;
    background: var(--white);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.newsletter-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.newsletter-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #d4af37;
    transform: scale(1.02);
}

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

.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: var(--primary);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

/* ============================================
   SINGLE POST
   ============================================ */

.single-post {
    padding-top: 60px;
    background: var(--white);
}

.post-header {
    text-align: center;
    padding: 40px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.post-cat-badge {
    display: inline-block;
    background: rgba(26, 77, 46, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-featured {
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.post-featured img {
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.post-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.post-content img {
    border-radius: var(--radius);
    margin: 2rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-gray);
}

/* ============================================
   CATEGORY PAGE
   ============================================ */

.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 24px;
    text-align: center;
    color: var(--white);
}

.category-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.category-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.pagination a {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.pagination a:hover, .pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-main {
        height: 400px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 16px;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--border);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-thumb {
        width: 80px;
        height: 80px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-box {
        padding: 40px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .header-inner {
        padding: 0 16px;
        height: 64px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        gap: 12px;
    }
    
    .category-card {
        padding: 20px 12px;
    }
    
    .category-thumb {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }
    
    .category-title {
        font-size: 0.875rem;
    }
}

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

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}
