/* ============================================================
   VERDURA BLOG — Main Stylesheet
   Topic: Lifestyle, Wellness & Mindful Living
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary:   #2c4a2e;
  --accent:    #c9a84c;
  --accent-lt: #f0d98f;
  --dark:      #1a1a1a;
  --cream:     #f9f5ee;
  --cream-2:   #f0ebe0;
  --text:      #333;
  --text-muted:#777;
  --white:     #ffffff;
  --shadow:    0 8px 32px rgba(44,74,46,.12);
  --radius:    14px;
  --transition:all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--primary); }

.container     { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section-title { font-size: clamp(1.8rem,3.5vw,2.6rem); margin: .4rem 0 1.2rem; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.8rem; border-radius: 50px; font-size: .9rem; font-weight: 500; cursor: pointer; border: none; transition: var(--transition); font-family: 'Inter', sans-serif; }
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #3a6040; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(44,74,46,.35); }
.btn-outline  { background: transparent; border: 2px solid rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-gold     { background: var(--accent); color: var(--dark); }
.btn-gold:hover { background: #b8923e; transform: translateY(-2px); }

/* === HEADER === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(249,245,238,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(44,74,46,.1); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .5rem; font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 700; color: var(--primary); }
.logo-icon { font-size: 1.8rem; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text); position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* === MOBILE NAV === */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.5rem; font-family: 'Playfair Display', serif; color: var(--primary); font-weight: 700; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--primary); }

/* === HERO === */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../images/hero.jpg'); background-size: cover; background-position: center; filter: brightness(.55); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,.7) 0%, rgba(44,74,46,.45) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 80px 0; }
.hero-tag { display: inline-flex; align-items: center; gap: .4rem; background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.5); color: var(--accent-lt); padding: .35rem .9rem; border-radius: 50px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.4rem; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--white); font-weight: 900; margin-bottom: 1.2rem; }
.hero-title span { color: var(--accent-lt); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 520px; margin-bottom: 2rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; }
.stat-item { text-align: left; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--accent-lt); line-height: 1; }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .1em; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .4rem; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; animation: bounce 2s infinite; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.5)); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* === FEATURED === */
.featured-section { padding: 90px 0 60px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.featured-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.8rem; }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(44,74,46,.18); }
.card-img-wrap { overflow: hidden; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img { transform: scale(1.04); }
.card-body { padding: 1.4rem 1.6rem 1.8rem; }
.card-cat { display: inline-block; background: var(--cream-2); color: var(--primary); padding: .2rem .7rem; border-radius: 50px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.card-title { font-size: 1.25rem; margin-bottom: .6rem; transition: color .2s; }
.card:hover .card-title { color: #8b6914; }
.card-excerpt { color: var(--text-muted); font-size: .88rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 1rem; font-size: .78rem; color: var(--text-muted); }
.card-meta-sep { width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; }
.card-featured .card-img { aspect-ratio: 4/3; }
.card-featured .card-title { font-size: 1.6rem; }
.cards-stack { display: flex; flex-direction: column; gap: 1.8rem; }
.card-mini { display: flex; gap: 1rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.card-mini:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(44,74,46,.15); }
.card-mini-img-wrap { overflow: hidden; width: 130px; min-width: 130px; }
.card-mini .card-mini-img { width: 130px; min-width: 130px; height: 100%; object-fit: cover; transition: transform .4s; }
.card-mini:hover .card-mini-img { transform: scale(1.05); }
.card-mini-body { padding: 1rem 1rem 1rem 0; display: flex; flex-direction: column; justify-content: center; }
.card-mini-body .card-title { font-size: 1rem; margin-bottom: .4rem; }
.card-mini-body .card-excerpt { -webkit-line-clamp: 2; }

/* === TOPICS === */
.topics-section { padding: 60px 0 80px; background: var(--cream-2); }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 1.2rem; margin-top: 2rem; }
.topic-card { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 1.8rem 1rem; background: var(--white); border-radius: var(--radius); text-align: center; cursor: pointer; border: 2px solid transparent; transition: var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.topic-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(201,168,76,.2); }
.topic-icon { font-size: 2.2rem; }
.topic-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--primary); }
.topic-count { font-size: .75rem; color: var(--text-muted); }

