/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #8b4513;
  --secondary-color: #ffffff;
  --accent-color: #90ee90;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-cream: #fefcf7;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--secondary-color);
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(144, 238, 144, 0.6) 100%);
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: var(--secondary-color);
  z-index: 3;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  animation: fadeInUp 1s ease 0.2s both;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
  background: var(--accent-color);
  color: var(--text-dark);
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  animation: fadeInUp 1s ease 0.6s both;
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(144, 238, 144, 0.4);
  background: #7fdd7f;
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.rice-grain {
  position: absolute;
  width: 8px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.grain-1 {
  top: 20%;
  right: 15%;
  animation: float 6s ease-in-out infinite;
}

.grain-2 {
  bottom: 30%;
  left: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

.grain-3 {
  top: 60%;
  right: 25%;
  animation: float 10s ease-in-out infinite;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Tentang Section */
.tentang {
  background: var(--bg-cream);
}

.tentang-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tentang-text h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.tentang-text > p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.value-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.tentang-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* Produk Section */
.produk {
  background: var(--bg-light);
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.produk-card {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.produk-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.produk-image {
  height: 200px;
  overflow: hidden;
}

.produk-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.produk-card:hover .produk-image img {
  transform: scale(1.05);
}

.produk-content {
  padding: 1.5rem;
}

.produk-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.produk-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.produk-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.produk-btn {
  background: var(--accent-color);
  color: var(--text-dark);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
}

.produk-btn:hover {
  background: #7fdd7f;
  transform: translateY(-2px);
}

/* Testimoni Section */
.testimoni {
  background: var(--bg-cream);
}

.testimoni-slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.testimoni-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimoni-card {
  min-width: 100%;
  background: var(--secondary-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimoni-content p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: center;
}

.testimoni-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.author-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimoni-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimoni-btn {
  background: var(--accent-color);
  color: var(--text-dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  transition: var(--transition);
}

.testimoni-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: scale(1.1);
}

/* Kontak Section */
.kontak {
  background: var(--bg-light);
}

.kontak-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.kontak-info h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.kontak-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.kontak-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kontak-icon {
  font-size: 1.3rem;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontak-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.kontak-item p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.newsletter {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.newsletter h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.newsletter p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.newsletter-form button {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #6b3410;
}

.kontak-form {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.submit-button {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.submit-button:hover {
  background: #6b3410;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .tentang-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .kontak-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .produk-grid {
    grid-template-columns: 1fr;
  }

  .values {
    gap: 1rem;
  }

  .value-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rice-grain {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .produk-card,
  .kontak-form,
  .testimoni-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .tentang-text h3 {
    font-size: 1.5rem;
  }
}
