:root {
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
}

body {
  font-family: var(--font-body);
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.navbar-brand,
.about-title,
.contact-title,
.modal h3,
.modal h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
}
h2 {
  font-weight: 700;
}
h3 {
  font-weight: 600;
}

.navbar {
  padding: 18px 0;
  transition: 0.4s;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
  color: white !important;
  font-size: 1.5rem;
}

.nav-link {
  color: white !important;
  margin-left: 25px;
  position: relative;
  font-weight: 500;
  font-family: var(--font-body);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: white;
  left: 0;
  bottom: -6px;
  transition: 0.4s;
}

.nav-link:hover::after {
  width: 100%;
}

.navbar.scrolled {
  background: white;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
  color: #222 !important;
}
.navbar.scrolled .navbar-brand {
  color: #222 !important;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}
.hero .mt-4 {
  margin-top: 4.5rem !important;
}

.hero .hero-subtitle {
  margin-top: 1.25rem !important;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

.profile-card {
  width: 180px;
  height: 180px;
  margin: 0 auto 30px auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  animation: glowProfile 4s ease-in-out infinite;
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

@keyframes glowProfile {
  0% {
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.45),
      0 0 0px rgba(255, 180, 120, 0);
  }
  50% {
    box-shadow:
      0 25px 60px rgba(0, 0, 0, 0.55),
      0 0 35px rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.45),
      0 0 0px rgba(255, 180, 120, 0);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  font-family: var(--font-body);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background: white;
  border: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 500;
  transition: 0.3s;
  font-family: var(--font-body);
}

/* ABOUT SECTION */
.about-section {
  position: relative;
  padding: 120px 0;
  color: white;
  overflow: hidden;
}

.about-section > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -2;
}

.about-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: -1;
}

.about-title {
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 1.5rem;
}

.about-description {
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px 20px;
  transition: 0.4s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.glass-card p {
  font-family: var(--font-body);
  opacity: 0.9;
  margin-bottom: 0;
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.card-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.media-grid {
  margin-top: 10px;
}

.media-card {
  display: block;
  text-decoration: none;
  color: #222;
  text-align: center;
  transition: 0.3s;
}

/* UPDATE: Membuat semua gambar di media modal memiliki ukuran yang seragam */
.media-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.media-card p {
  margin-top: 10px;
  font-weight: 500;
  font-size: 14px;
  font-family: var(--font-body);
}

.media-card:hover img {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* MODAL */
.modal-backdrop.show {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: linear-gradient(145deg, #ffffff, #efe7da);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  position: relative;
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #c8a46b, #e8d2a9, #c8a46b);
  border-radius: 24px 24px 0 0;
}

.modal h3 {
  font-size: 2rem;
  font-weight: 700;
}
.modal h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

.modal h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
}

.modal p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  font-family: var(--font-body);
}

.credential-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.credential-list li {
  padding: 12px 0;
  font-size: 16px;
  color: #444;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
  line-height: 1.5;
}

.credential-list li:last-child {
  border-bottom: none;
}

.credential-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 4px;
}

.focus-description {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #666;
  margin-top: 2px;
  margin-left: 0;
  line-height: 1.4;
}

.list-group-item {
  background: #fafafa;
  border-radius: 12px !important;
  border: none;
  margin-bottom: 10px;
  font-weight: 500;
  padding: 14px 18px;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  text-align: left;
  line-height: 1.4;
}

.list-group-item:hover {
  background: #f0f0f0;
  transform: translateX(6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.button-subtext {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #666;
  margin-top: 4px;
  line-height: 1.3;
}

.modal-dialog {
  animation: modalFade 0.4s ease;
}

@keyframes modalFade {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.btn-close {
  opacity: 0.7;
  transition: 0.3s;
}
.btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.contact-section {
  position: relative;
  padding: 120px 0;
  color: white;
  overflow: hidden;
}

.contact-section > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -2;
}

.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: -1;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 40px;
  transition: 0.4s;
  text-align: center;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.contact-icon {
  font-size: 38px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: 0.35s;
}

.contact-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 15px;
}

.contact-info {
  margin-top: 8px;
  font-size: 16px;
  opacity: 0.9;
  font-family: var(--font-body);
}

.contact-info a {
  color: white;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

.contact-card:hover .whatsapp {
  background: #25d366;
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
  transform: scale(1.08);
}

.contact-card:hover .email {
  background: #ea4335;
  box-shadow: 0 10px 35px rgba(234, 67, 53, 0.6);
  transform: scale(1.08);
}

ul li {
  font-family: var(--font-body);
}
strong {
  font-family: var(--font-body);
  font-weight: 600;
}
hr {
  margin: 2rem 0;
  opacity: 0.2;
}

.media-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  padding-left: 0;
  padding: 12px 18px;
  border-radius: 8px;
}

/* UPDATE CSS UNTUK MEMBUAT MEDIA FEATURES RATA KIRI */
#mediaModal .modal-header-custom {
  justify-content: flex-start;
}

#mediaModal .modal-header-custom h3 {
  text-align: left;
  margin: 0;
  flex: 1;
}

#mediaModal .media-description {
  text-align: left;
  padding: 12px 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .about-title {
    font-size: 28px;
  }
  .modal-content {
    padding: 25px;
  }
  .glass-card {
    padding: 30px 15px;
  }
}

.package-footer-text {
  font-size: 0.9rem;
  color: #666;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

/* WIDE LINKEDIN CARD - Ukuran sedang, transparan */
.wide-linkedin-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px 32px;
  transition: 0.4s;
  cursor: pointer;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.linkedin-icon-container {
  background: white;
  border-radius: 50px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.linkedin-custom-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.wide-linkedin-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.wide-linkedin-card a {
  text-decoration: none;
  display: block;
}

.arrow-icon {
  display: none;
}

@media (max-width: 768px) {
  .wide-linkedin-card {
    padding: 18px 24px;
  }
  .linkedin-icon-container {
    width: 50px;
    height: 50px;
  }
  .linkedin-custom-icon {
    width: 32px;
    height: 32px;
  }
}
