/*
Theme Name: Choco Mushroom
Theme URI: https://cocoenergy.kranesta.lt
Author: Choco Energy
Description: FeelRooty-inspired theme for mushroom chocolate. Clean, modern wellness aesthetic. All content editable via WordPress.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: choco-mushroom
*/

:root {
  --color-cream: #f8f5f0;
  --color-warm-white: #fdfbf7;
  --color-brown: #3d2c1e;
  --color-brown-light: #5c4432;
  --color-chocolate: #6b4423;
  --color-accent: #8b6914;
  --color-text: #2d2d2d;
  --color-text-muted: #6b6b6b;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-warm-white);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 44, 30, 0.08);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-brown);
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-brown);
}

.main-nav a:hover {
  color: var(--color-chocolate);
}

/* Hero Sections */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  background: var(--color-cream);
}

.hero-section:nth-child(even) {
  background: var(--color-warm-white);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-brown);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-content .hero-tagline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 400px;
}

@media (max-width: 900px) {
  .hero-content .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-feature {
  font-size: 0.9rem;
  color: var(--color-brown-light);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-brown);
  color: white !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 6px;
}

.btn:hover {
  background: var(--color-chocolate);
}

.btn-outline {
  background: transparent;
  color: var(--color-brown) !important;
  border: 2px solid var(--color-brown);
}

.btn-outline:hover {
  background: var(--color-brown);
  color: white !important;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e8e0d5 0%, #d4c4b0 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Products Section */
.products-section {
  padding: 5rem 2rem;
  background: var(--color-warm-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-brown);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61, 44, 30, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61, 44, 30, 0.12);
}

.product-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8e0d5 0%, #d4c4b0 100%);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 1.5rem;
}

.product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-chocolate);
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-brown);
  margin: 0 0 0.5rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-brown);
  margin-bottom: 1rem;
}

/* Preorder Form */
.preorder-form {
  padding: 1rem 0;
}

.preorder-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.preorder-form input:focus {
  outline: none;
  border-color: var(--color-chocolate);
}

.preorder-form .btn {
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.25rem;
}

.preorder-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  display: none;
}

.preorder-message.success {
  color: #2d6a2d;
}

.preorder-message.error {
  color: #c53030;
}

/* Why Section */
.why-section {
  padding: 5rem 2rem;
  background: var(--color-cream);
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-brown);
  margin-bottom: 1rem;
}

.why-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  text-align: center;
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brown);
  margin: 0 0 0.5rem;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.why-item .btn {
  margin-top: 1rem;
}

/* Science Section */
.science-section {
  padding: 5rem 2rem;
  background: white;
}

.science-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.science-header {
  text-align: center;
  margin-bottom: 3rem;
}

.science-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-brown);
  margin-bottom: 1rem;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .science-grid {
    grid-template-columns: 1fr;
  }
}

.science-card {
  padding: 2rem;
  background: var(--color-cream);
  border-radius: 12px;
}

.science-card h3 {
  font-size: 1.1rem;
  color: var(--color-brown);
  margin: 0 0 0.75rem;
}

.science-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Badges */
.badges-section {
  padding: 3rem 2rem;
  background: var(--color-warm-white);
}

.badges-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.badge {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-brown-light);
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 2rem;
  background: var(--color-cream);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-brown);
  margin-bottom: 0.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(61, 44, 30, 0.06);
}

.testimonial-card p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-brown);
}

/* Newsletter */
.newsletter-section {
  padding: 4rem 2rem;
  background: var(--color-brown);
  color: white;
  text-align: center;
}

.newsletter-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  color: white;
}

.newsletter-section p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.newsletter-form .btn {
  background: white;
  color: var(--color-brown) !important;
}

/* Footer */
.site-footer {
  padding: 3rem 2rem 2rem;
  background: var(--color-brown);
  color: rgba(255,255,255,0.9);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Page content (editable) */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.entry-content p {
  margin-bottom: 1rem;
}

/* Contact Page - uses hero-section, why-section, badges-section, newsletter-section */
