body { font-family: Arial, sans-serif; margin:0; background:#f9f9f9; }
header { background:#4CAF50; color:white; padding:15px; text-align:center; }
header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5em;
  letter-spacing: 2px;
}
nav { background:#333; display:flex; justify-content:center; }
nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
nav a:hover {
  background: #575757;
  transform: scale(1.05);
}
section { padding:20px; }
.products { display:flex; gap:20px; }
.product { background:white; border:1px solid #ddd; padding:15px; width:200px; text-align:center; cursor:pointer; }
.product img { width:100%; height:auto; }
.map {
  max-width: 100%;
  height: auto;
  border: 2px solid #ddd;
  margin-top: 15px;
}
iframe {
  max-width: 100%;
  border: none;
}
body.home {
  background: url('farm-background.jpg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
}

.home-center {
  display: flex;
  justify-content: center;   
  align-items: center;       
  height: 100vh;             
  flex-direction: column;    
  color: white;              
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7); 
}
.map-full {
  margin: 0;
  padding: 0;
  height: 100vh; width: 100vw; }
.map-full iframe {
  border: none;
  width: 100%;
  height: 100%;
}
contact {
  text-align: center;
  padding: 40px;
  background: linear-gradient(to right, #4CAF50, #81C784);
  color: white;
}

.contact-info p {
  font-size: 1.2em;
  margin: 10px 0;
}

.contact-form {
  margin-top: 20px;
}

.contact-form input, .contact-form textarea {
  width: 80%;
  padding: 10px;
  margin: 8px 0;
  border: none;
  border-radius: 5px;
}

.contact-form button {
  background: #333;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.contact-form button:hover {
  background: #575757;
}
.desc-box {
  background: rgba(0, 0, 0, 0.6);   
  color: #fff;                      
  padding: 20px 30px;               
  border-radius: 10px;              
  display: inline-block;
  font-size: 1.2em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5); 
  backdrop-filter: blur(5px);       
}
.welcome-banner {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  background: #2196F3;       
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5em;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.welcome-banner::before,
.welcome-banner::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  background: #1976D2;       
}

.welcome-banner::before {
  left: -20px;
  transform: skew(-20deg);
}

.welcome-banner::after {
  right: -20px;
  transform: skew(20deg);
}
.cart {
  text-align: center;
  padding: 40px;
  background: linear-gradient(to right, #2196F3, #64B5F6);
  color: white;
}

.cart h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.cart-box {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.cart-box ul li {
  margin: 8px 0;
  transition: transform 0.2s;
}

.cart-box ul li:hover {
  transform: scale(1.05);
}

.cart-form input {
  width: 80%;
  padding: 10px;
  margin: 8px 0;
  border: none;
  border-radius: 5px;
}

.cart-form button {
  background: #333;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}

.cart-form button:hover {
  background: #575757;
  transform: scale(1.05);
}
.social-cart {
  margin-top: 20px;
}

.social-cart p {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.social-btn {
  display: inline-block;
  margin: 5px;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, opacity 0.3s;
}

.social-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.whatsapp {
  background: #25D366; 
}

.shopee {
  background: #FF5722; 
}
.products {
  text-align: center;
  padding: 40px;
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 20px;
  width: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.product-card h3 {
  margin: 10px 0;
  font-family: 'Poppins', sans-serif;
}

.product-card button {
  background: #2196F3;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card button:hover {
  background: #1976D2;
}

.product-card.promo::before {
  content: "Promo!";
  position: absolute;
  top: 10px;
  left: -5px;
  background: #FF5722;
  color: white;
  padding: 5px 10px;
  font-size: 0.9em;
  border-radius: 0 5px 5px 0;
}
.product-card.promo::before {
  content: "Promo!";
  position: absolute;
  top: 10px;
  left: -5px;
  background: #FF5722;
  color: white;
  padding: 5px 10px;
  font-size: 0.9em;
  border-radius: 0 5px 5px 0;
}
.product-card {
  position: relative;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 20px;
  width: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.product-card.promo::after {
  content: attr(data-promo);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF5722;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9em;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s, bottom 0.3s;
  pointer-events: none;
}

.product-card.promo:hover::after {
  opacity: 1;
  bottom: -60px;
}
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  opacity: 0; 
  animation: fadeSlideIn 0.8s ease forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0.2s;
}
.product-card:nth-child(2) {
  animation-delay: 0.4s;
}
.product-card:nth-child(3) {
  animation-delay: 0.6s;
}
header {
  position: relative;
  background: #4CAF50; 
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-company {
  position: absolute;
  top: 10px;
  right: 20px;
}

.logo-company img {
  width: 105px;
  height: 105px;
  border-radius: 50%;   
  pointer-events: none; 
}
.logo-top {
  position: absolute;
  top: 20px;          
  left: 50%;          
  transform: translateX(-50%); 
}

.logo-top img {
  width: 200px;        
  height: 200px;
  border-radius: 50%;  
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);  
}
.home-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: white;
}




