/* =========================================
   HajjiaGold styles
   Change the colours in :root below
   ========================================= */


/* ---------- Colours and basics ---------- */
:root {
  --gold: #b08a32;
  --gold-light: #d7b85d;
  --dark: #1f1b17;
  --muted: #716b64;
  --line: #e9e5de;
  --soft: #f7f5f1;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ---------- Top bar ---------- */
.top-bar {
  padding: .55rem 1rem;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  font-size: .78rem;
}


/* ---------- Page width ---------- */
.nav,
.hero,
.benefits,
.shop-heading,
.products,
.about,
.lookbook {
  width: min(1180px, 92%);
  margin: auto;
}


/* ---------- Menu ---------- */
.nav {
  height: 82px;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.logo span {
  color: var(--gold);
}

nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}

nav a {
  font-size: .9rem;
  font-weight: 600;
}

nav a:nth-of-type(1) {
  color: var(--gold);
}

nav a:nth-of-type(2):hover,
nav a:nth-of-type(3):hover,
nav a:nth-of-type(4):hover,
.social-icon:hover {
  color: var(--gold);
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
}


/* ---------- Hero: text on the left, video on the right ---------- */
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 5rem;
}


/* ---------- Small gold text, headings and buttons ---------- */
.tag,
.product > p {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
}

h1 {
  margin: .75rem 0 1.25rem;
  font-size: clamp(2.75rem, 5.2vw, 4.9rem);
  letter-spacing: -.04em;
  animation: title-in .8s .1s both;
}

h1::first-line {
  color: var(--gold);
}

h2 {
  margin-top: .55rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -.035em;
}

.hero .tag,
.hero .copy,
.hero .button {
  animation: fade-up .65s both;
}

.hero .tag {
  animation-delay: .05s;
}

.hero .copy {
  animation-delay: .3s;
}

.hero .button {
  animation-delay: .45s;
}

.copy {
  max-width: 460px;
  margin: 1.25rem 0 1.85rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.1rem;
  background: var(--dark);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
}

.button:hover {
  background: var(--gold);
}


/* ---------- Hero video box ---------- */
.hero-showcase {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--dark);
  box-shadow: 0 24px 55px #1f1b1726;
  animation: reveal .9s .2s both;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}

.hero-showcase:hover .hero-video {
  transform: scale(1.04);
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000008 30%, #120d088f 100%);
  pointer-events: none;
}

.hero-video-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.4rem;
  color: var(--white);
  display: grid;
  gap: .25rem;
}

.hero-video-caption span {
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.hero-video-caption b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.video-toggle {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #1f1b175c;
  color: var(--white);
  cursor: pointer;
  transition: .2s ease;
}

.video-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.08);
}


/* ---------- Three points under the hero ---------- */
.benefits {
  margin-bottom: 5rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  color: var(--muted);
  font-size: .85rem;
}

.benefits i {
  margin-right: .6rem;
  color: var(--gold);
}


/* ---------- Shop and filter menu ---------- */
.shop {
  padding: 1rem 0 6rem;
}

.shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.collection-menu {
  position: relative;
  min-width: 170px;
}

.collection-menu summary {
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  list-style: none;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
}

.collection-menu summary::-webkit-details-marker {
  display: none;
}

.collection-menu summary i {
  float: right;
  margin: .25rem 0 0 .7rem;
  font-size: .7rem;
  color: var(--gold);
  transition: transform .2s ease;
}

.collection-menu[open] summary i {
  transform: rotate(180deg);
}

.filters {
  position: absolute;
  z-index: 3;
  top: calc(100% + .45rem);
  right: 0;
  width: 100%;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 12px 25px #1f1b1712;
  animation: menu-in .2s ease;
}

.filter {
  display: block;
  width: 100%;
  padding: .55rem;
  border: 0;
  border-radius: 3px;
  background: none;
  color: var(--muted);
  text-align: left;
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  background: var(--soft);
  color: var(--gold);
}


/* ---------- Product cards ---------- */
.products {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem 1.3rem;
}

.product {
  display: flex;
  flex-direction: column;
}

/* lets the filter buttons hide products */
.product[hidden] {
  display: none;
}

.product-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: 0 9px 22px #1f1b1710;
}

.product-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, #1f1b1726);
  opacity: 0;
  transition: .3s ease;
}

.product-photo span {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  padding: .5rem .75rem;
  border-radius: 4px;
  background: var(--white);
  font-size: .78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s ease;
}

