@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Regular 400 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Medium 500 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Semibold 600 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Bold 700 */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'SF Pro Rounded', sans-serif;
  max-width: 100%;
}

html, body {
  overflow-x: hidden;
}

body {
  color: white;
  height: 100%;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 17px 70px;
  display: flex;
  justify-content: center;
  background: transparent; /* transparan */
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 9999 !important; 
}

/* === MODE SIMPLE WAKTU SCROLL === */
.main-header.scrolled-minimal {
  background: transparent !important; /* tetap transparan */
  backdrop-filter: none !important;   /* pastikan ga ada blur */
  padding: 10px 40px; /* kecilin header sedikit */
  justify-content: space-between;
}

/* Hilangkan menu & search dari semua layar saat scroll */
.main-header.scrolled-minimal .navbar,
.main-header.scrolled-minimal .desktop-search,
.main-header.scrolled-minimal .search-box {
  display: none !important;
}

/* Logo diperkecil saat scroll */
.main-header.scrolled-minimal .logo img {
  height: 48px;
  transition: 0.3s ease;
}

/* Hamburger tetap tampil */
.main-header.scrolled-minimal .hamburger {
  display: flex !important;
}

/* Pastikan warna hamburger selalu keliatan */
.main-header.scrolled-minimal .hamburger span {
  background: #004d40; 
}



.header-container {
  width: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: 0.3s;
  margin-right: 15px;
}
.logo img:hover {
  transform: scale(1.07);
}

.navbar ul {
  display: flex;
  margin-left: 20px;
  gap: 15px;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  color: #ecf1ef;
  font-family: 'SF Pro Rounded', sans-serif;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: 0.3s;
  letter-spacing: 1px;
}

/* Hover */
.navbar ul li a:hover {
  transform: scale(1.05);        /* tetap ada sedikit efek */
  text-decoration: underline;    /* underline */
  text-underline-offset: 4px;    /* jarak underline biar rapi */
}

/* Active */
.navbar ul li.active a {
  background: none !important;   /* hapus background */
  text-decoration: underline;    
  text-underline-offset: 4px;
  font-weight: 600;
}

.search-box input {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid white;
  outline: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #045F57;
  border-radius: 3px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;         
  height: 100vh;
  background: #002626;   
  color: #d3d3d3;        
  font-family: 'SF Pro Rounded', sans-serif;
  font-weight: 500;
  padding: 30px 20px;
  box-sizing: border-box;
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  text-align: left;      
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.mobile-menu ul li a {
  color: #d3d3d3;      /* light grey text */
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

/* Hover effect */
.mobile-menu ul li a:hover {
  color: #ffffff;
  transform: scale(1.05);
}

/* Close button */
.mobile-menu .close-btn {
  color: #d3d3d3;
}

/* ===== SEARCH CUSTOM (DESKTOP & MOBILE) ===== */
.search-custom {
  font-family: 'SF Pro Rounded', sans-serif;
  position: relative;
  width: 100%;
  max-width: 290px;
  height: 38px;
  display: flex;
  align-items: center;
  color: #004d40;
  padding: 0 12px;
  box-sizing: border-box;
}

.search-custom input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #004d40;
  z-index: 2;
  margin-left: 20px;
}

.search-custom input::placeholder {
  color: #004d40;
  opacity: .6;
  font-size: 14px;
  font-weight: 500;
}

.search-custom button {
  background: none;
  border: none;
  color: #004d40;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  opacity: .7;
}

.search-custom .search-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.close-btn {
  font-size: 28px;
  font-weight: bold;
  color: #045F57;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 20px;
  user-select: none;
  transition: 0.2s;
}

.close-btn:hover {
  transform: scale(1.2);
}


/* Search di desktop tetap muncul, di hp disembunyikan */
.desktop-search {
  margin-left: auto;
}


/* Hero fullscreen */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 0; 
}

.hero .swiper {
  width: 100%;
  height: 100%;
}


.swiper-slide{position:relative; width:100%; height:100vh; background-size:cover; background-position:center; display:flex; align-items:center; justify-content:center; text-align:center; color:#fff;}
.slide-overlay{position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4);}
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%); 
  /* -40% mengkompensasi header supaya visualnya benar-benar center */
  text-align: center;
  width: 100%;
  max-width: 80%;
  z-index: 2;
  font-family: SF-Pro-Rounded, sans-serif;
}

.slide-content h1{font-size:2.5rem; margin-bottom:0.5rem; font-family: SF-Pro-Rounded, sans-serif; font-weight:500;}


.ppm-title-unique {
  font-family: 'Playfair Display', serif; /* elegan dan classy */
  font-size: 3rem; /* bisa disesuaikan */
  font-weight: 700;
  color: white; /* hitam lembut, elegan */
  letter-spacing: 1px; /* beri ruang antar huruf */
  line-height: 1.2;
  margin-bottom: 0.5rem;
  position: relative;
}

