/* =========================================================
   JOSHUA LUXURY WEARS
   PREMIUM RESPONSIVE STYLE
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #080808;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 7%;

  background: rgba(8, 8, 8, 0.97);

  border-bottom: 1px solid #272727;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 60px;
  height: auto;
}

#nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

#nav a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

#nav a:hover {
  color: #d4af37;
}

.menu-btn {
  display: none;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  background: transparent;

  border: 1px solid #333;

  color: white;

  font-size: 24px;

  cursor: pointer;

  border-radius: 4px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 85vh;

  display: flex;
  align-items: center;

  padding: 80px 8%;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95),
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.85)
    ),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=85");

  background-size: cover;
  background-position: center;
}

.hero-content {
  width: 100%;
  max-width: 650px;
}

.small-title {
  color: #d4af37;

  letter-spacing: 4px;

  font-size: 13px;

  font-weight: bold;

  margin-bottom: 15px;
}

.hero h1 {
  font-size: clamp(45px, 8vw, 90px);

  line-height: 0.95;

  margin-bottom: 25px;
}

.hero h1 span {
  display: block;

  color: #d4af37;
}

.hero p:not(.small-title) {
  color: #cccccc;

  max-width: 560px;

  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;

  gap: 15px;

  flex-wrap: wrap;
}

.gold-btn,
.outline-btn,
.whatsapp-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 14px 24px;

  font-size: 12px;

  font-weight: bold;

  letter-spacing: 1px;

  cursor: pointer;

  transition: 0.3s ease;

  border-radius: 3px;
}

.gold-btn {
  background: #d4af37;

  color: #000;

  border: 1px solid #d4af37;
}

.gold-btn:hover {
  background: #ffffff;

  border-color: #ffffff;
}

.outline-btn {
  border: 1px solid #d4af37;

  color: #d4af37;

  background: transparent;
}

.outline-btn:hover {
  background: #d4af37;

  color: #000;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

section {
  padding: 90px 7%;
}

.section-heading {
  text-align: center;

  margin-bottom: 45px;
}

.section-heading p {
  color: #d4af37;

  font-size: 12px;

  letter-spacing: 4px;

  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: 38px;

  line-height: 1.1;
}

.line {
  width: 55px;

  height: 2px;

  background: #d4af37;

  margin: 15px auto 0;
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories {
  background: #0d0d0d;
}

.category-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.category-card {
  min-height: 190px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 20px;

  background: #111111;

  border: 1px solid #292929;

  border-radius: 4px;

  transition: 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);

  border-color: #d4af37;
}

.category-icon {
  font-size: 40px;

  margin-bottom: 10px;
}

.category-card h3 {
  margin-bottom: 5px;
}

.category-card span {
  color: #d4af37;

  font-size: 12px;
}


/* =========================================================
   SHOP
========================================================= */

.shop {
  background: #080808;
}

.search-box {
  width: 100%;

  max-width: 600px;

  margin: 0 auto 45px;

  display: flex;

  align-items: center;

  background: #111111;

  border: 1px solid #5f5127;

  border-radius: 5px;

  overflow: hidden;
}

.search-box input {
  width: 100%;

  min-width: 0;

  padding: 16px;

  background: transparent;

  border: none;

  outline: none;

  color: white;

  font-size: 15px;
}

.search-box input::placeholder {
  color: #777777;
}

.search-box span {
  flex-shrink: 0;

  padding: 0 18px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 25px;
}

.product-card {
  min-width: 0;

  display: flex;

  flex-direction: column;

  background: #111111;

  border: 1px solid #252525;

  border-radius: 5px;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);

  border-color: #d4af37;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-image {
  position: relative;

  width: 100%;

  height: 350px;

  background: #181818;

  overflow: hidden;
}

.product-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.badge {
  position: absolute;

  top: 15px;
  left: 15px;

  z-index: 2;

  padding: 6px 10px;

  background: #d4af37;

  color: #000;

  font-size: 10px;

  font-weight: bold;

  border-radius: 2px;
}

.no-image {
  width: 100%;

  height: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #777;

  font-size: 12px;

  letter-spacing: 1px;
}

