/* Birth Botanica - Custom Styles */
/* Matching the original Weebly design */

:root {
  --color-bg: #f6f3ed;
  --color-text: #252525;
  --color-heading: #a9a9a9;
  --color-accent: #8c48b7;
  --color-accent-pink: #ae40a5;
  --color-muted: #626262;
  --color-white: #fff;
  --font-body: 'Lora', Georgia, serif;
  --font-heading: 'Roboto', -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

a:hover {
  color: var(--color-accent-pink);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-heading);
  margin-top: 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

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

/* Header */
.site-header {
  background: var(--color-white);
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  text-decoration: none;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 4px;
  color: var(--color-text);
  font-weight: 400;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.2s ease;
}

/* Hero Section */
.hero {
  min-height: 450px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-logo {
  max-width: 200px;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
  letter-spacing: 2px;
}

/* Main Content */
.main-content {
  padding: 3rem 0;
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
}

.intro-text {
  font-size: 1.25rem;
  color: var(--color-muted);
  line-height: 1.9;
}

.highlight-text {
  color: var(--color-accent);
  font-style: italic;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

/* Service Cards */
.service-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1rem 0;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-date {
  font-size: 0.875rem;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.blog-card h3 a {
  color: var(--color-text);
}

.blog-card h3 a:hover {
  color: var(--color-accent);
}

/* Credentials & Training */
.credentials-list {
  list-style: none;
  padding: 0;
}

.credentials-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.credentials-list li:last-child {
  border-bottom: none;
}

.credentials-list em {
  color: var(--color-muted);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

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

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

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--color-accent-pink);
  color: var(--color-white);
}

/* Footer */
.site-footer {
  background: var(--color-white);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-accent);
}

.footer-copy {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .hero {
    min-height: 350px;
    background-attachment: scroll;
  }

  .hero-tagline {
    font-size: 1.75rem;
  }

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

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}

/* Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: 2rem;
  text-align: center;
}

.blog-post-date {
  color: var(--color-heading);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.blog-post-title {
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.blog-post-content {
  line-height: 1.9;
}

.blog-post-content img {
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* Product Preview Cards (for birth-related products linking to homemadeherbals) */
.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-preview {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.product-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-preview-content {
  padding: 1rem;
}

.product-preview h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.product-preview .price {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-preview .btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
}

/* Poem Section */
.poem-section {
  background: rgba(140, 72, 183, 0.05);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.poem {
  text-align: center;
  font-style: italic;
  color: var(--color-accent);
}

.poem p {
  margin: 1.5rem 0;
  line-height: 1.8;
}

.poem-attribution {
  font-style: normal;
  font-size: 0.9rem;
  margin-top: 2rem !important;
}

.poem-attribution a {
  color: var(--color-accent-pink);
}
