/*
Theme Name: Lumindo Custom
Theme URI: https://lumindo.co.id
Author: Solusi Digital
Description: Custom pixel-perfect theme for Lumindo, optimized for performance with interactive animations.
Version: 1.1.0
Text Domain: lumindo
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Current Active Palette (Option B: Earthy/Green) */
  --lumindo-green: #2F5233;
  --lumindo-gold: #B28C50;
  --lumindo-gold-hover: #d29855;
  --lumindo-cream: #F9F8F3;
  --lumindo-aqua: #f2f1ef; /* Added based on your previous edit */
  --lumindo-dark: #333333;
  --lumindo-gray: #666666;
  --lumindo-border: #E5E5E5;
  --lumindo-white: #FFFFFF;
  --lumindo-wheat: #ffca77;

  /* 
   * Backup Palette (Option A: Maroon/Pink)
   * To use this palette, uncomment these lines and replace the active palette above:
   * --lumindo-green: #2b1b3d; (Dark Blue/Purple for text)
   * --lumindo-gold: #8b1538; (Maroon for primary accents/buttons)
   * --lumindo-gold-hover: #6a0f29; (Darker Maroon for hover)
   * --lumindo-cream: #fdf5f7; (Soft Pink for backgrounds)
   * --lumindo-aqua: #f4e3e8; (Slightly darker pink) *//*
   --lumindo-green: #bd1149;
   --lumindo-gold: #3d1b2e;
   --lumindo-gold-hover: #6a0f29;
   --lumindo-cream: #fdf5f7;
   --lumindo-aqua: #f4e3e8;
	*/--lumindo-green:rgb(158 21 24);/*
	/**/

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing & Container */
  --container-width: 1200px;
  --section-padding: 80px 20px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  color: var(--lumindo-dark);
  line-height: 1.6;
  background-color: var(--lumindo-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { color: var(--lumindo-green); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; transition: color 0.3s ease; }
p { margin-bottom: 1rem; }
a { color: var(--lumindo-green); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--lumindo-gold); }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }

/* ==========================================================================
   LAYOUT & UTILITIES
   ========================================================================== */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-padding); }
.bg-cream { position: relative; padding: 100px 20px; isolation: isolate; background-color: var(--lumindo-aqua); /* fallback color */ }
.bg-cream::before { content: ""; position: absolute; inset: 0; background-image: url('https://lumindo.co.id/wp-content/uploads/2026/05/wheat.jpg'); background-size: cover; background-position: top; opacity: 0.3; /* Adjust the opacity here (0.0 to 1.0) */ z-index: -1; }
.bg-maroon { background-color: #8b1538; color: white; }
.bg-maroon h2, .bg-maroon h3, .bg-maroon p { color: white; }
.text-center { text-align: center; }
.grid-2 {display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;}
/* Flexbox Grids */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* ==========================================================================
   INTERACTIVE COMPONENTS & ANIMATIONS
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--lumindo-gold);
  color: var(--lumindo-white) !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}
.btn:hover {
  background-color: var(--lumindo-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(178, 140, 80, 0.4);
}
.btn:active::after {
  animation: ripple 1s ease-out;
}
@keyframes ripple {
  0% { transform: scale(0, 0); opacity: 0.5; }
  100% { transform: scale(20, 20); opacity: 0; }
}

/* Forms */
input, textarea {
  transition: all 0.3s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--lumindo-green) !important;
  box-shadow: 0 0 0 3px rgba(47, 82, 51, 0.1);
}

/* Scroll Animations Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggering delays for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Cards hover scale */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Header / Navbar */
.site-header {
  background: var(--lumindo-white);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.site-logo { font-size: 24px; font-weight: 800; color: var(--lumindo-green) !important; display: flex; align-items: center; gap: 10px; transition: transform 0.3s; }
.site-logo:hover { transform: scale(1.05); }

/* Language Switcher */
.lang-switcher { display: flex; gap: 10px; font-weight: 600; font-size: 0.9rem; margin-left: 20px; border-left: 1px solid var(--lumindo-border); padding-left: 20px; }
.lang-switcher a { color: var(--lumindo-gray); }
.lang-switcher a.active { color: var(--lumindo-green); border-bottom: 2px solid var(--lumindo-gold); }

.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-menu a { color: var(--lumindo-dark); font-weight: 500; position: relative; }
/* Animated Underline */
.nav-menu a::after {
  content: '';
  position: absolute; width: 0; height: 2px;
  bottom: -4px; left: 0;
  background-color: var(--lumindo-gold);
  transition: width 0.3s ease;
}
.nav-menu a:hover::after, .nav-menu .current-menu-item a::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--lumindo-green); }

/* Footer */
.site-footer { background-color: var(--lumindo-green); color: var(--lumindo-white); padding: 60px 0 20px; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-widget h3 { color: var(--lumindo-wheat); font-size: 1.2rem; }
.footer-widget p, .footer-widget a { color: #e0e0e0; }
.footer-widget a:hover { color: var(--lumindo-gold); padding-left: 5px; }
.footer-widget a { transition: all 0.3s ease; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; color: #a0a0a0; }

/* ==========================================================================
   PAGE TEMPLATES STYLES
   ========================================================================== */
.hero-section { 
	display: flex; align-items: center; padding: 80px 0; min-height: 80vh; 
	/*background-image: url('https://lumindo.co.id/wp-content/uploads/2026/05/wheat.jpg'); background-size: cover; background-position: center bottom; background-repeat: no-repeat;*/
}
.hero-content { flex: 1; padding-right: 40px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; color: var(--lumindo-gray); margin-bottom: 30px; }
.hero-image { flex: 1; }
.hero-image img { border-radius: 20px; /*box-shadow: 0 20px 40px rgba(0,0,0,0.1);*/ transition: transform 0.5s ease; }
.hero-image:hover img { transform: scale(1.02); }

/* About Us Specfic Grid */
.about-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.about-list-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.about-icon { width: 40px; height: 40px; color: var(--lumindo-gold); flex-shrink: 0; }
.about-list-content h4 { margin-bottom: 5px; font-size: 1.1rem; }
.about-list-content p { font-size: 0.95rem; color: var(--lumindo-gray); }

/* Features (Mengapa Memilih Lumindo) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--lumindo-green);
}

/* Products / Features Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.product-card { background: var(--lumindo-white); border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.product-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-info { padding: 25px; text-align: center; }

/* Dropdown Sub-menu */
.nav-menu li { position: relative; }
.nav-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--lumindo-white); min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; padding: 10px 0; z-index: 100; flex-direction: column; gap: 0; list-style:none; }
.nav-menu li:hover > .sub-menu { display: flex; animation: slideUpFade 0.3s ease; }
.nav-menu .sub-menu a { display: block; padding: 10px 20px; font-size: 0.95rem; }
.nav-menu .sub-menu a::after { display: none; }
.nav-menu .sub-menu a:hover { background: var(--lumindo-cream); color: var(--lumindo-green); }
@keyframes slideUpFade { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* Responsive */
@media (max-width: 992px) {
  .hero-section { flex-direction: column; text-align: center; padding: 40px 0; }
  .hero-content { padding-right: 0; margin-bottom: 40px; }
  .hero-content h1 { font-size: 2.5rem; }
  .about-grid-2 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr;}
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--lumindo-white); flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
  .nav-menu.active { display: flex; }
  .lang-switcher { margin-left: 0; border-left: none; padding-left: 0; margin-top: 10px; }
}
