h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;   
}

body {
    background-image: url('images/background3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    
}
/* Hide default scrollbar */
body::-webkit-scrollbar {
  display: none;
}
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* Chrome, Safari, Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}
/* Container for custom scrollbar */
.scroll-progress {
  position: fixed;
  right: 0px;
  top: 0;
  height: 100vh;
  width: 80px;
  pointer-events: none;
  z-index: 9999;
}

/* White web line */
.web-line {
  position: absolute;
  top: 0;
  left:67%;
  width: 3px;
  height: 0;
  background: rgb(40, 40, 40);
  transform: translateX(-50%);
}

/* Spider-Man thumb */
.spiderman-thumb {
  position: absolute;
  top: 0;
  left: 70%;
  width: 60px;
  height: 60px;
  background: url("images/batman.png") no-repeat center;
  background-size: contain;
  transform: translateX(-50%);
  transform-origin: top center;
  animation: spideySwing 2.8s ease-in-out infinite;

}
@keyframes spideySwing {
  0%   { transform: translateX(-50%) rotate(-6deg); }
  25%  { transform: translateX(-50%) rotate(-2deg); }
  50%  { transform: translateX(-50%) rotate(6deg); }
  75%  { transform: translateX(-50%) rotate(2deg); }
  100% { transform: translateX(-50%) rotate(-6deg); }
}


