/* === Self-hosted fonts (mirrors Google Fonts subsets) === */

/* Playfair Display (variable, weights 600..700) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins 300 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/poppins-300-devanagari.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/poppins-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/poppins-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins 400 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-devanagari.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins 500 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-devanagari.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --primary-color: #2c1810;
  --secondary-color: #d4af37;
  --accent-color: #8b7355;
  --light-bg: #faf8f5;
  --text-dark: #2c1810;
  --text-light: #6b5d54;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light-bg);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo-mobile {
  display: none;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.lang-switch {
  background: none;
  border: 1px solid var(--accent-color);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  color: var(--text-dark);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.lang-switch:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 24, 16, 0.7),
    rgba(139, 115, 85, 0.5)
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.5),
    4px 4px 8px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(212, 175, 55, 0.3);
  line-height: 1.2;
  letter-spacing: 1px;
  font-weight: 700;
}

/* .hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
} */

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-short {
  height: 65vh;
  min-height: 420px;
}

/* Collection Cards (home) */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.collection-card {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s;
}

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

.collection-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(44, 24, 16, 0.88));
  color: white;
}

.collection-card-label h3 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.collection-card-label p {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Story (about) section with image */
.story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 4rem;
  margin: 3rem auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.story img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
}

.story h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.story p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Section Styling */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  font-weight: 300;
}

/* About Section */
.about {
  background: white;
  border-radius: 20px;
  padding: 4rem;
  margin: 3rem auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.about p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.step:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.step p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Price Section */
.price-box {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: white;
  padding: 4rem;
  border-radius: 20px;
  text-align: center;
  margin: 3rem auto;
  max-width: 600px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.price-amount {
  font-size: 4rem;
  font-weight: 700;
  margin: 1rem 0;
  font-family: "Playfair Display", serif;
}

.price-description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 1rem;
}

/* FAQ Section */
.faq-item {
  background: white;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Gallery */
.gallery {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem 0;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.gallery::-webkit-scrollbar {
  height: 8px;
}

.gallery::-webkit-scrollbar-track {
  background: var(--light-bg);
  border-radius: 10px;
}

.gallery::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px;
}

.gallery::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.gallery-item {
  position: relative;
  flex: 0 0 350px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  scroll-snap-align: center;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Section */
.contact {
  background: white;
  border-radius: 20px;
  padding: 4rem;
  margin: 3rem auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s;
  min-width: 200px;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: var(--secondary-color);
  color: white;
}

.contact-item svg {
  color: var(--secondary-color);
  transition: color 0.3s;
}

.contact-item:hover svg {
  color: white;
}

.contact-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2001;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  border-radius: 30px;
  max-width: 80%;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.8);
  color: white;
  border: none;
  font-size: 30px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
  z-index: 2001;
  user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.gallery-item img {
  cursor: pointer;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 5rem;
}

footer p {
  opacity: 0.8;
}

/* Language Toggle */
.lang-content {
  display: none;
}

.lang-content.active {
  display: block;
}

/* Responsive */
@media (max-width: 830px) {
  /* Logo switch for mobile */
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .logo-img {
    height: 45px;
  }

  /* Mobile navigation */
  nav {
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .nav-links.active li:nth-child(5) {
    transition-delay: 0.5s;
  }
  .nav-links.active li:nth-child(6) {
    transition-delay: 0.6s;
  }

  .nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
  }

  .lang-switch {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .about {
    padding: 2rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 2rem;
  }

  .story {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

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

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-item {
    min-width: 100%;
  }

  /* Mobile gallery adjustments */
  .gallery {
    gap: 1rem;
  }

  .gallery-item {
    flex: 0 0 280px;
    height: 280px;
  }

  /* Mobile lightbox adjustments */
  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 24px;
    padding: 0.8rem 1rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    bottom: 20px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 80vh;
  }
}
