/* Global styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333;
}

header {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  background-color: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgb(255, 0, 0);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}


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

.logo {
  font-size: 35px;
  font-weight: bold;
  color: #000;
  flex-shrink: 0;
  z-index: 2;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  z-index: 2;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

nav ul li a:hover {
  color: #ff0202;
}

.search-bar-top {
  background-color: rgb(255, 255, 255);
  padding: 0.4rem 1rem; /* reduced vertical padding */
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  z-index: 999;
  
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 450px;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}


.search-container input {
  flex: 1;
  padding: 6px 10px; /* thinner input */
  border: none;
  outline: none;
  font-size: 14px; /* slightly smaller font */
  border-radius: 30px;
  background-color: transparent;
}


.search-container button {
  background-color: #000000;
  border: none;
  padding: 6px 10px; /* smaller button size */
  border-radius: 50%;
  cursor: pointer;
}

.search-container button:hover {
  background-color: #e90000;
  
}

.search-icon {
  color: white;
  font-size: 16px; /* consistent with smaller sizing */
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  .search-bar-top {
    padding: 0.3rem;
  }

  .search-container {
    max-width: 95%;
    padding: 2px 8px;
  }

  .search-container input {
    font-size: 13px;
    padding: 6px;
  }

  .search-container button {
    padding: 6px 9px;
  }
}






.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.logo-white {
  color: white;
}

.logo-red {
  color: #ff3c3c;
}

.logo-rgb {
  background: linear-gradient(270deg, #ff3c3c, #ffea00, #00f0ff, #ff3c3c);
  background-size: 800% 800%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rgbFade 10s ease infinite;
  display: inline-block;
}

@keyframes rgbFade {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.fake-underline {
  border-bottom: 2px solid rgba(216, 214, 214, 0.6); /* light underline */
  padding-bottom: px;
}


.underline {
  text-decoration: underline;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

nav a:hover {
  color: #ff3c3c;
}

main {
  padding: 2rem;
}

.hero {
  position: relative;
  min-height: 40vh; /* Full screen height */
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('images/mainpage.jpeg') center/cover no-repeat;
  color: rgb(255, 254, 254);
}



.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .btn {
  width: 100%;
  max-width: 300px;
  margin: 0.25rem 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.btn {
  background-color: #ff3c3c;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: bold;
}

.btn:hover {
  background-color: #e63636;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.product-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
  text-align: center;
}

.product-card img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.product-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-weight: bold;
  color: #ff3c3c;
  margin-bottom: 1rem;
}

.product-card button {
  background-color: #000;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.product-card button:hover {
  background-color: #333;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
}


.about, .contact {
  max-width: 800px;
  margin: auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

form button {
  background-color: #ff3c3c;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background-color: #e63636;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #000;
  color: #fff;
  margin-top: 2rem;
}


.review-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.review-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}





/* ========== MOBILE STYLES ========== */
@media screen and (max-width: 768px) {

  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  nav ul {
    transition: max-height 0.3s ease;
    overflow: hidden;
    max-height: 0;
  }
  
  nav ul.show {
    max-height: 500px; /* adjust as needed */
  }
  
 

  nav ul.nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: #000;
    width: 100%;
    padding: 1rem 0;
    margin-top: 1rem;
  }

  nav ul.nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
  }
  

  
  .hero {
    padding: 2rem 1rem;
    background-position: center center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  

  .btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  main {
    padding: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .about, .contact {
    padding: 1rem;
    margin: 1rem auto;
    width: 95%;
  }

  form input,
  form textarea {
    font-size: 1rem;
    padding: 0.75rem;
    width: 100%;
  }

  .review-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    padding: 1rem;
    font-size: 0.9rem;
  }
}


/* Make hero buttons stack and scale better on phones */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero .btn {
  width: 100%;
  max-width: 300px;
  padding: 0.75rem;
  font-size: 1rem;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero p {
  margin-bottom: 1.5rem;
}



/* Hamburger menu styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  nav ul.nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: #000;
    width: 100%;
    padding: 1rem 0;
    margin-top: 1rem;
  }

  nav ul.nav-links.show {
    display: flex;
  }
}


.product-detail {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
}

.product-images img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-info {
  flex: 1;
  min-width: 250px;
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-info .price {
  color: #ff3c3c;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-info .stock {
  font-weight: bold;
  margin-bottom: 1rem;
}

.product-info .description {
  margin-bottom: 1.5rem;
}

.product-info .buttons button,
.product-info .buttons a.btn {
  margin-right: 1rem;
  background-color: #000;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.product-info .buttons button:hover,
.product-info .buttons a.btn:hover {
  background-color: #333;
}






/* Smaller variant for condition button */
.small-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  background-color: #ff3c3c;
  border-radius: 0.4rem;
}

.small-btn:hover {
  background-color: #e63636;
}



/* Product Detail Page Layout */
.product-detail {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
}

.product-images img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-info {
  flex: 1;
  min-width: 280px;
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-info .price {
  color: #ff3c3c;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-info .description {
  margin: 1rem 0;
}

#availability-text {
  font-weight: bold;
  margin-bottom: 1rem;
}

select#product-sizes {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  width: 100%;
}

.product-info .buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-info .buttons button,
.product-info .buttons a.btn {
  padding: 0.75rem 1.25rem;
  background-color: #000;
  color: white;
  border: none;
  text-align: center;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.product-info .buttons button:hover,
.product-info .buttons a.btn:hover {
  background-color: #333;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .product-detail {
    padding: 1rem;
  }

  .product-detail-container {
    flex-direction: column;
    align-items: center;
  }

  .product-info h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .product-info .description,
  .product-info .price,
  #availability-text {
    text-align: center;
  }

  .product-info .buttons {
    align-items: center;
  }

  select#product-sizes {
    max-width: 300px;
  }
}