/* efek garis tipis di bawah judul */
.ppm-title-unique::after {
  content: '';
  display: block;
  width: 50px; /* panjang garis */
  height: 3px;
  background-color: #ffcc00; /* warna aksen, bisa diganti */
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* transisi halus saat hover */
.ppm-title-unique:hover {
  color: #333333;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}


.slide-content h3{font-size:1.5rem; margin-bottom:1rem; font-weight:400;}
.slide-content p{font-size:1.1rem; line-height:1.5;}

/* Tombol bawah */
.slide-buttons{position:absolute; bottom:30px; width:100%; display:flex; justify-content:space-between; padding:0 20px; z-index:2;}
.slide-buttons button{
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.34));
  border:none;
  color:#fff;
  padding:12px 28px;
  font-size:1rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:30px;
  box-shadow:0 4px 6px rgba(0,0,0,0.3);
  transition:all 0.3s ease;
  backdrop-filter: blur(5px);
}
.slide-buttons button:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.2));
}
.slide-buttons img{height:44px; width:auto; transition: transform 0.3s ease;}
.slide-buttons button:hover img{transform: scale(1.2);}

.slide-buttons a.back-button,
.slide-buttons button.back-button {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.34));
  border: none;
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  text-decoration: none; /* penting supaya link tidak underline */
}

.slide-buttons a.back-button:hover,
.slide-buttons button.back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.2));
}

.slide-buttons a.back-button img,
.slide-buttons button.back-button img {
  height: 34px;
  width: auto;
  transition: transform 0.3s ease;
}

.slide-buttons a.back-button:hover img,
.slide-buttons button.back-button:hover img {
  transform: scale(1.2);
}

/* Swiper nav buttons */
/* Tombol bulat presisi */
.swiper-button-next,
.swiper-button-prev {
  width: 40px;              /* lebar bulat */
  height: 40px;             /* tinggi bulat */
  border-radius: 50%;       /* bulat sempurna */
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0.8;
}

/* Hover interaktif */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.15);   /* sedikit membesar */
  background: rgba(0,0,0,0.5);
  box-shadow: 0 8px 15px rgba(0,0,0,0.5);
  opacity: 1;
}

/* Custom panah kecil */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;          /* lebih kecil */
  color: #fff;
  font-weight: bold;
  line-height: 1;
}

/* Kontrol arah panah */
.swiper-button-next::after { content: '❯'; }
.swiper-button-prev::after { content: '❮'; }

/* Sembunyikan di layar sentuh */
@media (pointer: coarse){
  .swiper-button-next,
  .swiper-button-prev { display: none; }
}


/* ================= RESPONSIVE ================= */
/* Desktop large screens > 1300px */
@media (min-width: 1301px) {
  .main-header { padding: 20px 120px; }
  .slide-content h1 { font-size: 4rem; }
  .slide-content h3 { font-size: 2rem; }
  .slide-content p { font-size: 1.25rem; }
  .slide-buttons button, .slide-buttons a.back-button { padding: 16px 36px; font-size: 1.25rem; }
}

/* Desktop 1024px - 1300px */
@media (min-width: 1024px) and (max-width: 1300px) {
  .main-header { padding: 17px 80px; }
  .slide-content h1 { font-size: 3.5rem; }
  .slide-content h3 { font-size: 1.75rem; }
}

/* Tablet 769px - 1023px */
@media (min-width: 769px) and (max-width: 1023px) {
  .main-header { padding: 15px 50px; }
  .search-box, .desktop-search { display: none; }
  .slide-content h1 { font-size: 2.5rem; }
  .slide-content h3 { font-size: 1.4rem; }
  .slide-content p { font-size: 1rem; line-height: 1.4; }
  .slide-buttons button, .slide-buttons a.back-button { padding: 12px 24px; font-size: 0.95rem; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  .main-header { padding: 10px 20px; }
  .navbar, .search-box, .desktop-search { display: none; }
  .hamburger { display:flex; }
  .main-header.scrolled-minimal {
   padding: 7px 18px;}
  .main-header.scrolled-minimal .logo img {
   height: 28px;}
  .mobile-menu ul li a {
  font-size: 15px;
  font-weight: 500;}
  .search-custom {
   max-width: 320px;}
  .search-custom input{
   margin-left: -2px;}

  .slide-content h1 { font-size: 2rem; }
  .slide-content h3 { font-size: 1.1rem; width: 90%; margin: 0 auto; }
  .slide-content p { font-size: 1rem; width: 90%; margin: 0 auto; }
  .slide-buttons { flex-direction: column; gap: 12px; bottom: 20px; padding: 0 10px; }
  .slide-buttons button, .slide-buttons a.back-button { width: 100%; justify-content: center; padding: 12px; font-size: 0.9rem; }
  .mobile-menu { width: 75%; padding: 25px; }
}

/* Extra small mobile ≤ 480px */
@media (max-width: 480px) {
  .slide-content h1 { font-size: 1.6rem; }
  .slide-content h3 { font-size: 1rem; }
  .slide-content p { font-size: 0.9rem; }
  .slide-buttons button, .slide-buttons a.back-button { font-size: 0.85rem; padding: 10px; }
  .hamburger span { width: 22px; height: 2.5px; }
}

/* Hero tetap fullscreen di semua ukuran */
.hero, .swiper-slide { height: 100vh; }

/* Section bawah demo */
#about-section {
  height: 100vh;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}