* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #f8f5ef;
  --cream-2: #f3eee6;
  --black: #111111;
  --gold: #c8ab6e;
  --gold-hover: #d6b87a;
  --text-soft: rgba(17, 17, 17, 0.68);
  --border-light: rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: "Inter", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/*header*/
.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 34px;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #ffffff;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.hero-header.scrolled {
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.04);
  padding: 14px 34px;
  color: var(--black);
}

.brand {
  flex: 0 0 auto;
  min-width: 220px;
}

.brand-title {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  color: inherit;
}

.brand-arabic {
  margin-top: 8px;
  font-family: "Noto Naskh Arabic", serif;
  font-size: 24px;
  line-height: 1;
  color: inherit;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-width: 0;
}

.nav-links a {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: inherit;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.28s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 84px;
}

.nav-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-icons a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.nav-icons svg {
  width: 26px;
  height: 26px;
}

/*hamburger*/
.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  color: inherit;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*mobile menu*/
.mobile-menu {
  position: fixed;
  top: 78px;
  right: 0;
  width: min(320px, 86vw);
  height: calc(100vh - 78px);
  background: var(--cream);
  border-left: 1px solid var(--border-light);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.08);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 18px;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 17px;
  color: var(--black);
  padding: 4px 0;
  transition: color 0.25s ease;
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.28s ease;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu a:hover::after {
  width: 100%;
}

/*hero*/
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("images/hero-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.24) 40%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
  color: #ffffff;
}

.hero-arabic {
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(54px, 3vw, 56px);
  color: var(--gold);
  line-height: 0;
  margin-bottom: 150px;
}

.hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(62px, 8vw, 128px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-content p {
  margin-top: 22px;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}

.hero-btn {
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  padding: 18px 34px;
  background: var(--gold);
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/*home collections section*/
.home-featured {
  padding: 110px 60px 90px;
  background: var(--cream);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-intro h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.collection-card {
  display: block;
  background: transparent;
  transition: transform 0.25s ease;
}

.collection-card:hover {
  transform: translateY(-6px);
}

.collection-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.collection-info {
  padding-top: 18px;
}

.collection-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
}

.collection-info p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
}

/*shop page*/
.products-page {
  min-height: 100vh;
  background: var(--cream);
  color: var(--black);
}

.products-header {
  padding: 150px 60px 24px;
  text-align: center;
}

.products-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
}

.products-header p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 17px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 30px 60px 70px;
}

.product {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(200, 171, 110, 0.35);
}

.product img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.product-info {
  padding: 18px 18px 22px;
}

.product h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.product p {
  color: var(--text-soft);
  font-size: 15px;
}

