/* =========================
   RESET & DASAR
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #e0f7fa;
  color: #333;
  line-height: 1.6;
}


/* =========================
   HEADER
========================= */
header {
  background:
  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)),
  url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80')
  no-repeat center / cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px 80px;
  position: relative;
}

header .logo {
  position: absolute;
  top: 20px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
}

header h1 {
  font-size: 4.0rem;
  letter-spacing: 2px;
}

header p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* =========================
   LOGOUT ICON 
========================= */
.logout-icon-body {
  position: absolute;
  top: 80px;              
  right: 30px;            
  background: #0aa5a5;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 999;
}

.logout-icon-body:hover {
  background: #004f56;
  transform: scale(1.15);
}



/* =========================
   NAVBAR
========================= */
nav {
  background: #006d77;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;

  padding: 5px 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* LINK NAVBAR */
nav a {
  color: #ffffff;
  padding: 14px 26px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* HOVER */
nav a:hover {
  background: #83c5be;
  color: #00363a;
}

/* LINK AKTIF */
nav a.active {
  background: #ffffff;
  color: #006d77;
}


/* =========================
   SLIDER (FIXED & WORKING)
========================= */
.slider {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  width: 50%;
  animation: slideShow 25s infinite ease-in-out;
}

.slides img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ANIMASI SLIDE */
@keyframes slideShow {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }

  25%  { transform: translateX(-100%); }
  40%  { transform: translateX(-100%); }

  45%  { transform: translateX(-200%); }
  60%  { transform: translateX(-200%); }

  65%  { transform: translateX(-300%); }
  80%  { transform: translateX(-300%); }

  85%  { transform: translateX(-400%); }
  100% { transform: translateX(-400%); }
}


/* =========================
   MAIN CONTENT
========================= */
main {
  max-width: 6000px;
  margin: 30px auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 27px; 
}

article {
  flex: 2;
  padding: 10px 20px;
}

/* JUDUL */
article h2 {
  color: #006d77;
  border-bottom: 3px solid #83c5be;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 32px; 
  font-weight: 700;
}

/* GAMBAR */
article img {
  width: 40%;
  border-radius: 10px;
  margin: 15px 0;
  transition: transform 0.5s ease;
}

article img:hover {
  transform: scale(1.05);
}

/* PARAGRAF */
article p {
  text-align: justify;
  margin-bottom: 18px;
  font-size: 25px;
  line-height: 1.8; 
}


/* =========================
   ASIDE
========================= */
aside {
  flex: 1;
  background: #edf6f9;
  padding: 60px;
  border-radius: 30px;
  height: fit-content;
}

aside h3 {
  color: #006d77;
  border-bottom: 2px solid #83c5be;
  margin-bottom: 10px;
}

aside ul {
  list-style: none;
}

aside ul li {
  margin: 10px 0;
}

aside ul li a {
  color: #006d77;
  text-decoration: none;
}

aside ul li a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer-dark {
  background: linear-gradient(135deg, #0a6f73, #064e4f);
  color: #e6f7f6;
  padding: 60px 40px 25px;   
  margin-top: 80px;
  font-family: 'Segoe UI', sans-serif;
}

/* CONTAINER */
.footer-container {
  max-width: 13000px;       
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 100px;                
}

/* BRAND */
.footer-brand {
  flex: 1 1 280px;
}

.footer-brand img {
  width: 130px;            
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 30px;         
  opacity: 0.9;
}

/* COLUMN */
.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  font-size: 30px;
  margin-bottom: 16px;
  position: relative;
}

.footer-column h4::after {
  content: "";
  width: 45px;
  height: 3px;
  background: #34d399;
  display: block;
  margin-top: 8px;
  border-radius: 5px;
}

.footer-column a {
  display: block;
  color: #d1fae5;
  text-decoration: none;
  font-size: 25px;         
  margin-bottom: 10px;
  transition: all 0.25s ease;
}

.footer-column a i {
  margin-right: 8px;
}

.footer-column a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 20px;         
  color: #c7d2fe;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-column h4::after {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ===== FLOATING WISHLIST ===== */
.floating-wishlist {
  position: absolute;      
  top: 20px;
  right: 20px;

  height: 44px;
  padding: 6px 16px;

  display: flex;
  align-items: center;
  gap: 8px;

  background: #0aa5a5;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;

  z-index: 10000;        
}



/* ===== USER & WISHLIST BAR ===== */
.user-profile {
  position: absolute;
  top: 20px;
  right: 110px; 
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 9999;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.username {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

/* ===== FLOATING WISHLIST ===== */
.floating-wishlist {
  position: absolute;      
  top: 20px;
  right: 20px;

  height: 44px;
  padding: 6px 16px;

  display: flex;
  align-items: center;
  gap: 8px;

  background: #0aa5a5;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;

  z-index: 10000;        
}



/* ===== USER & WISHLIST BAR ===== */
.user-profile {
  position: absolute;
  top: 20px;
  right: 110px; 
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 9999;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.username {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  main {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  .slider,
  .slides img {
    height: 300px;
  }
}