.product-info {
  padding: 22px;

  display: flex;

  flex-direction: column;

  flex: 1;
}

.product-category {
  color: #d4af37;

  font-size: 10px;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.product-info h3 {
  font-size: 21px;

  line-height: 1.25;

  margin: 6px 0 10px;

  overflow-wrap: anywhere;
}

.description {
  color: #999999;

  font-size: 13px;

  line-height: 1.5;

  overflow-wrap: anywhere;
}

.product-bottom {
  margin-top: 20px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;
}

.product-bottom strong {
  color: #d4af37;

  font-size: 18px;

  white-space: nowrap;
}

.product-bottom button {
  min-height: 42px;

  padding: 10px 16px;

  background: transparent;

  color: #d4af37;

  border: 1px solid #d4af37;

  border-radius: 3px;

  cursor: pointer;

  font-size: 10px;

  font-weight: bold;

  white-space: nowrap;

  transition: 0.3s ease;
}

.product-bottom button:hover {
  background: #d4af37;

  color: #000;
}


/* =========================================================
   LOADING
========================================================= */

.loading-products,
.no-products {
  grid-column: 1 / -1;

  text-align: center;

  padding: 60px 20px;

  color: #aaaaaa;
}

.loading-products {
  color: #d4af37;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
  min-height: 600px;

  display: flex;

  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95),
      rgba(0, 0, 0, 0.65)
    ),
    url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=1800&q=85");

  background-size: cover;

  background-position: center;
}

.about-content {
  max-width: 650px;
}

.about h2 {
  font-size: 55px;

  line-height: 1;

  margin-bottom: 25px;
}

.about h2 span {
  color: #d4af37;
}

.about-content p:not(.small-title) {
  color: #cccccc;

  margin-bottom: 18px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
  text-align: center;

  background: #0d0d0d;
}

.contact > p {
  color: #aaaaaa;

  margin-bottom: 25px;
}

.whatsapp-btn {
  background: #d4af37;

  color: #000;

  border: 1px solid #d4af37;
}

.whatsapp-btn:hover {
  background: #ffffff;

  border-color: #ffffff;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  text-align: center;

  padding: 50px 7%;

  background: #050505;

  border-top: 1px solid #222222;
}

.footer-logo {
  color: #d4af37;

  font-size: 30px;

  font-weight: bold;

  letter-spacing: 3px;
}

footer h3 {
  margin: 10px 0;
}

footer > p {
  color: #777777;
}

.footer-links {
  margin: 25px 0;

  display: flex;

  justify-content: center;

  gap: 25px;

  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #d4af37;
}

.footer-line {
  height: 1px;

  background: #222222;

  margin: 25px 0;
}

.copyright {
  font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .header {
    padding: 15px 5%;
  }

  .hero {
    padding: 75px 6%;
  }

  section {
    padding: 75px 5%;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
  }

  .product-image {
    height: 300px;
  }

  .product-info {
    padding: 18px;
  }
}


/* =========================================================
   SMARTPHONE
   ONE CATEGORY PER ROW
   ONE PRODUCT PER ROW
========================================================= */

