/*
Theme Name:  Adzta Gemilang Sejahtera
Template:    hostinger-ai-theme
Description: Child theme untuk website Adzta Gemilang Sejahtera
Version:     1.4.0
Author:      Adzta Gemilang Sejahtera
*/

/* ============================
   VARIABLES
   ============================ */
:root {
  --agra-navy:        #1D2B6B;
  --agra-navy-dark:   #141f50;
  --agra-green:       #4A7C3F;
  --agra-light-green: #5E9A42;
  --agra-white:       #FFFFFF;
  --agra-light-bg:    #F4F6F0;
  --agra-text:        #1a1a2e;
  --agra-text-light:  #5a6474;
  --agra-border:      #e2e8dd;
}

/* ============================
   HEADER / NAVBAR
   ============================ */
.agra-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
}

.agra-header.scrolled {
  background: rgba(15, 23, 41, 0.97);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
}

.agra-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.agra-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.agra-header-logo {
  height: 48px !important;
  width: auto !important;
  display: block !important;
}

.agra-header-name {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.5px;
}

.agra-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.agra-nav li {
  margin: 0 !important;
  padding: 0 !important;
}

.agra-nav a {
  display: block;
  padding: 8px 18px;
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.agra-nav a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.1);
}

/* Header right group */
.agra-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language toggle */
.agra-lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.agra-lang-toggle:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}

.agra-lang-opt {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.agra-lang-opt.active {
  color: #fff;
}

.agra-lang-sep {
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}

.agra-header-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  background: var(--agra-green) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
  box-shadow: 0 2px 12px rgba(74,124,63,0.35) !important;
  flex-shrink: 0;
}

.agra-header-cta:hover {
  background: var(--agra-light-green) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(74,124,63,0.45) !important;
  color: #fff !important;
}

.agra-header-cta i {
  font-size: 16px !important;
  color: #fff !important;
}

/* Hamburger (mobile) */
.agra-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.agra-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.agra-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.agra-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.agra-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Remove parent theme body padding for old fixed menu */
body.hostinger-ai-builder-gutenberg {
  padding-top: 0 !important;
}

/* Reset WP header wrapper — make it invisible container */
header.site-header,
header.wp-block-template-part {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  position: static !important;
  overflow: visible !important;
}

/* Hide old default WP menu inside header if present */
.site-header .wp-block-group.hostinger-ai-menu {
  display: none !important;
}

/* Offset hero for fixed header */
.agra-hero {
  padding-top: 150px !important;
}

/* Header responsive — tablet */
@media (max-width: 900px) {
  .agra-hamburger {
    display: flex;
  }

  .agra-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15,23,41,0.98);
    padding: 16px 24px 24px;
    gap: 2px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  }

  .agra-nav.open {
    display: flex;
  }

  .agra-nav a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .agra-header-right {
    gap: 10px;
  }

  .agra-header-cta {
    display: none !important;
  }
}

/* ============================
   TYPOGRAPHY BASE
   ============================ */
.agra-hero,
.agra-about,
.agra-products,
.agra-why,
.agra-contact,
.agra-footer {
  font-family: 'DM Sans', sans-serif;
}

.agra-hero h1,
.agra-section-title,
.agra-product-body h3,
.agra-why-item h3,
.agra-contact-info-title {
  font-family: 'DM Serif Display', serif;
}

/* ============================
   RESET HELPERS
   ============================ */
.agra-hero *,
.agra-about *,
.agra-products *,
.agra-why *,
.agra-contact *,
.agra-footer * {
  box-sizing: border-box;
}

/* Fix WordPress universal image override */
.agra-product-photo img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.45s ease !important;
}

.agra-about-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13);
}

/* ============================
   UTILITIES
   ============================ */
.agra-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.agra-section-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--agra-green);
  margin-bottom: 12px;
  display: block;
}

.agra-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  color: var(--agra-navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

.agra-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.agra-section-header .agra-section-title {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.agra-section-header p {
  color: var(--agra-text-light);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================
   BUTTONS
   ============================ */
.agra-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

.agra-btn-primary {
  background: var(--agra-green);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(74,124,63,0.4);
}

.agra-btn-primary:hover {
  background: var(--agra-light-green);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,124,63,0.45);
}

.agra-btn-primary i { color: #fff !important; }

.agra-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.7);
}

.agra-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,1);
  color: #fff !important;
  transform: translateY(-2px);
}

