/**
 * VitaWie - Main Stylesheet
 * Wellness-themed design
 */

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #45a049 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #45a049 100%);
    color: white;
    padding: 100px 0;
}

.category-card, .content-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.category-card:hover, .content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-read-more {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

/* Responsive Content Hero Section */
.content-hero {
  position: relative;
  width: 100%;
  height: 50vh; /* scales with viewport */
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #d7f3e3; /* fallback light green */
}

.content-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;  
  background-position: center;
  filter: blur(4px) brightness(0.7);
  z-index: 1;
}

.content-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(215, 243, 227, 0.5); /* light green semi-transparent */
  z-index: 2;
}

.content-hero .hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #1f3a2e;
  padding: 0 15px;
}

.content-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem); /* responsive font size */
  font-weight: bold;
  margin: 0;
}

/* Content Body */
.content-body {
  max-width: 800px;
  margin: 40px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.content-body p {
  margin-bottom: 1.5em;
}

/* Content Images */
.content-body .content-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .content-hero {
    height: 40vh;
  }
  .content-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
}
.mobile-nav {
  display: none;
  background: #4CAF50;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.mobile-nav a {
  display: block;
  padding: 12px;
  color: white;
  text-decoration: none;
}
/* Full-width Hero Title Section for Content Pages */
/* Content Hero Section (reduced height) */
.content-hero {
  position: relative;
  width: 100%;
  height: 25vh; /* reduced from 50vh */
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #d7f3e3; /* fallback light green */
}

.content-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;  
  background-position: center;
  filter: blur(4px) brightness(0.7);
  z-index: 1;
}

.content-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(215, 243, 227, 0.5);
  z-index: 2;
}

.content-hero .hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #1f3a2e;
  padding: 0 15px;
}

.content-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: bold;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .content-hero {
    height: 20vh;
    min-height: 130px;
  }
  .content-hero h1 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
}