/* 
  Nirva Yoga - Custom Stylesheet 
  Colors: Forest Green, Sage Green, Warm White, Beige, Charcoal
*/
:root {
  --forest-green: #2C4A3B;
  --sage-green: #8A9A86;
  --warm-white: #F9F8F6;
  --beige: #E6E2D6;
  --charcoal: #333333;
  --text-color: #4A4A4A;
  --light-gray: #F0EFEB;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--warm-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  color: var(--charcoal);
  font-weight: 700;
}

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

/* Typography */
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--forest-green); margin-bottom: 3rem; }

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

.section {
  padding: 5rem 0;
}

.bg-light { background-color: var(--light-gray); }
.bg-dark { background-color: var(--forest-green); color: white; }
.bg-dark h2, .bg-dark h3 { color: white; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--forest-green);
  border-color: var(--forest-green);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--forest-green);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(249, 248, 246, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-green);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 2rem;
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--charcoal);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(44, 74, 59, 0.6), rgba(44, 74, 59, 0.6)), url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--warm-white);
}

.hero-btns .btn {
  margin: 0 10px;
}

/* About/Philosophy */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.features-list {
  list-style: none;
  margin-top: 2rem;
}

.features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.features-list li::before {
  content: '✓';
  color: var(--forest-green);
  font-weight: bold;
  margin-right: 10px;
}

/* Cards / Services */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card-content p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Health & Diet Layout */
.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--forest-green);
}

.article-content p, .article-content ul {
  margin-bottom: 1.5rem;
}

.article-content ul {
  padding-left: 2rem;
}

.disclaimer {
  background-color: var(--beige);
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 3rem;
}

/* Contact Page */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

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

/* Footer */
footer {
  background-color: var(--charcoal);
  color: var(--warm-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--sage-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #999;
}

/* Legal Pages */
.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.legal-content p, .legal-content ul {
  margin-bottom: 1rem;
}
.legal-content ul {
  padding-left: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .two-column, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
  }
  
  .nav-links.active { left: 0; }
  .nav-links li { margin: 1.5rem 0; }
  .mobile-menu-btn { display: block; }
  .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
  
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-btns { display: flex; flex-direction: column; gap: 1rem; }
  .hero-btns .btn { margin: 0; }
}