.about {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.about h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.about-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #444;
}

.reviews {
  margin-top: 3rem;
}

.reviews h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.review-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.review-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Mobile tweaks */
@media screen and (max-width: 768px) {
  .about {
    padding: 1rem;
  }

  .about h1 {
    font-size: 1.8rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .review-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}




















.sneaker-banner {
  overflow: hidden;
  width: 100%;
  background: #f5f5f5;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 1rem 0;
  margin-top: 2rem;
}

.sneaker-track {
  display: flex;
  width: fit-content;
  animation: scrollShoes 30s linear infinite;
  gap: 2rem;
}

.sneaker-track img {
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sneaker-track img:hover {
  transform: scale(1.1);
}

@keyframes scrollShoes {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile tweak */
@media screen and (max-width: 600px) {
  .sneaker-track img {
    height: 70px;
  }
}



















.checkout {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.checkout h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.checkout-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.checkout-item-details {
  flex-grow: 1;
  font-size: 1rem;
  color: #333;
}

.remove-btn {
  background-color: #ff3c3c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.remove-btn:hover {
  background-color: #e63636;
}

form#checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

form#checkout-form label {
  font-weight: bold;
  font-size: 0.95rem;
}

form#checkout-form input,
form#checkout-form select {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

form#checkout-form h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
  text-align: right;
}

#paypal-button-container {
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .checkout {
    padding: 1rem;
  }

  .checkout-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .checkout-item img {
    width: 100%;
    height: auto;
    max-width: 120px;
  }

  .checkout-item-details {
    margin-left: 0;
    width: 100%;
  }

  form#checkout-form h3 {
    text-align: left;
  }
}


.shipping-status .delivery-info {
  background: #f4f4f4;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 1rem;
  border-left: 4px solid #ff3c3c;
}

.shipping-status .delivery-info h2 {
  margin-top: 0;
}

.shipping-status .note {
  margin-top: 1rem;
  font-style: italic;
  color: #555;
}



.auth-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center;
  background-color: #fff;
}

.auth-container h1 {
  margin-bottom: 20px;
}

.auth-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.auth-container button {
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.auth-container button:hover {
  background-color: #ff3c3c;
}


.auth-links a {
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.2s ease;
}

.auth-links a:hover {
  color: #ff3c3c;
}


#welcome-message {
  font-size: 2rem !important;
  font-weight: bold;
  margin: 5px 0;
  color: #ffffff;
}




