:root {
    --primary-color: #2E3A2D;
    --secondary-color: #C97A5C;
    --accent: #EDE8DF;
    --text: #2E3A2D;
    --light-text: #6B7066;
    --bg: #F7F3EC;
    --card-bg: #FDFAF6;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(46, 58, 45, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

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

/* Utils */
.py-large { padding: 80px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-medium { gap: 20px; }
.mt-medium { margin-top: 30px; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.p-medium { padding: 30px; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: var(--shadow); }
.img-fluid { width: 100%; height: auto; }
.text-muted { color: #888; font-size: 0.9rem; }
.bg-light { background: #F0EBE1; }
.section { padding: 80px 0; }

/* Buttons */
.btn-cta, .btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-cta:hover, .btn-primary:hover {
    background: #1e2a1d;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
}

.logo span { color: var(--secondary-color); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary-color); }

.cta-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 100;
  border-radius: 8px;
  top: 100%;
  left: 0;
  padding: 10px 0;
  border: 1px solid var(--accent);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 10px 20px; display: block; font-size: 0.9rem; }
.dropdown-menu li a:hover { background: var(--accent); }

/* Breadcrumbs */
.breadcrumb-container { padding: 15px 0; }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--light-text); }
.breadcrumb a { color: var(--primary-color); }
.breadcrumb i { width: 14px; height: 14px; color: #ccc; }

/* Footer */
.footer {
    background: #f8fdff;
    padding: 80px 0 20px;
    border-top: 1px solid var(--accent);
    color: var(--text);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand { flex: 2; min-width: 300px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 900; color: var(--primary-color); margin-bottom: 20px; display: block; }
.footer-brand p { color: var(--light-text); font-size: 1rem; line-height: 1.6; max-width: 400px; margin-bottom: 25px; }

.social-links { display: flex; gap: 15px; }
.social-links a { width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); }

.footer-sitemap { flex: 4; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text); font-family: 'Inter', sans-serif; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--light-text); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--primary-color); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid var(--accent);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal p { color: #888; font-size: 0.85rem; margin-bottom: 10px; }
.legal-nav { display: flex; gap: 20px; }
.legal-nav a { color: #888; font-size: 0.85rem; }
.legal-nav a:hover { color: var(--primary-color); }
.footer-tagline p { font-style: italic; color: var(--primary-color); font-weight: 500; }

/* Mobile */
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--primary-color); cursor: pointer; }

@media (max-width: 992px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--bg); padding: 20px; border-bottom: 1px solid var(--accent); }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .footer-top { flex-direction: column; }
    .footer-brand { flex: none; }
}

/* Base Reveal Animation */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ===== ARTICLE CARDS ===== */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.article-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.article-img { position: relative; display: block; overflow: hidden; }
.article-img img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-img img { transform: scale(1.04); }
.article-img-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(30,42,29,0.90) 0%, rgba(30,42,29,0) 100%);
    padding: 48px 18px 16px;
}
.article-img-overlay .article-tag { color: rgba(237,232,223,0.85); border-color: rgba(237,232,223,0.3); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; display: block; }
.article-img-overlay h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 700; color: var(--bg); line-height: 1.3; margin: 0; }
.article-body { padding: 18px; }
.article-body p { font-size: 0.9rem; color: var(--light-text); margin-bottom: 12px; line-height: 1.55; }
.article-meta { font-size: 0.8rem; color: var(--secondary-color); font-weight: 600; }

/* ===== CATEGORY CARDS ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat-card { background: var(--card-bg); border: 1px solid var(--accent); border-radius: var(--radius); padding: 28px 24px; transition: 0.3s; display: block; }
.cat-card:hover { border-color: var(--secondary-color); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card i { color: var(--secondary-color); width: 28px; height: 28px; margin-bottom: 14px; }
.cat-card h3 { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 8px; }
.cat-card p { font-size: 0.88rem; color: var(--light-text); line-height: 1.5; margin: 0; }

/* ===== HERO SECTION ===== */
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 700; }
@media (max-width: 768px) { .hero h1 { font-size: 2.2rem; } .article-img img { height: 180px; } }

/* ===== CTA BOX ===== */
.cta-box { background: var(--accent); border-radius: var(--radius); padding: 48px 32px; }
.cta-box h2 { color: var(--primary-color); margin-bottom: 16px; }

/* ===== SECTION TITLE ===== */
.section-title { margin-bottom: 32px; }
.section-title h2 { font-size: 2rem; color: var(--primary-color); }

/* ===== RICH TEXT ===== */
.rich-text a { color: var(--secondary-color); text-decoration: underline; text-underline-offset: 3px; }
.rich-text a:hover { color: var(--primary-color); }