/* Soft Color Palette & Typography */
:root {
  --primary-color: #4CAF50; /* Light/Medium Green */
  --primary-dark: #388E3C;
  --secondary-color: #FF9800; /* Soft Orange */
  --secondary-light: #FFE0B2;
  --bg-light: #FAFAFA;
  --bg-white: #FFFFFF;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #E0E0E0;
  --transition-speed: 0.3s;
  --font-family: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--text-main);
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: #F57C00;
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  color: white;
}

/* Header & Navigation */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #F1F8E9 0%, #FFF3E0 100%);
  padding: 100px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Cards (Articles & Products) */
.card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 60%; /* 16:9 aspect ratio approx */
}

.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 1;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card-title a {
  color: var(--text-main);
}

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

.card-excerpt {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.read-more {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-more i {
  transition: transform var(--transition-speed);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Product Specific Styles */
.product-features {
  margin: 15px 0;
  padding-left: 20px;
}

.product-features li {
  margin-bottom: 5px;
  color: var(--text-muted);
  position: relative;
}

.product-features li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: -20px;
  font-weight: bold;
}

.product-disclaimer {
  font-size: 0.85rem;
  color: #9e9e9e;
  font-style: italic;
  margin-top: 10px;
}

/* Categories Section */
.categories {
  background-color: var(--bg-white);
}

.category-card {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--bg-light);
  border-radius: 12px;
  transition: all var(--transition-speed);
}

.category-card:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.category-card:hover h3,
.category-card:hover p {
  color: var(--bg-white);
}

.category-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.category-card:hover .category-icon {
  color: var(--secondary-light);
}

.category-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-muted);
}

/* Article Detail Page */
.article-header {
  text-align: center;
  padding: 60px 0 40px;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.article-header h1 {
  font-size: 2.8rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.article-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--text-main);
}

.article-content h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

.article-content p {
  margin-bottom: 20px;
  color: #444;
}

.article-content ul,
.article-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
  color: #444;
}

.article-content blockquote {
  border-left: 5px solid var(--primary-color);
  padding: 20px;
  background-color: var(--bg-light);
  font-style: italic;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

/* Forms */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Page Header (Generic) */
.page-header {
  background-color: var(--bg-white);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Text Page Container (Privacy Policy, About) */
.text-page-container {
  max-width: 800px;
  margin: 60px auto;
  background: var(--bg-white);
  padding: 50px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.text-page-container h2 {
  margin: 30px 0 15px;
}

.text-page-container p {
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background-color: #263238;
  color: #ECEFF1;
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h2 {
  color: #FFFFFF;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.footer-brand p {
  color: #B0BEC5;
}

.footer-links h3 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-links a {
  color: #B0BEC5;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #37474F;
  color: #90A4AE;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 15px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .article-header h1 {
    font-size: 2rem;
  }
  
  .article-content, .text-page-container, .contact-info {
    padding: 25px;
  }
}
