/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader__logo {
  height: 40px;
  width: auto;
  opacity: 0;
}

.preloader__line {
  width: 0;
  height: 1px;
  background-color: var(--gold);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.7));
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 40px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 80px;
  }
}

.hero__label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
}

.hero__line {
  width: 0;
  height: 1px;
  background-color: var(--gold);
  margin: 20px 0;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--white);
  max-width: 700px;
  line-height: 1.2;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 56px;
  }
}

.hero__title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

.hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gray-light);
  margin-top: 20px;
  opacity: 0;
}

.hero__cta {
  margin-top: 40px;
  display: inline-flex;
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background-color: var(--gold);
  transform-origin: top;
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}

/* Stats Section */
.stats {
  background-color: var(--black);
  padding: 80px 40px;
}

@media (min-width: 768px) {
  .stats {
    padding: 80px;
  }
}

.stats__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

@media (min-width: 1024px) {
  .stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: var(--gold);
  }
}

.stats__number {
  font-family: 'DM Mono', monospace;
  font-size: 48px;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 10px;
}

.stats__number::after {
  content: '+';
}

.stats__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray);
}

/* Product Categories */
.categories {
  background-color: var(--white-cream);
  padding: 80px 40px;
}

@media (min-width: 768px) {
  .categories {
    padding: 120px 80px;
  }
}

.categories__header {
  max-width: 1440px;
  margin: 0 auto 60px auto;
}

.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 15px;
}

.section-label--center {
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--black);
  font-weight: 500;
}

.section-title--center {
  text-align: center;
}

.section-title--white {
  color: var(--white);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 42px;
  }
}

.categories__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background-color: var(--black);
  width: 100%;
  height: 400px;
}

@media (min-width: 1024px) {
  .category-card {
    height: 500px;
  }
  
  .category-card--large {
    width: calc(60% - 10px);
  }
  
  .category-card--small {
    width: calc(40% - 10px);
  }
}

.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}

.category-card:hover::after {
  transform: scaleX(1);
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.category-card:hover .category-card__img {
  transform: scale(1.05);
}

.category-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
  z-index: 1;
}

.category-card__title {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--white);
  font-weight: 400;
  z-index: 2;
}

/* About Preview */
.about-preview {
  background-color: var(--white-cream);
  padding: 80px 40px;
}

@media (min-width: 768px) {
  .about-preview {
    padding: 120px 80px;
  }
}

.about-preview__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-preview__inner {
    grid-template-columns: 1fr 1fr;
    gap: 120px;
  }
}

.about-preview__title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--black);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .about-preview__title {
    font-size: 42px;
  }
}

.about-preview__line {
  width: 60px;
  height: 1px;
  background-color: var(--gold);
  margin-bottom: 30px;
}

.about-preview__text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 40px;
}

.about-preview__images {
  position: relative;
  width: 100%;
  padding-bottom: 40px;
  padding-right: 40px;
}

.about-preview__img-main {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-preview__img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: auto;
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* Features */
.features {
  background-color: var(--black-soft);
  padding: 80px 40px;
}

@media (min-width: 768px) {
  .features {
    padding: 120px 80px;
  }
}

.features__header {
  margin-bottom: 80px;
}

.features__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

.feature-item {
  position: relative;
  padding-bottom: 30px;
}

.feature-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
}

.feature-item__icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.feature-item__title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 15px;
}

.feature-item__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  z-index: 1;
}

.cta-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.6);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}

.cta-banner__title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 40px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .cta-banner__title {
    font-size: 40px;
  }
}
