/* The Art of Yoga - Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --background: hsl(35, 25%, 96%);
  --foreground: hsl(215, 25%, 20%);
  --card: hsl(30, 20%, 98%);
  --card-foreground: hsl(215, 25%, 20%);
  --primary: hsl(150, 20%, 45%);
  --primary-foreground: hsl(30, 20%, 98%);
  --secondary: hsl(30, 30%, 85%);
  --muted: hsl(35, 15%, 90%);
  --muted-foreground: hsl(215, 15%, 50%);
  --border: hsl(30, 15%, 88%);
  --radius: 0.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(215, 25%, 12%);
    --foreground: hsl(30, 20%, 95%);
    --card: hsl(215, 25%, 15%);
    --card-foreground: hsl(30, 20%, 95%);
    --primary: hsl(150, 25%, 50%);
    --primary-foreground: hsl(215, 25%, 12%);
    --secondary: hsl(215, 20%, 20%);
    --muted: hsl(215, 20%, 20%);
    --muted-foreground: hsl(30, 15%, 65%);
    --border: hsl(215, 20%, 25%);
  }
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.3; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--foreground);
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner,
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo styling */
a.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

a.logo:hover {
  color: var(--foreground);
}

a.logo img {
  height: 48px;
  width: auto;
  display: block;
}

a.logo span {
  display: none;
}

@media (min-width: 640px) {
  a.logo span {
    display: inline;
  }
}

.nav,
.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav,
  .nav-desktop {
    display: flex;
    gap: 2rem;
  }
}

.nav a,
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav a:hover,
.nav-desktop a:hover {
  color: var(--primary);
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(var(--background-rgb), 0.3), rgba(var(--background-rgb), 0.5), var(--background));
}

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

.hero-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

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

.btn-primary:hover {
  opacity: 0.9;
  color: var(--primary-foreground);
}

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

.btn-outline:hover {
  background: var(--muted);
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card-image {
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  padding: 1.5rem;
}

.card-category {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card-excerpt {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Page Header */
.page-header {
  padding: 10rem 1.5rem 4rem;
  text-align: center;
  background: var(--muted);
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto;
}

/* Content */
.content {
  padding: 4rem 0;
}

.content h2 {
  margin: 2rem 0 1rem;
}

.content h3 {
  margin: 1.5rem 0 0.75rem;
}

.content p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.content ul, .content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
}

.content li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Newsletter */
.newsletter {
  background: var(--card);
  padding: 4rem 1.5rem;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--card);
}

.faq-answer {
  padding: 1rem 1.5rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}

/* Values Grid */
.values-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-item h3 {
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--muted-foreground);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.contact-info {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p, .contact-item a {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  font-family: inherit;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Article Page */
.article-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent 50%);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
  background: var(--background);
}

.article-header {
  padding-top: 2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.article-content h1 {
  margin-bottom: 2rem;
}

.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}

.article-body ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Disclaimer */
.disclaimer {
  background: var(--muted);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 3rem;
}

.disclaimer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Sitemap */
.sitemap-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sitemap-section {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
}

.sitemap-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sitemap-section ul {
  list-style: none;
}

.sitemap-section li {
  margin-bottom: 0.75rem;
}

.sitemap-section a {
  color: var(--muted-foreground);
  display: flex;
  justify-content: space-between;
}

.sitemap-section a:hover {
  color: var(--primary);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.pt-header {
  padding-top: 7rem;
}

.bg-muted {
  background: var(--muted);
}

.text-muted {
  color: var(--muted-foreground);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: var(--muted);
}

/* Section variants */
.section-alt {
  background: var(--muted);
}

.section-newsletter {
  background: var(--card);
}

/* Footer markup */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-container .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.footer-container .footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-container .footer-links a:hover {
  color: var(--primary);
}

.footer-container .copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Footer with columns (structured layout) */
.footer-columns {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: 1.25fr 2fr;
    align-items: start;
  }
}

.footer-brand p {
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-column a:hover {
  color: var(--primary);
}