.agra-hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   HERO SECTION
   ============================ */
.agra-hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  background: linear-gradient(150deg, #111c4e 0%, #1D2B6B 50%, #1e3d17 100%);
}

.agra-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/05/lokasibudidaya.jpeg') center / cover no-repeat;
  opacity: 0.1;
}

/* Decorative bottom wave */
.agra-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  height: 60px;
  background: var(--agra-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.agra-hero-content {
  position: relative;
  z-index: 1;
}

.agra-hero-logo {
  height: 70px !important;
  width: auto !important;
  margin-bottom: 40px;
  display: inline-block !important;
  filter: brightness(0) invert(1);
}

.agra-hero h1 {
  font-family: 'DM Serif Display', serif !important;
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 400 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  margin: 0 auto 22px !important;
  max-width: 820px;
}

.agra-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* ============================
   ABOUT SECTION
   ============================ */
.agra-about {
  padding: 100px 0;
  background: var(--agra-white);
}

.agra-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.agra-about-text .agra-section-title {
  margin-bottom: 20px;
}

.agra-about-text p {
  font-size: 16px;
  color: var(--agra-text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

.agra-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.agra-stat-item {
  background: var(--agra-light-bg);
  padding: 22px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--agra-green);
}

.agra-stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--agra-navy);
  line-height: 1;
}

.agra-stat-label {
  font-size: 13px;
  color: var(--agra-text-light);
  margin-top: 6px;
}

/* ============================
   PRODUCTS SECTION
   ============================ */
.agra-products {
  padding: 100px 0;
  background: var(--agra-light-bg);
}

.agra-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.agra-product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--agra-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.agra-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(29,43,107,0.12);
  border-color: transparent;
}

.agra-product-photo {
  width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

.agra-product-card:hover .agra-product-photo img {
  transform: scale(1.07) !important;
}

.agra-product-body {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.agra-product-body h3 {
  font-family: 'DM Serif Display', serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: var(--agra-navy) !important;
  margin: 0 0 10px !important;
  line-height: 1.3;
}

.agra-product-body p {
  font-size: 14px;
  color: var(--agra-text-light);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.agra-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  padding: 5px 14px;
  background: #e8f4e5;
  color: var(--agra-green) !important;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  width: fit-content;
}

.agra-product-tag i {
  color: var(--agra-green) !important;
  font-size: 11px !important;
}

/* ============================
   WHY US SECTION
   ============================ */
.agra-why {
  padding: 100px 0;
  background: var(--agra-navy);
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.agra-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(74,124,63,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.agra-why .agra-container {
  position: relative;
  z-index: 1;
}

.agra-why .agra-section-tag {
  color: #7ec86e !important;
}

.agra-why .agra-section-title {
  color: #fff !important;
}

.agra-why .agra-section-header p {
  color: rgba(255,255,255,0.6) !important;
}

.agra-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.agra-why-item {
  text-align: center;
  padding: 40px 24px 36px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.agra-why-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

.agra-why-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 22px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}

/* ICON COLOR FIX - high specificity */
.agra-why-item .agra-why-icon i,
.agra-why-item .agra-why-icon i.fa-solid,
.agra-why-item .agra-why-icon i.fa-brands,
.agra-why .agra-why-icon i {
  font-size: 28px !important;
  color: #ffffff !important;
  opacity: 0.9;
}

.agra-why-item h3 {
  font-family: 'DM Serif Display', serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin: 0 0 12px !important;
  line-height: 1.3;
}

.agra-why-item p {
  font-size: 14px !important;
  color: rgba(255,255,255,0.62) !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}

/* ============================
   CONTACT SECTION
   ============================ */
.agra-contact {
  padding: 100px 0;
  background: var(--agra-white);
}

.agra-contact .agra-section-header {
  margin-bottom: 48px;
}

.agra-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 52px;
}

.agra-contact-card {
  background: var(--agra-light-bg);
  border: 1px solid var(--agra-border);
  border-radius: 16px;
  padding: 36px 24px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.agra-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(29,43,107,0.1);
  border-color: rgba(29,43,107,0.2);
  background: #fff;
}

.agra-contact-card-icon {
  width: 58px !important;
  height: 58px !important;
  background: var(--agra-navy) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 18px !important;
}

/* ICON COLOR FIX - high specificity */
.agra-contact-card .agra-contact-card-icon i,
.agra-contact-card .agra-contact-card-icon i.fa-solid,
.agra-contact-card .agra-contact-card-icon i.fa-brands {
  font-size: 20px !important;
  color: #ffffff !important;
}

.agra-contact-card h4 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--agra-navy) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin: 0 0 10px !important;
}

.agra-contact-card p {
  font-size: 15px !important;
  color: var(--agra-text-light) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.agra-contact-card a {
  color: var(--agra-text-light) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.agra-contact-card a:hover {
  color: var(--agra-green) !important;
}

.agra-contact-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.agra-wa-btn-large {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 36px !important;
  background: #25D366 !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s !important;
  box-shadow: 0 6px 24px rgba(37,211,102,0.32) !important;
}

.agra-wa-btn-large:hover {
  background: #1bba5a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(37,211,102,0.42) !important;
  color: #fff !important;
}

.agra-wa-btn-large i,
.agra-wa-btn-large i.fa-brands {
  font-size: 22px !important;
  color: #ffffff !important;
}

.agra-email-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 30px !important;
  background: transparent !important;
  color: var(--agra-navy) !important;
  border: 1.5px solid var(--agra-navy) !important;
  border-radius: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.25s !important;
}

.agra-email-btn:hover {
  background: var(--agra-navy) !important;
  color: #fff !important;
}

.agra-email-btn i,
.agra-email-btn i.fa-solid {
  font-size: 16px !important;
  color: inherit !important;
}

/* ============================
   FOOTER
   ============================ */
.agra-footer {
  background: #0f1729;
  padding: 64px 0 28px;
}

.agra-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.agra-footer-brand img {
  height: 46px !important;
  width: auto !important;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  display: block !important;
}

.agra-footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.48);
  margin: 0;
}

