/* ===============================
   ROOT & GLOBAL
 ================================ */
:root {
  --primary: #F2A93B;
  --secondary: #52fa60;
  --dark: #120A1D;
  --purple: #1C1228;
  --purple-light: #2E143F;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-muted: #B9AFC8;
  --text-light: #FFFFFF;
}

body {
  background: var(--dark);
  color: var(--text-light);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(242, 169, 59, 0.2);
  border-radius: 10px;
  border: 2px solid var(--dark);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(242, 169, 59, 0.4);
}

section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.center {
  text-align: center;
}

/* ===============================
   TYPOGRAPHY
 ================================ */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  line-height: 1.3;
}

h2 {
  font-size: clamp(32px, 5vw, 42px);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

p {
  color: var(--text-muted);
  font-size: 16px;
}

.text-gradient {
  background: linear-gradient(90deg, #F2A93B, #FFD27D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===============================
   HERO SECTION
 ================================ */
.hero {
  min-height: 100vh;
  background: url("/images/premium-hero.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 10, 29, 0.4) 0%,
    rgba(18, 10, 29, 0.8) 70%,
    rgba(18, 10, 29, 1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 950;
  letter-spacing: -2px;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 20px);
  color: #E2D9EE;
  font-weight: 400;
  max-width: 700px;
  margin-inline: auto;
}

.hero-btns {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(242, 169, 59, 0.3);
  display: inline-block;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(242, 169, 59, 0.5);
}

.btn-outline {
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* ===============================
   GRID SYSTEM
 ================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* ===============================
   GLASS CARDS (VISI, BIDANG USAHA)
 ================================ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(242, 169, 59, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: 0.5s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(242, 169, 59, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card .icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(242, 169, 59, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 24px;
  border: 1px solid rgba(242, 169, 59, 0.2);
  transition: 0.3s ease;
}

.glass-card:hover .icon-wrapper {
  background: var(--primary);
  color: #000;
  transform: scale(1.1) rotate(5deg);
}

/* ===============================
   IMAGE STYLES
 ================================ */
.img-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

.decorative-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  top: -100px;
  right: -100px;
}

/* ===============================
   PROFILE CARD
 ================================ */
.profile-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.4s ease;
}

.profile-img-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), transparent);
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--dark);
}

.profile-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.profile-card span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  background: rgba(255,255,255,0.05);
}

/* ===============================
   ACCORDION (DETAILS)
 ================================ */
/* ===============================
   ACCORDION (WE ARE FAMILY)
 ================================ */
.accordion-custom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acc-item {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.acc-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(242, 169, 59, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.acc-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.acc-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.acc-icon {
  width: 40px;
  height: 40px;
  background: rgba(242, 169, 59, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s ease;
}

.acc-item.active .acc-icon {
  background: var(--primary);
  color: #000;
}

.acc-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  flex-grow: 1;
  transition: 0.3s ease;
}

.acc-item.active .acc-header h4 {
  color: var(--primary);
}

.acc-toggle {
  color: var(--text-muted);
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-item.active .acc-toggle {
  transform: rotate(180deg);
  color: var(--primary);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-body p {
  padding: 0 24px 24px 80px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

@media(max-width: 768px) {
  .acc-body p {
    padding: 0 20px 20px 20px;
  }
}

/* ===============================
   ANIMATIONS & EFFECTS
 ================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navbar Glass Override */
nav.glass-nav {
  background: rgba(18, 10, 29, 0.8) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* ===============================
   RESPONSIVE
 ================================ */
@media(max-width: 992px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  section {
    padding: 60px 0;
  }
}

/* Custom grid columns for desktop only */
@media (min-width: 993px) {
  .grid-about {
    grid-template-columns: 1fr 1.1fr !important;
  }
  .grid-family {
    grid-template-columns: 1.4fr 1fr !important;
  }
}