/*tablet*/
@media (max-width: 1200px) {
  .nav-links {
    gap: 24px;
  }

  .collection-grid,
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*mobile + small tablet*/
@media (max-width: 950px) {
  .hero-header {
    padding: 14px 20px;
    gap: 14px;
  }

  .hero-header.scrolled {
    padding: 12px 20px;
  }

  .brand {
    min-width: unset;
  }

  .brand-title {
    font-size: 24px;
  }

  .brand-arabic {
    font-size: 18px;
    margin-top: 6px;
  }

  .nav-links {
    display: none;
  }

  .nav-icons {
    gap: 14px;
    margin-left: auto;
  }

  .nav-icons svg {
    width: 24px;
    height: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    top: 68px;
    height: calc(100vh - 68px);
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-btn {
    min-width: 260px;
    padding: 16px 24px;
  }

  .home-featured,
  .products-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-featured {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .products-header {
    padding-top: 120px;
  }

  .collection-grid,
  .products {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 20px;
    padding-right: 20px;
  }

  .products {
    padding-bottom: 50px;
  }

  .collection-card img {
    height: 320px;
  }

  .product img {
    height: 300px;
  }
}

/*phones*/
@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 58px;
    line-height: 1;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    min-width: unset;
  }

  .section-intro h2,
  .products-header h1 {
    font-size: 46px;
  }

  .section-intro p,
  .products-header p {
    font-size: 16px;
  }

  .collection-grid,
  .products {
    grid-template-columns: 1fr;
  }

  .collection-card img {
    height: 420px;
  }

  .product img {
    height: 360px;
  }
}

/*desktop only*/
@media (min-width: 951px) {
  .mobile-menu {
    display: none;
  }

  .menu-toggle {
    display: none;
  }
}

.story-section{
  padding:120px 80px;
  background:var(--cream);
}

.story-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.story-image img{
  width:100%;
  height:620px;
  object-fit:cover;
}

.story-text{
  max-width:520px;
}

.story-arabic{
  font-family:"Noto Naskh Arabic",serif;
  font-size:22px;
  color:var(--gold);
  margin-bottom:20px;
}

.story-text h2{
  font-family:"Cormorant Garamond",serif;
  font-size:54px;
  font-weight:400;
  line-height:1.1;
  margin-bottom:24px;
}

.story-text h2 span{
  color:var(--gold);
}

.story-text p{
  font-size:16px;
  line-height:1.7;
  color:var(--text-soft);
  margin-bottom:18px;
}

.story-signature{
  margin-top:30px;
  font-family:"Cormorant Garamond",serif;
  font-size:18px;
}

.site-footer{
  background:#050505;
  color:#f8f5ef;
  padding:70px 30px 30px;
}

.footer-top{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:60px;
}

.footer-logo{
  display:inline-block;
  font-family:"Cormorant Garamond",serif;
  font-size:52px;
  font-weight:500;
  color:#f8f5ef;
  margin-bottom:10px;
}

.footer-arabic{
  font-family:"Noto Naskh Arabic",serif;
  font-size:28px;
  color:var(--gold);
  margin-bottom:18px;
}

.footer-brand p{
  max-width:420px;
  color:rgba(248,245,239,0.72);
  font-size:16px;
  line-height:1.7;
}

.footer-links-group h4,
.footer-connect h4{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.14em;
  color:rgba(248,245,239,0.5);
  margin-bottom:22px;
}

.footer-links-group a,
.footer-email{
  display:block;
  color:#f8f5ef;
  font-size:16px;
  margin-bottom:16px;
  transition:color 0.25s ease;
}

.footer-links-group a:hover,
.footer-email:hover{
  color:var(--gold);
}

.footer-socials{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
}

.social-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(248,245,239,0.18);
  background:transparent;
  transition:transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.social-icon svg{
  width:30px;
  height:30px;
}

.social-icon.instagram{
  position:relative;
  overflow:hidden;
  border:1px solid transparent;
  border-radius: 12px;
  background:linear-gradient(
    135deg,
    #feda75 0%,
    #fa7e1e 25%,
    #d62976 50%,
    #962fbf 75%,
    #4f5bd5 100%
  );
}

.social-icon.instagram svg{
  color:white;
}

.footer-divider{
  max-width:1200px;
  margin:50px auto 26px;
  height:1px;
  background:rgba(248,245,239,0.08);
}

.footer-bottom{
  max-width:1200px;
  margin:0 auto;
  text-align:center;
}

.footer-ayah{
  font-family:"Noto Naskh Arabic",serif;
  font-size:32px;
  color:var(--gold);
  margin-bottom:8px;
}

.footer-reference{
  color:rgba(248,245,239,0.55);
  font-size:14px;
  margin-bottom:20px;
}

.footer-bottom p{
  color:rgba(248,245,239,0.5);
  font-size:14px;
}

@media(max-width:950px){
  .site-footer{
    padding:60px 20px 28px;
  }

  .footer-top{
    grid-template-columns:1fr 1fr;
    gap:40px 28px;
  }

  .footer-logo{
    font-size:40px;
  }
}

@media(max-width:640px){
  .footer-top{
    grid-template-columns:1fr;
  }

  .footer-logo{
    font-size:34px;
  }

  .footer-arabic{
    font-size:24px;
  }

  .footer-ayah{
    font-size:26px;
  }
}