
/* CENTER CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: calc(100% - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: -14px;
}

.hero-content p {
  margin-top: 16px;
  font-size: 18px;
  opacity: 0.95;
}

/* SEARCH BAR */
.search-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  background: transparent;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.search-item {
  flex: 1;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.search-item:last-child {
  border-right: none;
}

.label {
  font-size: 15px;
  margin-bottom: 6px;
    opacity: 0.8;
}

.value {
  font-size: 14px;
    
}

/* EXPLORE BUTTON */
.explore {
  width: 160px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
}

.search {
    display: none;
  }



/* MAGAZINES SECTION */
.magazines-section {
  background: #000;
  padding: 32px 48px 40px; /* reduced top & bottom */
}


.magazines-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px; /* reduced */
  color: #fff;
}


/* HORIZONTAL SCROLL */
.magazines-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;       /* allow scrolling */
  scroll-behavior: smooth;
  position: relative;

  /* Hide scrollbar in Firefox */
  scrollbar-width: none;
  /* Hide scrollbar in IE 10+ */
  -ms-overflow-style: none;
}

/* Hide scrollbar in Chrome, Safari, Edge */
.magazines-scroll::-webkit-scrollbar {
  display: none;
}




.magazines-scroll::-webkit-scrollbar {
  height: 8px;
}

.magazines-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

/* MAGAZINE ITEM */
.magazine-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  flex-shrink: 0;
}

/* RELEASE DATE */
.mag-date {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.3px;
}


/* MAGAZINE CARD */
.magazine {
  min-width: 220px;
  height: 320px;
  background: #111;
  border-radius: 0px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.magazine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazines-wrapper {
  position: relative;
}

.scroll-btn {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: orange;
  cursor: pointer;
  user-select: none;
}

.scroll-btn:hover {
  background: rgba(0,0,0,0.7);
  color: #000; /* premium hover */
}


/* Text slide up animation */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to elements */
.animate-up {
  opacity: 0; /* Start hidden */
  animation: slideUp 1s forwards;
}

/* Staggered delay for nicer effect */
.animate-up.delay-1 { animation-delay: 0.2s; }
.animate-up.delay-2 { animation-delay: 0.4s; }
.animate-up.delay-3 { animation-delay: 0.6s; }
.animate-up.delay-4 { animation-delay: 0.8s; }
.animate-up.delay-5 { animation-delay: 1s; }

/* ====== MOBILE ============ */

@media (max-width: 991px) {

  .hero-content {
    position: absolute;
    top: 31%;              /* 👈 NOT 50% */
    left: 0%;
    transform: translate(-50%, -55%); /* 👈 pushes UP */
    
    width: 100%;
    padding: 0 20px;
    text-align: center;
    height: auto;          /* important */
  }

  .hero-content h1 {
    font-size: 100px;
   
  }

  .hero-content p {
    font-size: 16px;
    margin-top: -2px;
  }
}

@media (max-width: 991px) { 
  /* Wrapper pinned to bottom */
  .search-bar-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    
    padding: 16px 16px; /* increased padding */
    display: flex;
    flex-direction: column;
    z-index: 99;
  }

  /* SEARCH ITEMS container */
  .search-bar {
    display: flex;
    flex-wrap: wrap;          
    gap: 0px; /* small gap between items */
  }
 
.search-item {
  flex: 1 1 48%;              /* 2 per row */
  box-sizing: border-box;
  padding: 16px;
  font-size: 16px;
border: 1px solid rgba(255,255,255,0.2); /* border around each item */
                      /* optional: slightly rounded corners */
min-height: 90px;  /* optional: make all items equal height */
}

  

  /* Remove bottom border for last row */
  .search-item:nth-child(3),
  .search-item:nth-child(4) {
   border-top: none;   
  }
  
  /* Remove left border  */
  .search-item:nth-child(1),
  .search-item:nth-child(3) {
   border-left: none;   
  }
  
  /* Remove top border  */
  .search-item:nth-child(1),
  .search-item:nth-child(2) {
   border-top: none;   
  }

  /* Remove vertical borders */
  .search-item {
    border-right: none;
    
    
    
  }

  /* EXPLORE BUTTON at bottom */
  .explore {
     display: none;
  }
  
  /* EXPLORE BUTTON at bottom */
  .search {
    width: 100%;
    padding: 20px 0; /* slightly taller button */
    font-size: 17px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: -1px; 
    border-radius: 0;
    flex-shrink: 0;
  }
}


/* ========== MAGAZINE ============== */
@media (max-width: 991px) {
  .magazines-section {
    padding-left: 16px;   /* reduce left padding */
    padding-right: 16px;  /* reduce right padding */
    padding-top: 24px;    /* optional: smaller top padding */
    padding-bottom: 24px; /* optional: smaller bottom padding */
  }
}


