/* Custom CSS for Palm Oil Company Website */

:root {
  --primary-color: #198754;
  --primary-dark: #0d6a3e;
  --secondary-color: #ffc107;
}

body {
  font-family: "Poppins", sans-serif;
}

/* Top Bar */
.top-bar a {
  text-decoration: none;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, white, transparent);
}

.min-vh-75 {
  min-height: 75vh;
}

/* Stat Box */
.stat-box {
  background: white;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Product Card */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery Item */
.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}


/* =========================
   PREMIUM FOOTER STYLE
========================= */

.footer-sawit {
    background: linear-gradient(
        135deg,
        #0f3d2e 0%,
        #0a2518 60%,
        #06160f 100%
    );
    color: #ffffff;
    padding: 80px 0 30px;
}

/* Judul */
.footer-sawit h5,
.footer-sawit h6 {
    color: var(--primary-color);
}

/* Paragraph */
.footer-sawit p {
    color: #e6f4ec;
}

/* Menu & link */
.footer-sawit a {
    color: #d4f5e4;
    transition: 0.3s ease;
}

.footer-sawit a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Text muted override */
.footer-sawit .text-muted {
    color: #d4f5e4 !important;
}

/* Icon */
.footer-sawit i {
    color: #1ed760;
}

/* Divider */
.footer-sawit hr {
    border-color: rgba(255,255,255,0.2);
}


/* Buttons */
.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-success:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-success {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-success:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .stat-box h2 {
    font-size: 1.5rem;
  }
}
