/* ==========================================================================
   STYLE.CSS - ICCRI NET Konsultasi Kesesuaian Lahan Stylesheet
   Design System, Custom Table Styling, Info Boxes, and Responsiveness
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color Tokens */
  --color-primary: #123524;         /* Deep Forest Green */
  --color-primary-light: #2e6f40;   /* Light Forest Green */
  --color-secondary: #5c3e35;       /* Cocoa Brown */
  --color-accent: #d49a17;         /* Gold Accent */
  --color-accent-hover: #b8820e;   /* Darker Gold */
  --color-bg-light: #f5efe6;        /* Ivory Light */
  --color-bg-card: #ffffff;         /* Pure White */
  --color-border: #e2e8f0;          /* Gray Border */
  --color-text-dark: #1f2937;       /* Dark Gray */
  --color-text-muted: #4b5563;     /* Muted Gray */
  --color-text-light: #ffffff;     /* White text */

  /* Spacing */
  --container-max-width: 1200px;
  
  /* Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(18, 53, 36, 0.04);
  --shadow-lg: 0 20px 40px rgba(18, 53, 36, 0.08);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Styles & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: #fafaf9;
  line-height: 1.6;
  font-size: 1rem;
}

/* Accessibility Focus Indicator (WCAG 2.4.7) */
*:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

/* Skip-to-content Link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 12px 24px;
  z-index: 9999;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* Utility Helpers */
a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

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

.rounded { border-radius: var(--border-radius-md); }
.shadow { box-shadow: var(--shadow-md); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 154, 23, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 14px 35px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20ba56;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* --- Global Containers --- */
.el-section {
  padding: 80px 0;
  position: relative;
}

.el-section.bg-alt {
  background-color: var(--color-bg-light);
}

.el-section.bg-light {
  background-color: #ffffff;
}

.el-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.el-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.el-col {
  flex: 1 0 0%;
  padding-left: 15px;
  padding-right: 15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; }

.align-items-center { align-items: center; }

@media (max-width: 991px) {
  .el-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 45px;
  }
  .el-col:last-child {
    margin-bottom: 0;
  }
  .el-section {
    padding: 60px 0;
  }
}

/* --- Heading Section Header --- */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header.text-left {
  text-align: left;
}

.section-header .subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 850;
  color: var(--color-primary);
  line-height: 1.25;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  margin-top: 15px;
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-left h2::after {
  margin-left: 0;
  margin-right: 0;
}

.section-top-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* --- Header / Navigation Styling --- */
.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.top-bar {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a {
  color: var(--color-text-light);
}

.top-bar-info a:hover {
  color: var(--color-accent);
}

.logo-bar {
  background-color: #ffffff;
  padding: 15px 0;
}

.logo-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: clamp(40px, 5.5vw, 60px);
  width: auto;
  max-width: 100%;
  display: block;
}

.navigation-bar {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.navigation-bar-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.site-navigation {
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  width: 100%;
  justify-content: flex-start;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 12px 18px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-link:hover, .nav-item:focus-within > .nav-link {
  color: var(--color-accent-hover);
  background-color: var(--color-bg-light);
}

.nav-item.current-menu-item > .nav-link {
  color: var(--color-accent-hover);
  background-color: rgba(212, 154, 23, 0.06);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  min-width: 240px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.dropdown-link:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  text-decoration: none;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive Header Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 991px) {
  .top-bar { display: none; }
  .navigation-bar { display: none; }
  .menu-toggle { display: block; }
  
  .site-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 3px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 10px 0;
  }
  
  .site-navigation.is-active {
    display: block;
  }
  
  .logo-bar {
    position: relative;
    box-shadow: var(--shadow-sm);
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-link {
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-border);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--color-accent);
    background-color: #fafaf9;
    display: none;
    padding-left: 10px;
  }
  
  .nav-item.dropdown-active .dropdown-menu {
    display: block;
  }
}

/* --- Hero Section --- */
.lahan-hero-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0c2317 100%);
  color: var(--color-text-light);
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lahan-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(212, 154, 23, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.lahan-hero-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.lahan-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 25px;
  border: 1px solid rgba(212, 154, 23, 0.2);
}

.lahan-hero-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: 20px;
}

.lahan-hero-lead {
  font-size: 1.15rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* --- Table Section --- */
.table-section {
  padding: 80px 0 40px;
}

.table-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

@media (max-width: 991px) {
  .table-layout-wrapper {
    grid-template-columns: 1fr;
  }
}

.table-content-area {
  background-color: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.table-content-area h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 25px;
  line-height: 1.3;
}

.table-responsive-container {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

.custom-rates-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.custom-rates-table th {
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.custom-rates-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-dark);
  line-height: 1.5;
}

.custom-rates-table tbody tr:nth-child(even) {
  background-color: #fafaf9;
}

.custom-rates-table tbody tr:hover {
  background-color: rgba(18, 53, 36, 0.03);
}

/* Sidebar Callout */
.table-sidebar-callout {
  background-color: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-accent);
  align-self: start;
}

.callout-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.callout-title i {
  color: var(--color-accent);
}

.table-sidebar-callout p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.table-sidebar-callout ul {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.table-sidebar-callout ul li {
  margin-bottom: 10px;
}

/* --- Benefit / Detail Section --- */
.details-section {
  padding: 40px 0 80px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 991px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

.details-card {
  background-color: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.details-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.details-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.details-icon {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(18, 53, 36, 0.1);
  font-size: 1rem;
}

.details-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.details-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Call to Action (CTA) Section --- */
.lahan-cta-section {
  background-color: var(--color-bg-light);
  padding: 80px 0;
}

.floating-cta-card {
  background-color: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(18, 53, 36, 0.05);
}

.cta-text-side {
  padding-right: 30px;
}

.cta-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}

.cta-text-side h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 850;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 20px;
}

.cta-text-side p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.cta-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-features-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.cta-features-list i {
  color: var(--color-primary-light);
  font-size: 1.2rem;
}

/* Standout Contact Card */
.contact-card-standout {
  background-color: #ffffff;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-smooth);
}

.contact-card-standout:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 15px 30px rgba(18, 53, 36, 0.08);
  transform: translateY(-5px);
}

.contact-avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.contact-avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(18, 53, 36, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed var(--color-primary-light);
}

.contact-avatar-ring i {
  font-size: 2rem;
  color: var(--color-primary);
}

.contact-info {
  margin-bottom: 25px;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 5px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
}

.contact-phone-num {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-top: 4px;
}

.w-100 { width: 100%; justify-content: center; }

@media (max-width: 991px) {
  .floating-cta-card {
    padding: 35px;
  }
  .cta-text-side {
    padding-right: 0;
    margin-bottom: 35px;
  }
}

/* --- Footer Styling --- */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--color-accent);
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .footer-widgets {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 575px) {
  .footer-widgets {
    grid-template-columns: 1fr;
  }
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 12px;
}

.footer-widget ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.footer-widget ul li a:hover {
  color: var(--color-accent);
  text-decoration: none;
  padding-left: 4px;
}

.footer-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info-logo img {
  height: 48px;
  width: auto;
  max-width: 100%;
}

.footer-info-text {
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-recent-news li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.footer-recent-news li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.footer-recent-news a {
  display: block;
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.footer-recent-news a:hover {
  color: var(--color-accent) !important;
}

.footer-recent-news span {
  font-size: 0.75rem;
  opacity: 0.6;
  display: block;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 4px;
  font-size: 1rem;
}

.footer-contact-item span {
  flex: 1;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
