:root {
  --primary: #D32F2F;
  --primary-dark: #B71C1C;
  --secondary: #FDD835;
  --dark: #212121;
  --light: #f5f5f5;
  --gray: #757575;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  padding-top: 80px; /* Untuk header fixed */
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 10px;
  color: var(--secondary);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('sasirangan(2).png');
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

/* Products Section */
.products {
  padding: 100px 0;
  background-color: var(--light);
}


.min-order-notice i {
  margin-right: 8px;
  color: #e67e22;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 1;
}

.product-img {
  height: 250px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.product-desc {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.product-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.quantity-control {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.qty-btn {
  width: 35px;
  height: 35px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background-color: var(--primary-dark);
}

.qty-input {
  width: 60px;
  height: 35px;
  text-align: center;
  margin: 0 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-weight: 600;
}

/* Order Section */
.order {
  padding: 100px 0;
  background-color: var(--white);
}

.order-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--light);
  padding: 50px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.order-title {
  text-align: center;
  margin-bottom: 30px;
}

.order-title h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.order-title p {
  color: var(--gray);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

#order-summary {
  background: #fff;
  padding: 15px;
  border-radius: 5px;
  margin-top: 10px;
  transition: var(--transition);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  margin-bottom: 15px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-img, .about-text {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-links.show {
    display: flex;
  }
  
  .nav-links li {
    margin-left: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }
  
  .hamburger {
    display: block;
  }
  
  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-outline {
    margin-left: 0;
  }

  .order-container {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 20px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .order-container {
    padding: 20px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.form-group.required label::after {
  content: " *";
  color: var(--primary);
  font-weight: bold;
}

/* Atau jika ingin styling yang lebih menonjol */
.form-group.required label {
  position: relative;
}

.form-group.required label::after {
  content: "*";
  color: var(--primary);
  font-weight: bold;
  margin-left: 4px;
  position: absolute;
  top: -2px;
  font-size: 1.2em;
}

/* Style untuk form yang wajib diisi */
.form-control[required] {
  border-left: 2px solid var(--primary);
  padding-left: 13px; /* sedikit lebih kecil karena border */
}