/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ================= CAROUSEL STYLING ================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-inner {
  display: flex;
  width: 400%; /* 4 images */
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 25%; /* Each image takes 25% of container */
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* ================= NAVBAR & SCROLL ANIMATION ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 12px 40px;
  z-index: 1000;
  transition: all 0.4s ease;
}

/* Scroll effect: Navbar tetap transparan */
.navbar.scrolled {
  background-color: transparent;
  height: 75px;
}

/* Navbar hover effect untuk desktop */
.navbar.menu-hovered {
  background-color: #fff;
  backdrop-filter: blur(10px);
  padding: 12px 40px;
}

.navbar.menu-hovered.scrolled {
  height: 75px;
  padding: 8px 40px;
}

/* Navigasi KIRI: Menu Links */
.nav-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu li a {
  text-decoration: none;
  color: white; 
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-menu li a:hover {
  color: #ccc;
}

/* Navigasi TENGAH: Logo */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.logo-default {
  height: 60px; /* Reduced from 90px for smaller logo */
  opacity: 1;
}

.logo-scroll {
  height: 50px;
  opacity: 0;
  transform: translate(-50%, 20px);
}

.logo-default-black {
  height: 60px;
  opacity: 0;
}

.logo-scroll-black {
  height: 50px;
  opacity: 0;
  transform: translate(-50%, 20px);
}

.navbar.scrolled .logo-default {
  opacity: 0;
}

.navbar.scrolled .logo-scroll {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.navbar.menu-hovered .logo-default {
  opacity: 0;
}

.navbar.menu-hovered .logo-scroll {
  opacity: 0;
}

.navbar.menu-hovered .logo-default-black {
  opacity: 1;
}

.navbar.menu-hovered.scrolled .logo-default-black {
  opacity: 0;
}

.navbar.menu-hovered.scrolled .logo-scroll-black {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Navigasi KANAN: Ikon Login & Cart + Hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px; 
}

/* Ikon Styling */
.icon-link {
  font-size: 1.3rem;
  color: white;
  transition: color 0.3s ease;
}

.icon-link:hover {
  color: #ccc;
}

/* Icon saat menu hovered */
.navbar.menu-hovered .icon-link {
  color: #000;
}

.navbar.menu-hovered .icon-link:hover {
  color: #333;
}

/* ================= CART COUNTER STYLING ================= */
.cart-link {
  position: relative; 
  display: inline-block;
  text-decoration: none; 
}

/* Penyesuaian Angka Keranjang */
.cart-counter {
  position: absolute;
  top: -4px; 
  right: -8px; 
  background-color: #000;
  color: white;
  border-radius: 50%;
  padding: 1px 5px;
  font-size: 0.65rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  min-width: 16px;
  pointer-events: none; 
  border: 1px solid white; 
}

.navbar.menu-hovered .cart-counter {
    background-color: white;
    color: #000;
    border: 1px solid #000;
}

/* ================= MOBILE MENU (OVERLAY) ================= */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: #fff;
  color: #000;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu .menu-header {
  font-size: 1.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: #000;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 15px;
}

.mobile-menu a {
  color: #000;
  text-decoration: none;
  font-size: 1em;
}

.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #000;
}

.submenu-toggle i {
  font-size: 1.2em;
  color: #000;
  transition: transform 0.3s ease;
}

.submenu-toggle.active i {
  transform: rotate(90deg);
}

/* Fixed Shop Button Container */
.fixed-shop-button {
  position: absolute;
  bottom: 40px; /* Adjust as needed for spacing from bottom */
  left: 40px; /* Adjust as needed for spacing from left */
  z-index: 10; /* Ensure it's above the overlay and images */
}

/* Shop Button Styles (reuse and tweak from previous) */
.shop-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 2px;
  border: 2px solid #fff;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-transform: uppercase;
}

.shop-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: scale(1.05);
}

/* Submenu Modal Styles - Lebar SAMA dengan mobile menu (80%, max 300px) */
.submenu-modal {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: #fff;
  color: #000;
  padding: 20px;
  z-index: 1001;
  overflow-y: auto;
  transition: left 0.3s ease;
  display: none;
}

.submenu-modal.active {
  left: 0;
  display: block;
}

.submenu-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  color: #000;
}

.submenu-modal .close-modal {
  font-size: 1.5em;
  cursor: pointer;
  color: #000;
}

.submenu-modal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu-modal li {
  margin-bottom: 15px;
}

.submenu-modal a {
  color: #000;
  text-decoration: none;
  font-size: 1em;
}

.mobile-menu .outfits-link {
  font-size: 0.9em;
  color: #aaa;
  display: block;
  margin-bottom: 10px;
}

.mobile-menu .outfits-link span {
  display: block;
  font-size: 0.8em;
  color: #888;
}

.mobile-menu .recently-viewed {
  font-size: 1em;
  margin: 20px 0;
  color: #000;
}

.mobile-menu .recently-viewed span {
  color: #aaa;
}

.no-scroll {
  overflow: hidden;
}

