/* 
   Tushit Organic - Main Stylesheet
   A clean, modern design for an organic food products website
*/

/* ===== BASE STYLES ===== */
:root {
  --primary-color: #4a8f3e; /* Main brand green */
  --primary-dark: #3a7030; /* Darker green for hover states */
  --primary-light: #e8f5e4; /* Light green for backgrounds */
  --secondary-color: #f9a825; /* Accent color - mango yellow */
  --secondary-dark: #c17900; /* Darker yellow */
  --secondary-light: #fff8e1; /* Light yellow */
  --text-dark: #333333; /* Main text color */
  --text-medium: #666666; /* Secondary text color */
  --text-light: #999999; /* Light text color */
  --white: #ffffff; /* White */
  --off-white: #f9f9f9; /* Off-white for backgrounds */
  --gray-light: #eeeeee; /* Light gray for borders */
  --gray-medium: #dddddd; /* Medium gray */
  --success: #4caf50; /* Success messages */
  --error: #f44336; /* Error messages */
  --warning: #ff9800; /* Warning messages */
  --info: #2196f3; /* Info messages */

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);

  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

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

section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  font-size: 1rem;
}

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

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/hero-bg.svg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px; /* Account for fixed header */
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(5px);
  box-shadow: var(--box-shadow);
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease;
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--secondary-color);
  animation: fadeInDown 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

/* ===== FEATURES SECTION ===== */
.features {
  background-color: var(--off-white);
}

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

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform var(--transition-speed) ease;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

/* ===== PRODUCTS SECTION ===== */
.products {
  background-color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition:
    transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--secondary-color); /* Default color */
}

/* Add specific classes for different tag types */
.product-tag.coming-soon {
  background-color: var(--text-medium);
}

.product-tag.available {
  background-color: var(--success);
}

.product-tag.bestseller,
.product-tag.popular,
.product-tag.new {
  background-color: var(--secondary-color);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-info p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 15px;
  min-height: 60px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.product-weight {
  font-size: 0.9rem;
  color: var(--text-light);
}

.more-products {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  background-color: var(--primary-light);
  border-radius: var(--border-radius-md);
}

.more-products p {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--off-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-medium);
}

.about-values {
  margin-top: 20px;
}

.about-values li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-values i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* ===== PROCESS SECTION ===== */
.process {
  background-color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-step {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: transform var(--transition-speed) ease;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background-color: var(--primary-light);
}

.testimonial-slider {
  display: flex;
  overflow: hidden;
  position: relative;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  margin: 0 15px;
  transition: transform var(--transition-speed) ease;
}

.testimonial-text {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text p {
  font-style: italic;
  color: var(--text-medium);
  line-height: 1.8;
}

.testimonial-text::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.prev-btn,
.next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius-sm);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.info-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.info-text p {
  color: var(--text-medium);
}

.social-links h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.footer-logo p {
  color: var(--gray-light);
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-column h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-column ul li a {
  color: var(--gray-light);
  transition: color var(--transition-speed) ease;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.coming-soon {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-bottom i {
  color: var(--error);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .feature-grid,
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .feature-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: -1;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .feature-grid,
  .product-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

  .hero-content h2 {
    font-size: 1.2rem;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    max-width: 32%;
    height: auto;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Removed duplicate header container rule */