
/* Global Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Palatino Linotype', 'Georgia', serif;
  color: #333333;
  background-color: #f9f7f4;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
header {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

nav a:hover {
  color: #8c7764;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #8c7764;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: url('images/hero.png') no-repeat center/cover;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.65);
  padding: 3rem;
  border-radius: 8px;
  margin-left: 5%;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #4e463f;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  background-color: #8c7764;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #745f50;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  color: #4e463f;
}

.section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s;
}

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

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

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: #4e463f;
}

.card-content p {
  font-size: 0.95rem;
  color: #666;
}

/* Footer */
footer {
  background-color: #f2eee8;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

/* Product Page */
.product-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}
.product-hero img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.product-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.product-details ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.product-details li {
  margin-bottom: 0.5rem;
}


/* Subscription Page */
.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.plan {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}
.plan h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4e463f;
}
.plan .price {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #8c7764;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.plan li {
  margin-bottom: 0.8rem;
}

/* Journal */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.post {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post-content {
  padding: 1.5rem;
}
.post-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #4e463f;
}
.post-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #666;
}

/* About Page */
.about-hero {
  background: url('images/hero.png') center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.about-hero h1 {
  font-size: 2.8rem;
}
.about-content {
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
}
.about-content h2 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #4e463f;
}
.about-content p {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1rem;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e8e2d8;
  padding-bottom: 1rem;
}
.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #4e463f;
}
.faq-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

/* Checkout */
.checkout-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.checkout-container h2 {
  margin-top: 0;
  color: #4e463f;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #4e463f;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}
.checkout-summary {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e2d8;
}
.checkout-summary h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #4e463f;
}
.checkout-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checkout-summary li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.checkout-summary .total {
  font-weight: bold;
  margin-top: 1rem;
}

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

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-overlay { margin-left: 0; padding: 2rem; }
}
