/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-dark: #003324;
    --primary-green: #00865E;
    --accent-yellow: #FCB215;
    --white: #FFFFFF;
    --bg-gray: #f4f4f4; /* Lebih terang dari D9D9D9 agar bersih */
}

body {
    background-color: var(--bg-gray);
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.img-fluid { max-width: 100%; height: auto; display: block; }
.rounded-lg { border-radius: 24px; }
.rounded-md { border-radius: 16px; }
.shadow-img { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-outline { border: 2px solid var(--accent-yellow); color: var(--accent-yellow); padding: 8px 16px; font-size: 14px; }
.btn-filled { background-color: var(--primary-dark); color: var(--white); padding: 10px 20px; font-size: 14px; }
.btn-whatsapp { background-color: var(--primary-green); color: var(--white); padding: 12px 24px; font-size: clamp(16px, 2vw, 20px); gap: 10px; }
.btn-try-large { border: 2px solid var(--accent-yellow); background: var(--white); color: var(--accent-yellow); padding: 12px 24px; font-size: clamp(16px, 2vw, 20px); }
.btn-youtube { background: var(--white); color: var(--accent-yellow); border: 2px solid var(--accent-yellow); padding: 12px 24px; font-size: clamp(16px, 2vw, 20px); gap: 10px; }
.btn-green-solid { background: var(--primary-green); color: var(--white); padding: 12px 30px; font-size: 18px; }

/* --- NAVBAR --- */
.navbar {
    background-color: var(--white);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo { color: var(--primary-dark); font-size: 28px; font-weight: 700; }

.nav-menu {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-left: 40px;
}

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--primary-dark); font-weight: 500; font-size: 16px; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-login { display: flex; align-items: center; gap: 10px; font-weight: 500;}
.nav-divider { width: 1px; height: 30px; background: rgba(0,0,0,0.1); }
.nav-buttons { display: flex; gap: 10px; }
.mobile-menu-toggle { display: none; }

/* --- HERO --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../asset/efarm/farm1.png') no-repeat center right;
    background-size: cover;
    display: flex;
    align-items: center;
    margin-top: 80px; /* Offset for navbar */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #003324 0%, rgba(0, 76, 54, 0.9) 40%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    position: relative;
    
}

.main-title { color: var(--white); font-size: clamp(40px, 8vw, 80px); line-height: 1.1; margin-bottom: 10px; }
.sub-title { color: var(--white); font-size: clamp(20px, 3vw, 32px); margin-bottom: 20px; }
.description { color: rgba(255,255,255,0.9); font-size: clamp(16px, 2vw, 22px); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

/* --- FEATURES --- */
.features-section { background: var(--primary-green); margin-top: -5px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background: rgba(255,255,255,0.1); border-radius: 20px; padding: 40px 20px; text-align: center; }
.feature-icon { width: 80px; height: 80px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.feature-icon img { width: 40px; }
.feature-card h3 { color: var(--white); font-size: 1.2rem; font-weight: 500; }

/* --- MECHANISM --- */
.mechanism-flex { display: flex; gap: 50px; align-items: center; }
.mechanism-image { flex: 1; }
.mechanism-steps { flex: 1; display: flex; flex-direction: column; gap: 30px; position: relative; }
.mechanism-steps::before { content: ''; position: absolute; left: 24px; top: 10px; bottom: 10px; width: 2px; background: #ddd; z-index: 1; }
.step-item { display: flex; gap: 20px; position: relative; z-index: 2; }
.step-number { width: 50px; height: 50px; background: var(--accent-yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: bold; font-size: 20px; flex-shrink: 0; border: 4px solid var(--bg-gray); }
.step-content h4 { color: var(--primary-dark); font-size: 1.3rem; margin-bottom: 5px; }
.step-content p { color: #555; font-size: 1rem; }

/* --- COMPONENTS --- */
.components-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.component-card { background: rgba(0, 134, 94, 0.1); padding: 30px; border-radius: 24px; text-align: center; }
.component-card img { margin: 0 auto 20px; }
.component-card h3 { color: var(--primary-dark); font-size: 1.5rem; }

/* --- VIDEO BANNER --- */
.video-banner { position: relative; border-radius: 24px; overflow: hidden; padding: 60px 40px; background: url('asset/efarm/laptop-bg.jpg') center/cover; min-height: 400px; display: flex; align-items: center; }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #003324 0%, rgba(0, 102, 72, 0.8) 50%, rgba(0,0,0,0) 100%); }
.banner-content { position: relative; z-index: 2; max-width: 600px; }
.banner-content h2 { color: var(--white); font-size: clamp(30px, 5vw, 50px); margin-bottom: 15px; }
.banner-content p { color: var(--white); font-size: clamp(16px, 2vw, 22px); margin-bottom: 30px; }

/* --- INFO SECTION --- */
.info-flex { display: flex; gap: 50px; align-items: center; }
.info-images { flex: 1; display: flex; gap: 20px; }
.img-farmer, .img-chickens { width: 48%; border-radius: 16px; object-fit: cover; }
.img-farmer { margin-top: 40px; }
.img-chickens { margin-bottom: 40px; }
.info-text { flex: 1; }
.info-text h2 { color: var(--primary-dark); font-size: clamp(30px, 5vw, 50px); line-height: 1.2; margin-bottom: 15px; }
.info-text p { font-size: 1.2rem; margin-bottom: 30px; color: #555; }

/* --- FOOTER --- */
.efarm-footer { background: var(--primary-green); color: var(--white); padding: 60px 0 20px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 40px; line-height: 1; margin-bottom: 20px; }
.footer-heading { font-size: 1.2rem; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links a { color: var(--white); text-decoration: none; opacity: 0.8; line-height: 2; }
.footer-links a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; text-align: center; font-size: 0.9rem; opacity: 0.8; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .nav-menu { display: none; } /* Hide menu, needs JS for toggle */
    .mobile-menu-toggle { display: block; background: none; border: none; cursor: pointer; }
    .bar { display: block; width: 25px; height: 3px; background: var(--primary-dark); margin: 5px auto; }
    
    .hero { background-position: center; }
    .hero-overlay { background: rgba(0, 51, 36, 0.7); } /* Solid dark overlay for mobile */
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-actions { justify-content: center; }

    .mechanism-flex, .info-flex { flex-direction: column; }
    .info-images { flex-direction: column; }
    .img-farmer, .img-chickens { width: 100%; margin: 0; }
    
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .map-container { max-width: 400px; margin: 0 auto; }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,700&display=swap');

:root {
  --primary-color: #00865E;
  --accent-color: #E9B814;
  --text-white: #ffffff;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.iot-section {
  background: var(--primary-color);
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.feature-block {
  display: flex;
  flex-direction: column; /* Default Mobile */
  gap: 50px;
  margin-bottom: 100px;
  align-items: center;
}

.feature-block.reverse {
  flex-direction: column;
}

.image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.content-wrapper {
 
  color: var(--text-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.bullet {
  min-width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 5px;
  margin-top: 8px;
}

.item h3 {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.item p {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.5;
  margin: 0;
}

/* Tablet & Desktop */
@media (min-width: 992px) {
  .feature-block {
    flex-direction: row;
    text-align: left;
  }
  
  .feature-block.reverse {
    flex-direction: row-reverse;
  }

  .content-wrapper {
    padding-left: 40px;
  }

  .feature-block.reverse .content-wrapper {
    padding-left: 0;
    padding-right: 40px;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
}

/* Penyesuaian Mobile Kecil */
@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  .item h3 {
    font-size: 1.2rem;
  }
  .item p {
    font-size: 0.9rem;
  }
}