/* ================= COLLECTION (Not Changed) ================= */
.explore-collection {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.collection-item {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.collection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-item:hover img {
  transform: scale(1.05);
}

.collection-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(20px);
}

.collection-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.collection-item .overlay h2 {
  color: white;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.collection-item .overlay .btn {
  padding: 10px 25px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.collection-item .overlay .btn:hover {
  background: white;
  color: black;
}

footer {
  background: #000;
  padding: 40px 0;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 900px) {
    .fixed-shop-button {
    bottom: 30px;
    left: 20px;
  }
  .shop-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
  
  .navbar {
    padding: 10px 30px;
    height: 80px;
  }

  .navbar.scrolled {
    height: 65px;
  }

  .logo-default,
  .logo-default-black {
    height: 50px;
  }

  .logo-scroll,
  .logo-scroll-black {
    height: 45px;
  }
}

@media (max-width: 768px) {
    .fixed-shop-button {
    bottom: 30px;
    left: 20px;
  }
  .shop-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
  .navbar {
    padding: 10px 20px;
  }

  .nav-left {
    gap: 0; 
  }
  
  .nav-menu {
    display: none !important; 
  }

  .menu-toggle {
    display: block; 
  }
  
  .nav-right {
    gap: 15px; 
  }

  .logo-default,
  .logo-default-black {
    height: 45px;
  }

  .logo-scroll,
  .logo-scroll-black {
    height: 40px;
  }

  .navbar.scrolled {
    height: 60px;
  }

  .collection-item {
    height: 70vh;
  }

  .collection-item .overlay h2 {
    font-size: 1.5rem;
  }

  .submenu-toggle.desktop-toggle,
  .desktop-submenu {
    display: none !important;
  }

  .navbar.menu-hovered {
    background: transparent;
  }

  .mobile-menu {
    width: 80%;
    max-width: 300px;
  }

  .submenu-modal {
    width: 80%;
    max-width: 300px;
    left: -100%;
  }

  .submenu-modal.active {
    left: 0;
  }
}

@media (max-width: 600px) {
  .fixed-shop-button {
    bottom: 20px;
    left: 15px;
  }
  .shop-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  
  .mobile-menu {
    width: 85%;
    max-width: 320px;
  }

  .submenu-modal {
    width: 85%;
    max-width: 320px;
  }

  .logo-default,
  .logo-default-black {
    height: 40px;
  }

  .logo-scroll,
  .logo-scroll-black {
    height: 35px;
  }
}

/* Desktop Menu Styling - Huruf kecil dan rapat */
@media (min-width: 769px) {
    .fixed-shop-button {
    bottom: 30px;
    left: 20px;
  }
  .shop-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
  .nav-left {
    gap: 5px;
  }

  .nav-menu {
    gap: 2px;
  }

  .nav-menu .submenu-toggle.desktop-toggle {
    text-transform: lowercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-weight: 400;
    padding: 4px 6px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: none;
  }

  .navbar.menu-hovered .nav-menu .submenu-toggle.desktop-toggle {
    color: #000;
  }

  .nav-menu .submenu-toggle.desktop-toggle:hover {
    color: #666;
  }

  .navbar.menu-hovered .nav-menu .submenu-toggle.desktop-toggle:hover {
    color: #333;
  }

  .nav-menu .submenu-toggle.desktop-toggle i {
    font-size: 10px;
    color: inherit;
  }
}

/* Desktop Submenu Styling - Dengan border hitam */
@media (min-width: 769px) {
  .desktop-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    color: #000;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #000;
    z-index: 1001;
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    border-radius: 0;
  }

  .navbar.menu-hovered .desktop-submenu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    border-color: #000;
  }

  .desktop-submenu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    border-color: #000;
  }

  .desktop-submenu ul {
    list-style: none;
    padding: 0;
  }

  .desktop-submenu li {
    margin-bottom: 12px;
  }

  .desktop-submenu li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
  }

  .desktop-submenu li a:hover {
    color: #666;
  }
}

/* Fixed Shop Button Container */
.fixed-shop-button {
  position: absolute;
  bottom: 40px; /* Adjust as needed for spacing from bottom */
  left: 40px; /* Adjust as needed for spacing from left */
  z-index: 10; /* Ensure it's above the overlay and images */
  animation: fadeInUp 1s ease-out forwards; /* Entrance animation */
}

/* Shop Button Styles (updated for thin font and animations) */
.shop-btn {
  display: inline-flex; /* For icon-text alignment */
  align-items: center;
  gap: 8px; /* Space between icon and text */
  padding: 12px 30px;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 300; /* Thinner font weight */
  letter-spacing: 2px;
  border: 1px solid #fff;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
}

.shop-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3); /* Subtle glow on hover */
}

.shop-btn i {
  font-size: 1.1rem; /* Icon size */
  transition: transform 0.3s ease;
}

.shop-btn:hover i {
  transform: rotate(5deg) scale(1.1); /* Trolley icon "moves" slightly on hover */
}

/* Entrance Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .fixed-shop-button {
    bottom: 30px;
    left: 20px;
    animation-duration: 0.8s; /* Faster animation on mobile */
  }
  .shop-btn {
    padding: 10px 25px;
    font-size: 1rem;
    gap: 6px;
    font-weight: 300; /* Keep thin font */
  }
  .shop-btn i {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .fixed-shop-button {
    bottom: 20px;
    left: 15px;
  }
  .shop-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    gap: 5px;
    font-weight: 300; /* Keep thin font */
  }
  .shop-btn i {
    font-size: 0.9rem;
  }
}

/* VIDEO SECTION - FULL SCREEN SEMUA PERANGKAT */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh;           /* Full tinggi layar */
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* Video memenuhi tanpa distorsi */
  display: block;
}

/* Overlay gelap */
.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* Teks + Tombol di tengah */
.video-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 600px;
  padding: 20px;
}

.video-cta h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  letter-spacing: 2px;
}

.video-cta .btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px 32px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 1px;
}

.video-cta .btn:hover {
  background: white;
  color: black;
}

/* RESPONSIF: Sesuaikan ukuran teks di layar kecil */
@media (max-width: 768px) {
  .video-cta h2 {
    font-size: 1.8rem;
  }
  .video-cta .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .video-cta h2 {
    font-size: 1.5rem;
  }
  .video-cta .btn {
    padding: 10px 20px;
  }
}