
/* Base Styles */
:root {
  --primary-color: #4a7c59;
  --secondary-color: #8cb369;
  --accent-color: #f4e285;
  --light-color: #f9f9f9;
  --dark-color: #333333;
  --gray-color: #666666;
  --border-color: #e0e0e0;
  --primary-font: 'Open Sans', sans-serif;
  --heading-font: 'Playfair Display', serif;
  --border-radius: 4px;
  --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--primary-font);
  color: var(--dark-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn, .btn-small, .btn-subscribe {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover, .btn-small:hover, .btn-subscribe:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-subscribe {
  width: 100%;
  margin-top: 20px;
}

.btn-subscribe.featured {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-subscribe.featured:hover {
  background-color: #e9d670;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--heading-font);
  font-size: 2.2rem;
  color: var(--primary-color);
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo h1 {
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 1.8rem;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=1200&auto=format&fit=crop&q=60');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

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

.hero-content h2 {
  font-size: 3rem;
  font-family: var(--heading-font);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Features Section */
.features {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

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

.feature-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 1.5rem;
}

.feature-card p {
  padding: 0 20px 20px;
  color: var(--gray-color);
}

.feature-card .btn-small {
  margin: 0 20px 20px;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--secondary-color);
  color: white;
  padding: 60px 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter-content p {
  margin-bottom: 30px;
}

.newsletter form {
  display: flex;
  gap: 10px;
}

.newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-family: var(--heading-font);
  margin-bottom: 10px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-contact p {
  color: #aaa;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  background-color: var(--secondary-color);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Guides Page */
.guides-content {
  padding: 80px 0;
}

.guide-category {
  margin-bottom: 60px;
}

.guide-category h2 {
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.guide-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  padding-bottom: 20px;
}

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

.guide-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 1.5rem;
}

.guide-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 20px 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.guide-info h4 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 5px;
}

.guide-info p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.guide-card > p {
  padding: 15px 20px;
  color: var(--gray-color);
}

/* Subscription Page */
.subscription {
  padding: 80px 0;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.subscription-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.subscription-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--accent-color);
}

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

.subscription-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.subscription-header {
  background-color: var(--primary-color);
  padding: 30px 20px;
  color: white;
  text-align: center;
}

.subscription-card.featured .subscription-header {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.subscription-header h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.subscription-header .price {
  font-size: 1.8rem;
  font-weight: bold;
}

.subscription-features {
  padding: 30px 20px;
}

.subscription-features ul li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.subscription-features ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-bottom-left-radius: var(--border-radius);
}

.how-it-works {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  text-align: center;
  padding: 30px 20px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  font-weight: bold;
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

.testimonials {
  padding: 80px 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.quote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--gray-color);
}

.quote:before,
.quote:after {
  content: '"';
  color: var(--secondary-color);
}

.author .name {
  font-weight: bold;
  color: var(--primary-color);
}

.author .subscription {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.slider-controls button {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.slider-controls button:hover {
  background-color: var(--secondary-color);
}

.dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* Contact Page */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info h3 {
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item h4 {
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-item p {
  color: var(--gray-color);
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form h3 {
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--dark-color);
  font-weight: 600;
}

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

.form-group textarea {
  resize: vertical;
}

.faq {
  padding: 50px 0 80px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-question {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-question:before {
  content: "▼ ";
  color: var(--secondary-color);
  font-size: 0.8rem;
}

.faq-answer {
  color: var(--gray-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .newsletter form {
    flex-direction: column;
  }
  
  .subscription-card.featured {
    transform: scale(1);
  }
  
  .subscription-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero {
    height: 60vh;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .guide-details {
    grid-template-columns: 1fr;
  }
}
