/* Pure Valley Olive Oil - Main Stylesheet */
:root {
  --olive-dark: #2d3a1e;
  --olive: #5a7232;
  --olive-light: #8ba85a;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --cream: #faf8f0;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--olive);
  border-bottom-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--olive);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 60%, var(--olive-light) 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span { color: var(--gold-light); }

.hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--olive-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--olive);
  border-color: var(--white);
}

.btn-olive {
  background: var(--olive);
  color: var(--white);
}

.btn-olive:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
}

/* Ad container */
.ad-container {
  max-width: 728px;
  margin: 20px auto;
  text-align: center;
  min-height: 90px;
}

/* Sections */
.section {
  padding: 90px 20px;
}

.section-alt {
  background: var(--white);
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--olive-dark);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.section-title .underline {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Product Showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  text-align: center;
  padding: 40px;
}

.product-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.product-image .label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--olive-dark);
  margin-top: 15px;
}

.product-image .origin {
  color: var(--text-light);
  margin-top: 5px;
}

.product-info h3 {
  font-size: 2rem;
  color: var(--olive-dark);
  margin-bottom: 15px;
}

.product-info p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.product-features {
  list-style: none;
  margin-bottom: 30px;
}

.product-features li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text);
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 700;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.benefit-card h3 {
  color: var(--olive-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Story Page */
.story-hero {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.story-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.story-content h2 {
  color: var(--olive-dark);
  font-size: 1.75rem;
  margin: 40px 0 15px;
}

.story-content h2:first-child { margin-top: 0; }

.story-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.story-timeline {
  border-left: 3px solid var(--gold);
  padding-left: 30px;
  margin: 30px 0;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  left: -37px;
  top: 5px;
}

.timeline-item h3 {
  color: var(--olive);
  margin-bottom: 5px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

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

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

.contact-info {
  padding: 20px 0;
}

.contact-info h3 {
  color: var(--olive-dark);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-detail .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  color: var(--olive);
  margin-bottom: 3px;
}

.contact-detail p {
  color: var(--text-light);
}

/* B2B Page */
.b2b-hero {
  background: linear-gradient(135deg, var(--olive-dark) 0%, #1a2610 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.b2b-hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.b2b-hero p { opacity: 0.9; font-size: 1.1rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--gold);
}

.pricing-card .tier {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--olive-dark);
  margin-bottom: 5px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-card .minimum {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 25px;
}

.pricing-features li {
  padding: 6px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 700;
}

/* Coming Soon */
.coming-soon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  color: var(--olive-dark);
}

.coming-soon h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.coming-soon p {
  opacity: 0.8;
}

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

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--gold-light);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 2;
}

.footer a:hover { color: var(--gold-light); }

.footer-links { list-style: none; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  font-size: 1.25rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-links a:hover { opacity: 1; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
  }

  .nav-links.active { display: flex; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .product-showcase { grid-template-columns: 1fr; }
  .product-image { padding: 30px; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 15px; }
  .section-title h2 { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
