/* ========================================
   Pure Valley - Organic Store
   Static Site Stylesheet
   ======================================== */

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

:root {
  --green-dark: #072A1E;
  --green-primary: #0d4a2e;
  --green-light: #1a6b42;
  --green-accent: #CC7A10;
  --gold: #CC7A10;
  --gold-light: #e8a84c;
  --green-bg: #f0f5f2;
  --text-dark: #1a1a1a;
  --text-body: #444;
  --text-light: #777;
  --white: #fff;
  --bg-light: #f7f8f7;
  --bg-cream: #faf8f5;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-hover: 0 5px 25px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'DM Sans', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { color: var(--text-dark); margin-bottom: 10px; }
.section-title p { color: var(--text-light); font-size: 1.05rem; }
.section-title .leaf { display: block; margin: 10px auto 0; width: 75px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: #b56a0e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(204,122,16,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}
.btn-white:hover {
  background: var(--gold);
  color: var(--white);
}

/* ========================================
   Header / Navigation
   ======================================== */
.top-bar {
  background: var(--green-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--white); opacity: 0.85; }
.top-bar a:hover { opacity: 1; }
.top-bar-left span { margin-right: 20px; }
.top-bar-right a { margin-left: 15px; font-size: 1rem; }

header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo img { height: 45px; }

nav ul { display: flex; gap: 30px; }
nav ul li a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 5px 0;
  position: relative;
  font-size: 0.95rem;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--gold);
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.header-cta { display: flex; align-items: center; gap: 15px; }
.header-cta .btn { padding: 10px 24px; font-size: 0.85rem; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--green-bg) 0%, #e8f5e9 100%);
  padding: 60px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content { max-width: 500px; }
.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,122,16,0.1);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-body);
}
.hero-image { text-align: right; }
.hero-image img { max-width: 100%; }

/* Features Row */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
  background: var(--white);
}
.feature-item {
  text-align: center;
  padding: 25px 15px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover {
  background: var(--green-bg);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}
.feature-item h4 { margin-bottom: 5px; font-size: 0.95rem; }
.feature-item p { font-size: 0.85rem; color: var(--text-light); }

/* ========================================
   Products Grid
   ======================================== */
.products-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.product-info {
  padding: 20px;
}
.product-info h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.product-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-primary);
}

/* ========================================
   Categories / Promo Blocks
   ======================================== */
.promo-section {
  padding: 80px 0;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 350px;
  background: var(--green-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  transition: var(--transition);
}
.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.promo-card img {
  width: 120px;
  margin-bottom: 20px;
}
.promo-card h3 {
  margin-bottom: 10px;
}
.promo-card p {
  margin-bottom: 20px;
  color: var(--text-body);
}

/* ========================================
   Banner / CTA
   ======================================== */
.cta-banner {
  background: var(--green-primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 15px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* ========================================
   Reviews
   ======================================== */
.reviews-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.review-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stars {
  color: #f5a623;
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.review-card p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-body);
  line-height: 1.8;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.reviewer-name { font-weight: 600; color: var(--text-dark); }

/* ========================================
   Deal of the Day
   ======================================== */
.deal-section {
  padding: 80px 0;
}
.deal-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0a3d25 100%);
  border-radius: var(--radius);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}
.deal-content { max-width: 500px; }
.deal-content h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.deal-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* ========================================
   Brands
   ======================================== */
.brands-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.brands-section h4 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.brands-grid img {
  height: 35px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
}
.brands-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ========================================
   About Page
   ======================================== */
.page-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.about-intro {
  padding: 80px 0;
}
.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-intro h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.about-intro p {
  margin-bottom: 15px;
}

.about-banner {
  padding: 0;
}
.about-banner img {
  width: 100%;
  border-radius: var(--radius);
}

.stats-section {
  padding: 60px 0;
  background: var(--green-bg);
}
.stats-section h4 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.3rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 5px;
}
.stat-item p {
  color: var(--text-light);
}

.gallery-section {
  padding: 80px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.about-badge {
  padding: 80px 0;
  background: var(--bg-light);
}
.about-badge .container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.about-badge img { max-width: 200px; }
.about-badge h3 { margin-bottom: 10px; }

.categories-section {
  padding: 80px 0;
}
.categories-section h2 {
  text-align: center;
  margin-bottom: 40px;
}
.categories-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 600px;
  margin: 0 auto 40px;
}
.categories-list li {
  padding: 12px 20px;
  background: var(--green-bg);
  border-radius: 8px;
  font-weight: 500;
  color: var(--green-dark);
}
.categories-list li::before {
  content: '\2713';
  margin-right: 10px;
  color: var(--green-primary);
  font-weight: 700;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.contact-info > p {
  margin-bottom: 30px;
  color: var(--text-body);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--green-primary);
}
.contact-item h4 { margin-bottom: 3px; font-size: 0.95rem; }
.contact-item p { color: var(--text-light); font-size: 0.9rem; }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 {
  margin-bottom: 25px;
  font-size: 1.3rem;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(204,122,16,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  transition: var(--transition);
}
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 200px;
}
.faq-answer p { color: var(--text-body); }

/* ========================================
   Footer
   ======================================== */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 15px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }

footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slider img.active { opacity: 1; }

/* Product Category Badges */
.product-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Section Dividers */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--gold), var(--green-dark));
  border: none;
  margin: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.service-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.service-card h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
}

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .menu-toggle { display: block; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    gap: 0;
  }
  nav ul.active { display: flex; }
  nav ul li { padding: 10px 0; border-bottom: 1px solid #eee; }
  
  .features { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .deal-card { flex-direction: column; text-align: center; }
  .about-intro .container { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .categories-list { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
  .top-bar { display: none; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .brands-grid { gap: 25px; }
  .brands-grid img { height: 25px; }
}
