/* ABOUT SECTION */
.about {
  background: var(--cream-light);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
}

.about-image {
  background-image: url('/images/about.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Gradient overlay untuk text readability */
  background-blend-mode: overlay;
  
  /* ASPECT RATIO 1:1 (PERSEGI PANJANG) */
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 28rem; /* Batasi lebar max */
  height: auto;
  
  /* Atau pakai padding hack untuk older browser */
  /* padding-bottom: 100%; 
  height: 0; */
  
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(74, 14, 14, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--maroon-deep);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.about-text h2 span {
  font-family: 'Dancing Script', cursive;
  color: var(--gold);
}

.about-text p {
  font-size: 1rem;
  color: #4a3020;
  line-height: 1.9;
  margin-bottom: var(--space-sm);
}
/* Text fade-in dari bawah */
.about-text h2,
.about-text p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.about.visible .about-text h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.about.visible .about-text p:nth-of-type(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.about.visible .about-text p:nth-of-type(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.brand-card:hover {
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(200, 120, 10, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Icon rotate lebih smooth */
.brand-card .brand-icon {
  transition: all .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--maroon-deep);
  border-radius: 1rem;
  border-bottom: 4px solid var(--gold);
  transition: all .3s;
}

.stat:hover {
  transform: translateY(-5px) scale(1.05);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.6875rem;
  color: var(--cream-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* BRANDS SECTION */
.brands {
  background: linear-gradient(170deg, #2a0808 0%, var(--maroon-deep) 100%);
  text-align: center;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.brand-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 120, 10, 0.3);
  border-radius: 1.25rem;
  padding: 2.5rem 1.875rem;
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.3125rem;
}

.brand-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.brand-icon {
  width: 5.625rem;
  height: 5.625rem;
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 3px solid rgba(200, 120, 10, 0.3);
  transition: all .3s;
}

.brand-card:hover .brand-icon {
  transform: scale(1.1) rotate(5deg);
}

.brand-card.opa::before {
  background: linear-gradient(90deg, #6BAADF, #3D7AB5);
}

.brand-card.sweet::before {
  background: linear-gradient(90deg, #E880A0, #C84870);
}

.brand-card.kebab::before {
  background: linear-gradient(90deg, #E8862A, #C86010);
}

.brand-card.opa .brand-icon {
  background: rgba(107, 170, 223, 0.2);
}

.brand-card.sweet .brand-icon {
  background: rgba(232, 128, 160, 0.2);
}

.brand-card.kebab .brand-icon {
  background: rgba(232, 134, 42, 0.2);
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.625rem;
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 0.9375rem;
}

.brand-tag {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.375rem 1.125rem;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.brand-card.opa .brand-tag {
  background: rgba(107, 170, 223, 0.3);
  color: #6BAADF;
}

.brand-card.sweet .brand-tag {
  background: rgba(232, 128, 160, 0.3);
  color: #E880A0;
}

.brand-card.kebab .brand-tag {
  background: rgba(232, 134, 42, 0.3);
  color: #E8862A;
}

.brand-desc {
  font-size: 0.9375rem;
  color: var(--cream-dark);
  line-height: 1.8;
  opacity: 0.85;
}

/* VALUES SECTION */
.values {
  background: var(--cream-light);
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.value-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: clamp(2.5rem, 5vh, 3.5rem) 1.875rem;
  box-shadow: 0 12px 40px rgba(74, 14, 14, 0.1);
  border-top: 5px solid var(--gold);
  transition: all .3s;
}

.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(74, 14, 14, 0.2);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.value-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--maroon-deep);
  font-weight: 700;
  margin-bottom: 0.9375rem;
}

.value-desc {
  font-size: 0.9375rem;
  color: #5a4030;
  line-height: 1.8;
}

/* TREE (HOLDING) SECTION */
.tree {
  background: linear-gradient(170deg, var(--maroon-deep), #200808);
  text-align: center;
}

.tree-container {
  max-width: 50rem;
  margin: var(--space-xl) auto 0;
}

.tree-root {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-deep);
  border-radius: 1.125rem;
  padding: 1.75rem 3.125rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 900;
  display: inline-block;
  position: relative;
  box-shadow: 0 12px 40px rgba(200, 120, 10, 0.4);
}

.tree-root small {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.3125rem;
  font-weight: 400;
}

.tree-line {
  width: 3px;
  height: 3.125rem;
  background: var(--gold);
  margin: var(--space-sm) auto;
  opacity: 0.6;
}

.tree-branches {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

.tree-branch {
  flex: 1;
  min-width: 13rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.branch-node {
  border: 3px solid var(--gold);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  transition: all .3s;
}

.branch-node:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
}

.branch-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.branch-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.branch-subtitle {
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 1px;
  opacity: 0.9;
}

/* VISI MISI SECTION */
.vismis {
  background: var(--cream-light);
}

.vismis-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

.vm-card {
  border-radius: 1.25rem;
  padding: 3rem;
  box-shadow: 0 15px 50px rgba(74, 14, 14, 0.15);
}

.vm-card.visi {
  background: var(--maroon-deep);
}

.vm-card.misi {
  background: #fff;
  border: 3px solid var(--cream-dark);
}

.vm-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: var(--space-sm);
}

.vm-card.visi .vm-title {
  color: var(--gold-light);
}

.vm-card.misi .vm-title {
  color: var(--maroon-deep);
}

.vm-card.visi .vm-text {
  color: var(--cream-dark);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.vm-list {
  list-style: none;
}

.vm-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9375rem;
  color: #4a3020;
}

.vm-list li:last-child {
  border-bottom: none;
}

.vm-list .num {
  background: var(--maroon-deep);
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, #200808 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 37.5rem;
  height: 37.5rem;
  border-radius: 50%;
  border: 2px solid rgba(200, 120, 10, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 5s ease-in-out infinite;
}

.cta h2 {
  margin-bottom: 0.9375rem;
}

.cta .section-subtitle {
  margin-bottom: var(--space-xl);
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  color: var(--cream-dark);
  font-size: 0.9375rem;
  transition: all .3s;
}

.contact-item:hover {
  transform: translateX(8px);
  color: var(--gold-light);
}

.contact-icon {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  background: rgba(200, 120, 10, 0.2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all .3s;
}

.contact-item:hover .contact-icon {
  background: var(--gold);
  color: var(--maroon-deep);
  transform: rotate(5deg) scale(1.1);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
  .about-container,
  .vismis-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .tree-branches {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .brands-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .contact-row {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .vm-card {
    padding: 2rem;
  }
}