@media (max-width: 600px) {

  /* HEADER */

  .header {
    min-height: 62px;

    padding: 9px 5%;
  }

  .logo img {
    width: 48px;
  }

  .menu-btn {
    display: flex;

    width: 42px;

    height: 42px;
  }

  #nav {
    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    background: #080808;

    border-bottom: 1px solid #333333;
  }

  #nav.active {
    display: flex;
  }

  #nav a {
    width: 100%;

    padding: 17px 6%;

    border-bottom: 1px solid #222222;

    font-size: 12px;
  }


  /* HERO */

  .hero {
    min-height: 75vh;

    padding: 60px 6%;

    background-position: center;
  }

  .small-title {
    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);

    line-height: 0.95;

    margin-bottom: 20px;
  }

  .hero p:not(.small-title) {
    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 25px;
  }

  .hero-buttons {
    flex-direction: column;

    width: 100%;

    gap: 10px;
  }

  .gold-btn,
  .outline-btn {
    width: 100%;

    min-height: 48px;
  }


  /* SECTIONS */

  section {
    padding: 55px 5%;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading p {
    font-size: 10px;

    letter-spacing: 3px;
  }

  .section-heading h2 {
    font-size: 29px;
  }


  /* =====================================================
     CATEGORIES
     ONE CATEGORY PER ROW
  ===================================================== */

  .category-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;

    width: 100%;
  }

  .category-card {
    width: 100%;

    min-height: 100px;

    padding: 18px;

    display: flex;

    flex-direction: row;

    justify-content: flex-start;

    gap: 16px;

    text-align: left;
  }

  .category-icon {
    width: 55px;

    flex-shrink: 0;

    margin: 0;

    font-size: 32px;

    text-align: center;
  }

  .category-card h3 {
    margin: 0 0 3px;

    font-size: 16px;
  }

  .category-card span {
    font-size: 10px;
  }


  /* SEARCH */

  .search-box {
    margin-bottom: 30px;
  }

  .search-box input {
    padding: 14px;

    font-size: 14px;
  }

  .search-box span {
    padding: 0 14px;
  }


  /* =====================================================
     PRODUCTS
     ONE PRODUCT PER ROW
  ===================================================== */

  .products {
    display: grid;

    grid-template-columns: 1fr;

    gap: 22px;

    width: 100%;
  }

  .product-card {
    width: 100%;

    border-radius: 6px;
  }

  .product-image {
    width: 100%;

    height: 390px;
  }

  .product-info {
    padding: 20px;
  }

  .product-category {
    font-size: 9px;

    letter-spacing: 1.5px;
  }

  .product-info h3 {
    font-size: 22px;

    line-height: 1.25;

    margin: 7px 0 9px;
  }

  .description {
    font-size: 13px;

    line-height: 1.6;
  }

  .product-bottom {
    margin-top: 20px;

    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
  }

  .product-bottom strong {
    font-size: 18px;
  }

  .product-bottom button {
    min-height: 46px;

    padding: 11px 18px;

    font-size: 10px;
  }

  .badge {
    top: 12px;

    left: 12px;

    padding: 6px 9px;

    font-size: 8px;
  }


  /* ABOUT */

  .about {
    min-height: 500px;

    padding: 65px 6%;

    background-position: center;
  }

  .about h2 {
    font-size: 40px;

    line-height: 1.05;
  }

  .about-content p:not(.small-title) {
    font-size: 14px;

    line-height: 1.7;
  }


  /* CONTACT */

  .contact > p {
    font-size: 14px;

    padding: 0 8px;
  }

  .whatsapp-btn {
    width: 100%;

    max-width: 320px;
  }


  /* FOOTER */

  footer {
    padding: 40px 5%;
  }

  .footer-logo {
    font-size: 25px;
  }

  .footer-links {
    flex-direction: column;

    gap: 10px;
  }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

  .hero h1 {
    font-size: 40px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .category-card {
    min-height: 90px;

    padding: 15px;
  }

  .category-icon {
    width: 48px;

    font-size: 28px;
  }

  .category-card h3 {
    font-size: 14px;
  }

  .product-image {
    height: 340px;
  }

  .product-info {
    padding: 17px;
  }

  .product-info h3 {
    font-size: 20px;
  }

  .description {
    font-size: 12px;
  }

  .product-bottom strong {
    font-size: 16px;
  }

  .product-bottom button {
    min-height: 44px;

    padding: 10px 14px;

    font-size: 9px;
  }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 350px) {

  .hero h1 {
    font-size: 36px;
  }

  .product-image {
    height: 300px;
  }

  .product-info {
    padding: 15px;
  }

  .product-info h3 {
    font-size: 18px;
  }

  .product-bottom {
    flex-direction: column;

    align-items: stretch;
  }

  .product-bottom strong {
    text-align: center;
  }

  .product-bottom button {
    width: 100%;
  }
}



@media (hover: none) and (pointer: coarse) {

  .product-card:hover {
    transform: none;

    box-shadow: none;
  }

  .product-card:hover .product-image img {
    transform: none;
  }

  .gold-btn:active,
  .outline-btn:active,
  .whatsapp-btn:active,
  .product-bottom button:active,
  .menu-btn:active {
    transform: scale(0.97);
  }
}

