/* ==========================================================================
   CSS Variables & Base Reset
   ========================================================================== */
:root {
  --color-bg-primary: #fcfbf7; /* Cream */
  --color-bg-secondary: #f0ede4; /* Deeper Cream */
  --color-terracotta: #d4af37; /* Gold */
  --color-terracotta-dark: #b99525; /* Darker Gold */
  --color-dark-brown: #112f20; /* Deep Forest Green */
  --color-dark-brown-light: #1e4e36; /* Lighter Forest Green */
  --color-white: #ffffff;

  --font-heading: "DM Serif Display", serif;
  --font-body: "DM Sans", sans-serif;

  --transition-fast: 0.2s ease-in-out;
  --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 10px rgba(17, 47, 32, 0.05);
  --shadow-md: 0 10px 30px rgba(17, 47, 32, 0.1);
  --shadow-lg: 0 20px 40px rgba(17, 47, 32, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-dark-brown);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-dark-brown);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.alternate-bg {
  background-color: var(--color-bg-secondary);
}

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

.section-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 10px;
}

.title-divider {
  width: 80px;
  height: 4px;
  background-color: var(--color-terracotta);
  margin: 20px 0 30px;
  border-radius: 2px;
}

.center-divider {
  margin: 20px auto 30px;
}

.section-description {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--color-dark-brown-light);
}

.fluid-img {
  width: 100%;
  max-height: 700px;
  display: block;
}

.border-radius-lg {
  border-radius: var(--radius-lg);
}
.shadow-lg {
  box-shadow: var(--shadow-lg);
}
.mt-4 {
  margin-top: 2rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--color-terracotta-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-dark-brown);
  transform: translateY(-3px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-base);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(252, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(17, 47, 32, 0.1);
}

.navbar.scrolled .brand-logo,
.navbar.scrolled .nav-links a {
  color: var(--color-dark-brown);
}

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

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  z-index: 101;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-terracotta);
  transition: var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background-color: var(--color-white);
  transition: var(--transition-base);
}

.navbar.scrolled .mobile-menu-btn span {
  background-color: var(--color-dark-brown);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-primary);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.mobile-menu.active {
  left: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-dark-brown);
}

.mobile-nav-links a:hover {
  color: var(--color-terracotta);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* initial scale for subtle zoom out anim */
  animation: zoomOut 20s ease-out infinite alternate;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(17, 47, 32, 0.8) 0%,
    rgba(17, 47, 32, 0.4) 60%,
    rgba(17, 47, 32, 0.1) 100%
  );
  z-index: 2;
}

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

.hero-text-box {
  max-width: 650px;
}

.hero .subtitle {
  color: var(--color-bg-secondary);
}

.main-title {
  font-size: 4.5rem;
  color: var(--color-white);
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-dark-brown-light);
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(17, 47, 32, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-terracotta);
  line-height: 1;
}

.stat-label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-dark-brown-light);
  margin-top: 5px;
}

.about-visual {
  position: relative;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.about-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
  z-index: 0;
}

.visual-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  max-width: 350px;
  transition: var(--transition-base);
  border-left: 4px solid var(--color-terracotta);
}

.visual-card-1 {
  align-self: flex-start;
}

.visual-card-2 {
  align-self: flex-end;
}

.visual-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.visual-card p {
  color: var(--color-dark-brown-light);
}

.visual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   B2B Supply
   ========================================================================== */
.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.b2b-image-wrap {
  position: relative;
}

.b2b-image-wrap::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--color-terracotta);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.b2b-materials {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.material-card {
  display: flex;
  gap: 20px;
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.material-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-terracotta);
}

.material-icon {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.2);
  font-weight: bold;
  line-height: 1;
}

.material-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.material-info p {
  color: var(--color-dark-brown-light);
}

/* ==========================================================================
   DIVAYU Brand
   ========================================================================== */
.divayu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand-badge {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
}

.brand-title {
  font-size: 3.5rem;
}

.brand-description {
  font-size: 1.15rem;
  color: var(--color-dark-brown-light);
  margin-bottom: 30px;
}

.subsection-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-dark-brown-light);
}

.product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-terracotta);
  font-weight: bold;
}

.divayu-image {
  position: relative;
  padding: 30px;
}

.image-frame {
  position: relative;
  background: var(--color-bg-primary);
  padding: 15px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
  transition: var(--transition-base);
}

.image-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  border-radius: var(--radius-md);
}

.image-caption {
  text-align: center;
  padding-top: 15px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-dark-brown);
}

/* ==========================================================================
   Product Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px 20px;
  background: linear-gradient(
    to top,
    rgba(17, 47, 32, 0.9) 0%,
    transparent 100%
  );
  color: var(--color-white);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background-color: var(--color-dark-brown);
  color: var(--color-bg-primary);
  padding: 60px;
}

.contact-info .section-title {
  color: var(--color-bg-primary);
}

.contact-intro {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-terracotta);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text strong {
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.contact-text a:hover {
  color: var(--color-terracotta);
}

.contact-form-container {
  padding: 60px;
  background-color: var(--color-white);
}

.form-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(17, 47, 32, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-bg-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.submit-btn {
  width: 100%;
}
.success-msg {
  color: var(--color-dark-brown-light);
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* ==========================================================================
   Animations & Transitions (JS Triggered)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hero Load Animations */
.slide-up {
  animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-up-delay {
  opacity: 0;
  animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

.slide-up-delay-2 {
  opacity: 0;
  animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

.slide-up-delay-3 {
  opacity: 0;
  animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .main-title {
    font-size: 3.5rem;
  }
  .about-grid,
  .b2b-grid,
  .divayu-layout {
    gap: 40px;
  }
  .contact-wrapper {
    gap: 0;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }

  .about-grid,
  .b2b-grid,
  .divayu-layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    height: auto;
    padding: 40px 0;
  }
  .visual-card {
    max-width: 100%;
    align-self: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .b2b-image-wrap {
    margin-bottom: 20px;
  }
  .divayu-image {
    padding: 0;
    margin-top: 30px;
  }

  .main-title {
    font-size: 2.8rem;
  }
  .brand-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .contact-info,
  .contact-form-container {
    padding: 40px 20px;
  }
  .stat-number {
    font-size: 2.5rem;
  }
}
/* =============================================
   Footer — Green Theme with Radial Glow
   ============================================= */
.footer {
  background-color: #0a2318;
  background-image:
    radial-gradient(
      ellipse at 10% 50%,
      rgba(30, 78, 54, 0.55) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 90% 20%,
      rgba(17, 47, 32, 0.7) 0%,
      transparent 55%
    );
  color: var(--color-bg-primary);
  padding: 60px 0 0;
}

.footer-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-bg-primary);
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(252, 251, 247, 0.65);
  max-width: 280px;
}

.footer-eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 78, 54, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: rgba(252, 251, 247, 0.65);
  margin-top: 20px;
}

.footer-eco-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #639922;
  flex-shrink: 0;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(252, 251, 247, 0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-links a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-terracotta);
  opacity: 0.5;
  flex-shrink: 0;
}

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

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

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.9rem;
  color: rgba(252, 251, 247, 0.7);
  line-height: 1.5;
}

.footer-contact-text strong {
  display: block;
  color: var(--color-bg-primary);
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.88rem;
  color: rgba(252, 251, 247, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(252, 251, 247, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-tagline {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