/* === NEWSLETTER === */
.newsletter-section { background: var(--primary); padding: 70px 0; position: relative; overflow: hidden; }
.newsletter-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 350px; height: 350px; border-radius: 50%; background: rgba(201,168,76,.12); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter-text .section-label { color: var(--accent-lt); }
.newsletter-title { font-size: clamp(1.6rem,3vw,2.2rem); color: var(--white); margin: .4rem 0 1rem; }
.newsletter-desc { color: rgba(255,255,255,.75); font-size: .95rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; gap: .8rem; }
.form-input { flex: 1; padding: .85rem 1.2rem; border: none; border-radius: 50px; font-size: .92rem; font-family: 'Inter', sans-serif; background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.2); outline: none; transition: var(--transition); }
.form-input::placeholder { color: rgba(255,255,255,.5); }
.form-input:focus { background: rgba(255,255,255,.18); border-color: var(--accent); }
.form-note { font-size: .75rem; color: rgba(255,255,255,.5); }

/* === BLOG PAGE === */
.page-hero { background: var(--primary); padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('../images/yoga.jpg') center/cover; opacity: .15; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-label { color: var(--accent-lt); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem,5vw,3.2rem); margin: .5rem 0 1rem; }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; padding: 2rem 0; }
.filter-btn { padding: .5rem 1.3rem; border-radius: 50px; border: 2px solid var(--cream-2); background: var(--white); font-size: .82rem; font-weight: 500; cursor: pointer; color: var(--text-muted); transition: var(--transition); font-family: 'Inter', sans-serif; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.blog-grid-section { padding: 30px 0 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pg-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--cream-2); background: var(--white); font-size: .9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: var(--text); font-family: 'Inter', sans-serif; }
.pg-btn:hover, .pg-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* === ARTICLE PAGE === */
.article-hero { position: relative; height: 520px; overflow: hidden; }
.article-hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,.85) 0%, transparent 60%); }
.article-hero-content { position: absolute; bottom: 3rem; left: 0; right: 0; }
.article-cat { display: inline-block; background: var(--accent); color: var(--dark); padding: .3rem .9rem; border-radius: 50px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.article-hero h1 { color: var(--white); font-size: clamp(1.8rem,4vw,3rem); max-width: 720px; margin-bottom: 1rem; }
.article-meta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.meta-info { display: flex; flex-direction: column; }
.meta-name { font-size: .85rem; color: var(--white); font-weight: 500; }
.meta-date { font-size: .75rem; color: rgba(255,255,255,.6); }
.meta-dot  { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }
.meta-read { font-size: .82rem; color: rgba(255,255,255,.7); }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; padding: 3rem 0 5rem; align-items: start; }
.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.article-body h2 { font-size: 1.7rem; margin: 2rem 0 .8rem; }
.article-body h3 { font-size: 1.3rem; margin: 1.5rem 0 .6rem; }
.article-body p  { margin-bottom: 1.4rem; }
.article-body blockquote { border-left: 4px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--cream-2); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; font-size: 1.1rem; color: var(--primary); }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body img { border-radius: var(--radius); margin: 2rem 0; width: 100%; }
.article-tags { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { background: var(--cream-2); color: var(--primary); padding: .35rem .9rem; border-radius: 50px; font-size: .78rem; font-weight: 500; transition: var(--transition); cursor: pointer; }
.tag:hover { background: var(--primary); color: var(--white); }
.article-share { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.share-label { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream-2); color: var(--primary); font-size: 1rem; cursor: pointer; transition: var(--transition); border: none; }
.share-btn:hover { background: var(--primary); color: var(--white); }
.article-author-box { display: flex; gap: 1.2rem; background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); margin-top: 3rem; }
.author-box-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); min-width: 80px; }
.author-box-name { font-size: 1.1rem; margin-bottom: .3rem; }
.author-box-bio  { font-size: .88rem; color: var(--text-muted); }
.article-sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.widget-title { font-size: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--cream-2); margin-bottom: 1.2rem; }
.widget-posts { display: flex; flex-direction: column; gap: 1rem; }
.widget-post { display: flex; gap: .8rem; transition: var(--transition); cursor: pointer; }
.widget-post:hover { opacity: .75; }
.widget-post-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; min-width: 64px; }
.widget-post-title { font-size: .88rem; font-weight: 600; line-height: 1.4; margin-bottom: .3rem; color: var(--primary); }
.widget-post-date  { font-size: .75rem; color: var(--text-muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.related-section { padding: 0 0 80px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }

/* === FOOTER === */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo { color: var(--cream); margin-bottom: 1rem; }
.footer-brand p    { font-size: .88rem; max-width: 240px; }
.footer-col h4 { color: var(--white); font-size: .9rem; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul a  { font-size: .88rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: var(--transition); cursor: pointer; }
.social-icon:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; font-size: .8rem; flex-wrap: wrap; gap: .5rem; }

/* === ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width:1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: relative; top: 0; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .featured-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .form-row { flex-direction: column; }
}
@media (max-width:480px) {
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: repeat(2,1fr); }
}