p {
    font-family: 'Lexend', sans-serif;
    color: var(--Color-2, #000000);
    
}
section {
    overflow-x: hidden;
}
nav ul {
    font-family: 'Lexend', sans-serif;
}
h1 {
color: var(--Color, #ED1A3B);
font-size: 160px;
font-style: normal;
font-weight: 900;
line-height: 87.675%; /* 140.281px */
text-transform: uppercase;
color: #FF2D55;
text-shadow: 
 3px 3px 0 #FFD700,
 6px 6px 0 #FFD700;
font-size: 9.4117vw;

}
/* HEADER */

.header {
    background-color: #ef1d3c; /* bright red */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}
.header {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* LOGO */

.logo img {
    width: 80px;
    height: auto;
}

/* NAVIGATION */

.nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav a {
    text-decoration: none;
    color: var(--Color-2, #F3F2E6);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

/* Active Link (HOME) */
.nav ul li:last-child a {
    color: #ffd23f; /* yellow */
}

/* Hover Effect */
.nav a:hover {
    color: #ffd23f;
}
/* Hide hamburger by default */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    color: var(--Color-2, #F3F2E6);
    transition: 0.3s ease;
}

/* CART */

.cart img {
    width: 35px;
    height: auto;
    cursor: pointer;
    transition: 0.3s ease;
}

.cart img:hover {
    transform: scale(1.1);
}
section.shop-start h1 {
 padding: 3vw;
 padding-bottom: 0%;
}
.shop-text {
  display: flex;
  align-items: center;
  
  
}
section.shop-start h1 {
    padding-left: 5%;
}
.shop-text-left {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  padding-left: 5%;
}

/* Shared text box styles */
.text-box {
  position: relative;
  width: 45vw;
  max-width: 700px;
}

.text-box img {
  width: 100%;
  display: block;
}

/* Text overlay */
.text-box p {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.red-box {
  position: relative;
  right: 9%;
}
/* White box text */
.white-box p {
  color: black;
  font-size: 2.2vw;
  text-transform: uppercase;
  padding-bottom: 2%;
}

/* Red box text */
.red-box p {
  color: white;
  padding-left: 10%;
  padding-bottom: 2%;
  font-size: 1.8vw;
  text-transform: uppercase;
}

/* Right image */
.shop-text-right img {
  width: 100%;

}


.shop-carousel {
  padding-left: 4vw;
 padding-right: 2vw;
}

.shop-carousel-title {
  font-size: 3vw;
  font-weight: 800;
  margin-bottom: 2vw;
  color: #e10600;
}

/* Scroll container */
.carousel-track {
  display: flex;
  gap: 3vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2vw;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}


.carousel-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Individual card */
.shop-item {
  flex: 0 0 18vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .5vw;
  padding-top: 2vw;
  padding-left: 2vw;

  transition: transform 0.25s ease;
}
.shop-item:hover {
  transform: rotate(-2deg);
}

/* Book image */
.shop-item img {
  width: 100%;
  aspect-ratio: 2 / 3;        /* real comic ratio */
  object-fit: cover;        /* NEVER crop */
         /* fills empty space cleanly */
  display: block;
    /* slight edge framing */

  transition: transform 0.25s ease;
}

.shop-item img:hover {
  transform: scale(1.04);
}
/* Title */
.shop-item h3 {
  font-size: 1.5vw;
  font-weight: 700;

}

/* Description */
.shop-item .description {
    font-size: 1.6vw;
  color: #000000;

}
section.best-sellers h2{
color: #821b84;
}
section.best-sellers .shop-item .description {
display: none;
}

/* Price */
.shop-item .price {
  font-size: 1.8vw;
  font-weight: 800;
  color: #e10600;
}
section.absolute-mayhem h2{
color: #1B4285;
}




section.cta h1 {
    text-align: center;
    padding-bottom: 3vw;
    padding-top: 3vw;
    
}
.cta::-webkit-scrollbar {
    display: none;

}
.cta-images {
   flex-direction: column;
   display: flex;
   padding-left: .05vw;
   margin: 0%;
}
.cta-images img {
    width: 20vw;

}
.toprow {
   flex-direction: row;
   display: flex;
   
}
.bottomrow {
   flex-direction: row;
   display: flex;
}






/* FOOTER */

.footer {
    background-color: #ef1d3c; /* strong red */
    color: #f4ead3; /* cream color */
    padding: 60px 80px;
    font-family: 'Lexend', sans-serif;
}

/* Top Section */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Logo */
.footer-logo img {
    width: 20vw;
}

/* Columns */
.footer-columns {
    display: flex;
    gap: 80px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column h3 {
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.column a {
    text-decoration: none;
    color: #f4ead3;
    font-weight: 600;
}

.column p {
    font-size: 14px;
    line-height: 1.6;
    color: #f4ead3;
}

.email {
    margin-top: 10px;
    font-weight: bold;
}

/* Big Title */
.footer-title {
    font-size: 90px;
    font-weight: 900;
    margin-top: 60px;
    line-height: 0.9;
    letter-spacing: 2px;
}

/* Bottom Section */
.footer-bottom {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 16px;
    color: #f4ead3;
}

.socials {
    display: flex;
    gap: 20px;
}















@media (max-width: 1080px) {

    .nav ul {
        gap: 30px;
    }

    .nav a {
        font-size: 18px;
    }

    .header {
        padding: 20px 40px;
    }
    h1 {
        font-size: 6rem;
    }
    .locations h1 {
        font-size: 5rem;
    }

}







    
@media (max-width: 950px) {

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

    .footer-title {
        font-size: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    .web-line {
  display: none;
}

/* Spider-Man thumb */
.spiderman-thumb {
  display: none;
}
}






@media (max-width: 700px) {

    .header {
        padding: 15px 30px;
    }

    /* Logo smaller */
    .logo img {
        width: 60px;
    }

    /* Navigation tighter */
    .nav ul {
        gap: 25px;
    }

    .nav a {
        font-size: 16px;
    }

    /* Cart slightly smaller */
    .cart img {
        width: 28px;
    }
    section.hero h6 {
        font-size: 11vw;
    }
  .shop-text {
    flex-direction: column;
  }

  .text-box {
    width: 90vw;
  }

  .white-box p {
    font-size: 4.5vw;
  }

  .red-box p {
    font-size: 3.5vw;
  }


  .shop-carousel-title {
    font-size: 6vw;
  }

  .shop-item {
    flex: 0 0 35vw;
    
  }

  .shop-item h3 {
    font-size: 4.5vw;
  }

  .shop-item .description {
    font-size: 3.5vw;
  }

  .shop-item .price {
    font-size: 4.5vw;
  }
  .cta-images {
   flex-direction: row;
   display: flex;
   justify-content: center;
   margin: 0%;
   
}

.cta-images img {
    width: 50vw;

}
.toprow {
   flex-direction: column;
   display: flex;
   
}
.bottomrow {
   flex-direction: column;
   display: flex;
}
h1 {
    font-size: 9vw;
    max-width: 500px;
    text-align: center;
    justify-content: center;
    padding: 0%;
    margin: 0 auto;
}
section.shop-start h1 {
 
 padding-bottom: 6%;
}
.shop-text-right img {
    padding-bottom: 10%;
    width: 90%;
    padding-left: 5%;
}
.red-box {
    position: relative;
    right: 0%;
}
}

    











@media (max-width: 585px) {

    .header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    /* Hide horizontal layout */
    .nav {
        position: fixed;
        top: 0;
        left: -260px;
        width: 250px;
        height: 100vh;
        background: #ef1d3c;
        flex-direction: column;
        padding-top: 100px;
        transition: left 0.4s ease;
        z-index: 1050;
    }

    .nav ul {
        flex-direction: column;
        gap: 30px;
        padding-left: 30px;
    }

    .nav.active {
        left: 0;
    }

    /* Header Layout */
    .header {
        position: relative;
        background: #ef1d3c;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    /* Center Logo */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        width: 55px;
    }

    .cart img {
        width: 28px;
    }

    /* Hamburger */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        transition: 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .footer {
    text-align: center;
    justify-content: center;
    padding-top: 5%;
    padding-bottom: 5%;
}
.footer-top {
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.footer-title{
    font-size: 6vw;
}
.shop-item h3 {
    font-size: 3vw;
  }

  .shop-item .description {
    font-size: 2.8vw;
  }

  .shop-item .price {
    font-size: 3vw;
}
}