@charset "utf-8";
/* CSS Document */

/* Reset & Font */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Montserrat', sans-serif;
}

/* Body background */
body {
  color: #fff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: sticky; 
  top: 0; 
  z-index: 1000;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 15px 10%;
  background: #5682B1;
  backdrop-filter: blur(10px);
}

.navbar .logo { 
  font-weight: 900; 
  font-size: 30px; 
  color: #FFD700;
  
}

.navbar ul { 
  display: flex; 
  gap: 25px; 
  list-style: none; 
}

.navbar a {
  text-decoration: none; 
  color: #fff; 
  font-weight: 500; 
  position: relative;
}

.navbar a::after {
  content: ""; 
  position: absolute; 
  left: 0; 
  bottom: -5px;
  width: 0%; 
  height: 2px; 
  background: #FFD700;
  transition: 0.3s;
}

.navbar a:hover::after { width: 100%; }

/* Link admin style */
.admin-link {
  background: linear-gradient(45deg, #FFD700, #FF4500);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  color: #fff !important;
  transition: 0.3s ease;
}

.admin-link:hover {
  background: linear-gradient(45deg, #FF4500, #FFD700);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.admin-link i {
  margin-right: 6px; /* jarak icon dengan teks */
}




/* Banner */

.banner {
  position: relative;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 50vh;       /* separuh skrin */
  object-fit: cover;
  display: block;
}

/* TULISAN ATAS GAMBAR */
.banner-content {
  position: absolute;
  top: 50%;           /* tengah secara menegak */
  left: 50%;          /* tengah secara mendatar */
  transform: translate(-50%, -50%); /* betul-betul tengah */
  text-align: center;
  z-index: 2;
}

.banner h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.banner p {
  font-size: 1.4rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Optional: tambah overlay gelap supaya tulisan lebih jelas */
.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* lapisan gelap */
  z-index: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* About Section */
.about {
  padding: 60px 8%;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

/* About Owner */
.about-owner {
  flex: 1;
  min-width: 320px;
}

.about-owner h2 {
    background: linear-gradient(45deg, #FFD700, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  font-size: 1.6rem;nt;
}

.profile {
  display: flex;
  flex-direction: column; /* Susun ke bawah */
  align-items: center;    /* Tengah */
  gap: 20px;
  text-align: center;     /* Pusatkan teks juga */
}

.profile img {
  width: 160px;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.profile img:hover {
  transform: scale(1.05);
}

.profile p {
  font-size: 15px;
  text-align: justify; /* Kalau nak justify kekalkan */
  max-width: 600px;    /* Supaya tak terlalu panjang bila tengah */
  color:#000;
}

.about-map {
  flex: 1;
  min-width: 320px;
}

.about-map h2 {
    background: linear-gradient(45deg, #FFD700, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.about-map iframe {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  border: none;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  
}

.map-desc {
  margin-top: 12px;
  margin-left: 20px; /* jarakkan ke kanan sikit */
  font-size: 15px;
  color:#000;
  line-height: 1.5;
  text-align:center;/* justify penerangan */
  max-width: 600px;    /* optional: supaya teks tak melebar sangat */
}

.about-hour {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

.about-hour h2 {
  background: linear-gradient(45deg, #FFD700, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.hour-table {
  margin: 0 auto; /* center table */
  border-collapse: collapse;
  color:#000;
  font-size: 1rem;
  min-width: 320px;
}

.hour-table td {
  padding: 10px 25px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.6); /* garisan bawah nipis */
}

.hour-table tr:last-child td {
  border-bottom: none; /* buang line pada row terakhir */
}

.hour-table td:first-child {
  text-align: left;
  font-weight: bold;
  color: #FFD700; /* highlight nama hari */
}

.hour-table td:last-child {
  text-align: right;
}



/* Responsive */
@media(max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* Button Go to Top */
#goTopBtn {
  display: none; /* mula-mula hide */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  background: linear-gradient(45deg, #FF4500, #FFD700);
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
}




#goTopBtn:hover {
  background: linear-gradient(45deg, #FFD700, #FF4500);
  transform: translateY(-3px);
}



/* Footer */
.footer {
  background: #5682B1;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  margin-top: 40px;
}

.footer p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}/* CSS Document */