.product-photo:hover::after,
.product-photo:hover span {
  opacity: 1;
  transform: translateY(0);
}

.product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
  transition: transform .55s ease;
}

.product-photo:hover img {
  transform: scale(1.06);
}

.product > p {
  margin-top: 1rem;
}

.product h3 {
  margin: .25rem 0 .7rem;
  font-size: 1.3rem;
}

.product a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .83rem;
  font-weight: 700;
}

.product a:hover,
.text-link:hover {
  color: var(--gold);
}


/* ---------- Video section ---------- */
.lookbook {
  padding: 0 0 5.5rem;
}

.lookbook-heading {
  width: min(680px, 100%);
  margin-bottom: 2.2rem;
  text-align: center;
}

.lookbook-heading .copy {
  margin: 1rem auto 0;
}

.lookbook-heading h2 span {
  display: inline-block;
  color: var(--gold);
  position: relative;
  animation: motion-glow 2.4s ease-in-out infinite;
}

.lookbook-heading h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.25rem;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  animation: motion-line 2.4s ease-in-out infinite;
}

.lookbook-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: auto;
}

.lookbook video,
.lookbook-still {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  overflow: hidden;
  border-radius: 14px;
  background: var(--dark);
}

.lookbook-still {
  position: relative;
}

.lookbook-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.lookbook-still:hover img {
  transform: scale(1.05);
}

.lookbook-still span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .65rem .75rem;
  background: var(--white);
  color: var(--dark);
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
}


/* ---------- About (last section) ---------- */
.about {
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5.5rem;
}

.about img {
  width: 100%;
  height: 440px;
  border-radius: 18px;
  object-fit: cover;
}


/* ---------- Footer ---------- */
footer {
  padding: 3rem max(4%, calc((100% - 1180px) / 2));
  background: var(--soft);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

footer p {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .87rem;
}

footer div:nth-of-type(2),
footer div:nth-of-type(3) {
  padding-top: .15rem;
}

footer b {
  display: block;
  margin-bottom: .5rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer a:not(.logo) {
  display: block;
  width: fit-content;
  margin-bottom: .35rem;
  font-size: .9rem;
}

footer a:hover {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  gap: .85rem;
}

.footer-socials a {
  display: grid !important;
  width: 26px !important;
  height: 26px;
  margin-top: .6rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}


/* ---------- WhatsApp button (stays on screen) ---------- */
.whatsapp-button {
  position: fixed;
  right: 1.25rem;
  bottom: 4.75rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  box-shadow: 0 7px 20px #00000033;
}

.whatsapp-button i {
  font-size: 1.2rem;
}

.whatsapp-button:hover {
  background: #1eaa52;
}


/* ---------- Animations ---------- */
@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes motion-glow {
  0%, 100% {
    transform: translateX(0);
    text-shadow: 0 0 0 transparent;
  }

  50% {
    transform: translateX(4px);
    text-shadow: 0 0 18px #b08a3270;
  }
}

@keyframes motion-line {
  0%, 100% {
    transform: scaleX(.2);
    opacity: .35;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---------- Phones (screens 720px wide or smaller) ---------- */
@media (max-width: 720px) {
  .nav {
    height: 68px;
  }

  .menu-button {
    display: block;
    margin-left: auto;
    margin-right: 1rem;
  }

  nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 108px;
    right: 4%;
    left: 4%;
    margin: 0;
    padding: 1.2rem;
    flex-direction: column;
    gap: .8rem;
    background: var(--white);
    border: 1px solid var(--line);
  }

  nav.show {
    display: flex;
  }

  .hero,
  .about,
  .lookbook {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    min-height: auto;
    padding: 4.2rem 0;
  }

  .hero-showcase {
    height: 420px;
  }

  .benefits {
    margin-bottom: 4rem;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
  }

  .shop-heading {
    align-items: start;
    flex-direction: column;
  }

  .collection-menu {
    width: 100%;
  }

  .filters {
    left: 0;
    right: auto;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-photo {
    aspect-ratio: 4 / 5;
  }

  .lookbook {
    padding-bottom: 4rem;
  }

  .about {
    padding: 4rem 0;
  }

  .about img {
    height: 350px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .whatsapp-button span {
    display: none;
  }

  .whatsapp-button {
    padding: .85rem;
  }
}


/* ---------- For people who turn animations off ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}