* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.72)),
    url("../png/fonmain.PNG") center top / 100% auto no-repeat,
    #080808;
  color: #f5f5f5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* HEADER */

.header {
  width: 100%;
  padding: 28px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.header-logo img {
  width: 170px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  transition: 0.25s ease;
}

.nav a:hover {
  color: #b8955f;
}

.header-actions {
  display: flex;
  gap: 14px;
}

.header-actions a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: 0.25s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.header-actions a:hover {
  transform: translateY(-3px);
  background: #ffffff;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 140px 6% 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background: transparent;
}

.hero h1 {
  font-size: clamp(64px, 8vw, 126px);
  line-height: 0.92;
  letter-spacing: -4px;
  font-weight: 800;
  margin-bottom: 34px;
}

.hero-content > p {
  max-width: 500px;
  color: #cfcfcf;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.primary-button,
.secondary-button {
  min-height: 68px;
  padding: 0 34px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-button {
  background: #b8955f;
  color: #fff;
  text-transform: uppercase;
}

.secondary-button {
  background: #f5f5f5;
  border: 1px solid #f5f5f5;
  color: #111;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 760px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature i {
  color: #b8955f;
  font-size: 30px;
  margin-top: 3px;
}

.feature h3 {
  color: #b8955f;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.feature p {
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.5;
}

.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-image img {
  max-height: 760px;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.22));
}

/* CATEGORIES */

.categories-section {
  padding: 58px 6% 70px;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.78) 0%,
    rgba(8, 8, 8, 0.95) 35%,
    #080808 100%
  );
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: #b8955f;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 14px;
  font-weight: 800;
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2 {
  color: #f5f5f5;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  border-radius: 18px;
  background: #151515;
  border: 1px solid rgba(184, 149, 95, 0.42);
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: 0.28s ease;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 78%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  opacity: 0.96;
  transition: 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(21, 21, 21, 0.98) 0%,
    rgba(21, 21, 21, 0.78) 30%,
    rgba(21, 21, 21, 0.22) 62%,
    rgba(21, 21, 21, 0) 100%
  );
}

.card-content,
.category-card h3,
.category-card span {
  position: relative;
  z-index: 3;
}

.category-card h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.category-card span {
  color: #b8955f;
  font-size: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.category-card:hover {
  transform: translateY(-6px);
  background: #1d1d1d;
  border-color: rgba(184, 149, 95, 0.75);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.category-card:hover img {
  transform: scale(1.04);
}

/* INFO */

.info-strip {
  margin: 44px 6% 44px;
  padding: 34px 36px;
  border-radius: 22px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.info-item {
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
  border-right: none;
}

.info-item i {
  color: #b8955f;
  font-size: 28px;
  margin-bottom: 18px;
}

.info-item h3 {
  color: #f5f5f5;
  font-size: 15px;
  margin-bottom: 8px;
}

.info-item p {
  color: #b8b8b8;
  line-height: 1.45;
}

/* FOOTER */

.footer {
  background: #080808;
  margin-top: 50px;
  padding: 0 6% 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
}

/* ADAPTIVE */

@media (max-width: 980px) {
  .header {
    position: sticky;
    top: 12px;
    left: auto;
    width: calc(100% - 32px);
    margin: 12px auto 0;
    padding: 12px 14px;
    border-radius: 22px;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(184, 149, 95, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    z-index: 100;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 20px 50px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-content > p {
    font-size: 19px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 10px;
  }

  .hero-image img {
    max-height: 440px;
  }

  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
    margin: 44px 20px 44px;
  }

  .info-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 560px) {
  body {
    background:
      linear-gradient(rgba(0,0,0,0.66), rgba(0,0,0,0.78)),
      url("../png/fonmain-mobile.jpg") center top / auto 100vh no-repeat,
      #080808;
  }

  .header-logo img {
    width: 120px;
  }

  .header-actions a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .hero {
    padding: 44px 16px 42px;
  }

  .hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }

  .hero-content > p {
    font-size: 17px;
  }

  .hero-buttons {
    margin-bottom: 42px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
  }

  .categories-section {
    padding: 42px 16px 48px;
  }

  .category-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    min-height: 190px;
    padding: 14px;
    border-radius: 16px;
  }

  .category-card img {
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
  }

  .category-card::after {
    background: linear-gradient(
      to top,
      rgba(8, 8, 8, 0.96) 0%,
      rgba(8, 8, 8, 0.78) 28%,
      rgba(8, 8, 8, 0.22) 68%,
      rgba(8, 8, 8, 0) 100%
    );
  }

  .category-card h3 {
    font-size: 14px;
    line-height: 1.15;
    margin-bottom: 6px;
  }

  .category-card span {
    font-size: 12px;
  }

  .info-strip {
    grid-template-columns: 1fr;
    padding: 26px;
    margin: 44px 20px 38px;
  }

  .info-item {
    border-right: none;
    padding-right: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    line-height: 1.5;
    padding-bottom: 32px;
  }
}
@media (min-width: 981px) {
  .header-time {
    display: none;
  }
}

.hero-new-stack {
  display: none;
}

.new-stack {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-item {
  position: absolute;
  width: 135px;
  height: 175px;
  border-radius: 22px;
  cursor: pointer;
  transition: 0.35s ease;
}

.new-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  background: transparent;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6));
}

.item-1 {
  transform: translateX(-70px) rotate(-10deg);
  z-index: 1;
}

.item-2 {
  transform: translateY(-8px);
  z-index: 3;
}

.item-3 {
  transform: translateX(70px) rotate(10deg);
  z-index: 2;
}

.item-1.active {
  transform: translateX(-70px) translateY(-18px) rotate(-10deg) scale(1.06);
  z-index: 10;
}

.item-2.active {
  transform: translateY(-26px) scale(1.06);
  z-index: 10;
}

.item-3.active {
  transform: translateX(70px) translateY(-18px) rotate(10deg) scale(1.06);
  z-index: 10;
}

.new-info {
  position: absolute;
  left: 50%;
  bottom: -78px;
  width: 210px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.94);
  border: 1px solid rgba(184, 149, 95, 0.28);
  color: #f5f5f5;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: 0.25s ease;
}

.new-item.active .new-info {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.new-info h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.new-info p {
  font-size: 12px;
  line-height: 1.4;
  color: #b8b8b8;
}

@media (max-width: 980px) {
  .hero-hookah {
    display: none;
  }

  .hero-new-stack {
    display: flex;
    margin-top: 12px;
  }
}

@media (max-width: 560px) {

  .hero {
    padding-bottom: 18px;
  }

  .categories-section {
    padding: 54px 16px 48px;
    margin-top: -24px;

    background: linear-gradient(
      to bottom,
      rgba(8, 8, 8, 0) 0%,
      rgba(8, 8, 8, 0.35) 18%,
      rgba(8, 8, 8, 0.72) 42%,
      rgba(8, 8, 8, 0.95) 72%,
      #080808 100%
    );
  }
  .new-stack {
    height: 210px;
    margin-top: -40px;
  }

  .new-item {
    width: 150px;
    height: 200px;
  }

  .item-1 {
  transform: translateX(-75px) rotate(-9deg);
}

.item-2 {
  transform: translateY(-8px);
}

.item-3 {
  transform: translateX(75px) rotate(9deg);
}

  .item-1.active {
  transform: translateX(-75px) translateY(-18px) rotate(-9deg) scale(1.06);
}

.item-2.active {
  transform: translateY(-24px) scale(1.06);
}

.item-3.active {
  transform: translateX(75px) translateY(-18px) rotate(9deg) scale(1.06);
}
}