/* inter-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v20-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* merriweather-300 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/merriweather-v33-cyrillic_latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/merriweather-v33-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-700 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/merriweather-v33-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --bg-primary: #1a1714;
  --bg-secondary: #2a2520;
  --bg-card: #322e28;
  --text-primary: #f0e6d3;
  --text-secondary: #b8a992;
  --accent: #c4956a;
  --copper: #b87333;
  --border: #3d362e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ================= NAV ================= */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26, 23, 20, 0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: all 0.3s ease; }
nav.scrolled { background: rgba(26, 23, 20, 0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { font-family: 'Merriweather', serif; font-size: 1.3rem; font-weight: 300; color: var(--accent); text-decoration: none; letter-spacing: 2px; display: flex; align-items: center; gap: 10px; user-select: none; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; position: relative; background: none; border: none; font-family: 'Inter', sans-serif; padding: 0; cursor: pointer; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.lang-switch { display: flex; gap: 4px; background: var(--bg-card); border-radius: 6px; padding: 3px; border: 1px solid var(--border); }
.lang-btn { padding: 4px 12px; border: none; background: transparent; color: var(--text-secondary); cursor: pointer; border-radius: 4px; font-size: 0.8rem; font-weight: 600; transition: all 0.3s; font-family: 'Inter', sans-serif; }
.lang-btn.active { background: var(--accent); color: var(--bg-primary); }
.lang-btn:hover:not(.active) { color: var(--text-primary); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; }

/* ================= HERO (MAIN) ================= */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 2rem 60px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 50%, rgba(196,149,106,0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(108,92,231,0.05) 0%, transparent 50%); pointer-events: none; }
.hero-content { max-width: 1200px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text h1 { font-family: 'Merriweather', serif; font-size: 3rem; font-weight: 300; line-height: 1.3; margin-bottom: 1.5rem; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 1.2rem; line-height: 1.8; }
.hero-text .highlight { color: var(--accent); font-weight: 500; }
.hero-image { position: relative; display: flex; justify-content: center; }
.hero-image img { width: 100%; max-width: 500px; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.4); transition: transform 0.5s ease; }
.hero-image img:hover { transform: scale(1.02); }
.hero-image::before { content: ''; position: absolute; top: -20px; right: -20px; width: 100%; height: 100%; border: 1px solid var(--accent); border-radius: 20px; opacity: 0.3; z-index: -1; }

.features { padding: 80px 2rem; background: var(--bg-secondary); }
.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; text-align: center; transition: all 0.4s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: 'Merriweather', serif; font-size: 1.15rem; font-weight: 400; margin-bottom: 0.8rem; color: var(--accent); }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ================= SECTION HEADERS ================= */
.section { padding: 80px 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-family: 'Merriweather', serif; font-size: 2.2rem; font-weight: 300; margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-divider { width: 60px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--copper)); margin: 1.5rem auto; border-radius: 2px; }

/* ================= INFO PAGE ================= */
.history-timeline { position: relative; padding-left: 3rem; }
.history-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--copper), transparent); }
.timeline-item { position: relative; margin-bottom: 3rem; padding-left: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -3.35rem; top: 0.5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg-primary); }
.timeline-item h3 { font-family: 'Merriweather', serif; font-size: 1.2rem; color: var(--accent); margin-bottom: 0.5rem; }
.timeline-item p { color: var(--text-secondary); line-height: 1.8; }

.slideshow-container { position: relative; width: 100%; max-width: 800px; margin: 2rem auto; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: var(--bg-card); }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2s ease-in-out; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow-controls { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }
.slide-btn { padding: 10px 28px; border: 1px solid var(--accent); background: transparent; color: var(--accent); border-radius: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.3s; }
.slide-btn:hover { background: var(--accent); color: var(--bg-primary); }
.slide-indicators { display: flex; gap: 8px; }
.slide-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.3s; }
.slide-dot.active { background: var(--accent); transform: scale(1.3); }
.video-description { text-align: center; color: var(--text-secondary); margin-top: 1rem; font-size: 0.95rem; }

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; transition: all 0.3s; }
.step-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--bg-primary); font-weight: 700; margin-bottom: 1rem; }
.step-card h4 { font-family: 'Merriweather', serif; font-weight: 400; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

.masters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; margin-top: 3rem; }
.master-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.4s; }
.master-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.master-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.master-info { padding: 1.5rem; }
.master-info h3 { font-family: 'Merriweather', serif; font-size: 1.15rem; color: var(--accent); margin-bottom: 0.3rem; }
.master-info .master-origin { font-size: 0.8rem; color: var(--copper); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.8rem; }
.master-info p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ================= ITEMS PAGE ================= */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.item-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.4s ease; cursor: pointer; }
.item-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.item-card img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform 0.5s; }
.item-card:hover img { transform: scale(1.05); }
.item-info { padding: 1.5rem; }
.item-info h3 { font-family: 'Merriweather', serif; font-size: 1.1rem; font-weight: 400; margin-bottom: 0.5rem; }
.item-info p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.item-tag { display: inline-block; padding: 3px 10px; background: rgba(196,149,106,0.15); color: var(--accent); border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-top: 0.8rem; letter-spacing: 0.5px; }

.lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.92); z-index: 2000; justify-content: center; align-items: center; padding: 2rem; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: var(--text-primary); font-size: 2rem; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); transition: background 0.3s; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ================= FOOTER ================= */
footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 3rem 2rem; text-align: center; }
footer p { color: var(--text-secondary); font-size: 0.85rem; }
footer .footer-logo { font-family: 'Merriweather', serif; color: var(--accent); font-size: 1.1rem; margin-bottom: 0.5rem; letter-spacing: 2px; }

/* ================= MEDIA QUERIES & SCROLLBAR ================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(26,23,20,0.98); padding: 2rem; border-bottom: 1px solid var(--border); gap: 1.5rem; }
  .mobile-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-text h1 { font-size: 2rem; }
  .hero-image::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .items-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.6rem; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .masters-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
