/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff7e6;
  line-height: 1.6;
  overflow-x: hidden;
  color: #333;
}

/* Header */
header {
  background: #d35400;
  color: white;
  padding: 16px 20px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  letter-spacing: 0.5px;
}

header p {
  font-size: 16px;
}

/* Navigation */
nav {
  background: #a04000;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s, transform 0.2s;
}

nav a:hover {
  background: #d35400;
  transform: translateY(-1px);
}

nav a.active {
  background: #f4d03f;
  color: #6c2f00;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: url("images/saffrondriedpetals.jpeg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-overlay {
  position: relative;
  padding: 20px;
  max-width: 800px;
}

.hero-overlay h1 {
  font-size: 40px;
  margin-bottom: 12px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  background: #f4d03f;
  color: #6c2f00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.btn-primary:hover {
  background: #f7dc6f;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}

/* Sections */
.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 16px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Products */
.products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 15px 0 5px 0;
}

.card p {
  color: #555;
  padding: 0 10px 15px 10px;
}

/* About */
.about-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  max-width: 500px;
}

.about-section {
  margin-top: 30px;
}

/* Contact */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  flex: 1;
}

.input-wrapper {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
}

.contact-form button {
  padding: 12px;
  background: #d35400;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #a04000;
}

.contact-info {
  flex: 1;
  min-width: 240px;
}

/* Footer */
footer {
  background: #a04000;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  font-size: 14px;
}

/* Fade-in for JS */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 26px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .hero-overlay p {
    font-size: 15px;
  }

  .card {
    width: 90%;
  }

  .about-row,
  .contact-container {
    flex-direction: column;
  }
}