.agra-footer-col h4 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin: 0 0 20px !important;
}

.agra-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.agra-footer-col ul li {
  margin-bottom: 10px !important;
}

.agra-footer-col ul li a {
  color: rgba(255,255,255,0.52) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: color 0.2s;
}

.agra-footer-col ul li a:hover {
  color: #7ec86e !important;
}

.agra-footer-col address {
  font-style: normal !important;
  font-size: 14px !important;
  color: rgba(255,255,255,0.52) !important;
  line-height: 1.85 !important;
}

.agra-footer-col address a {
  color: rgba(255,255,255,0.52) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.agra-footer-col address a:hover {
  color: #7ec86e !important;
}

.agra-footer-col address i {
  color: rgba(255,255,255,0.35) !important;
}

.agra-footer-divider {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding-top: 28px !important;
  text-align: center !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.28) !important;
}

/* ============================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================ */
@media (max-width: 1024px) {
  .agra-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .agra-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ============================
   RESPONSIVE — MEDIUM (≤ 900px)
   ============================ */
@media (max-width: 900px) {
  .agra-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .agra-contact-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .agra-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .agra-footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================ */
@media (max-width: 640px) {
  .agra-container {
    padding: 0 20px;
  }

  .agra-hero {
    padding: 80px 0 90px;
  }

  .agra-hero-logo {
    height: 54px !important;
  }

  .agra-about,
  .agra-products,
  .agra-why,
  .agra-contact {
    padding: 72px 0;
  }

  .agra-products-grid {
    grid-template-columns: 1fr;
  }

  .agra-why-grid {
    grid-template-columns: 1fr;
  }

  .agra-stats {
    grid-template-columns: 1fr 1fr;
  }

  .agra-contact-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .agra-wa-btn-large {
    font-size: 15px !important;
    padding: 14px 24px !important;
  }

  .agra-footer-grid {
    grid-template-columns: 1fr;
  }

  .agra-hero::after {
    height: 40px;
  }
}
