/* Base */
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background: #fff;
}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.header .container{
  max-width: none;
  padding: 0;
}

/* Header */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.3s ease;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header--scrolled .logo__main,
.header--scrolled .logo__sub,
.header--scrolled .menu a,
.header--scrolled .header__icons a {
  color: #333;
}

.header--scrolled .logo__divider {
  background: rgba(0, 0, 0, 0.2);
}

.header--scrolled .menu a:hover,
.header--scrolled .header__icons a:hover {
  color: #000;
}
.header:hover {
  background: rgba(0, 0, 0, 0.1);
}
.header__inner{
  height: 80px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
.logo{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-left: 20px;
  flex: 0 0 auto;
}
.logo__main{
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  transition: color 0.3s ease;
}
.logo__divider{
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 2px 0;
}
.logo__sub{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  transition: color 0.3s ease;
}
.logo:hover { color: #fff; }

/* ВАЖНО: фикс меню по центру */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.menu{
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.menu a{
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  transition: color 0.3s ease;
}
.menu a:hover{ color: #fff; }

.header__icons{
  display: flex;
  gap: 20px;
  align-items: center;
  padding-right: 10px;
  margin-left: auto;
}
.header__icons a{
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.header__icons a:hover{ color: #fff; }
.language{
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 300;
}
.cart-count{
  font-size: 10px;
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  border-radius: 50%;
  margin-left: 4px;
  font-weight: 300;
}

/* HERO */
.hero{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
}

/* Одно изображение с анимацией */
.hero--single {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero--single .hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero__bg{
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.hero__overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;color:#fff;padding:24px;
  background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.22));
}
.hero__title{
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  font-weight: 400;
}
.btn{border:1px solid #fff;padding:10px 18px;text-transform:uppercase;font-size:13px;color:#fff;background:transparent;cursor:pointer;transition:.2s}
.btn:hover{background:#fff;color:#111  }
  
  @keyframes gentleZoom {
    0%, 100% { 
      transform: scale(1.1);
      background-position: 50% 50%;
    }
    25% { 
      transform: scale(1.12);
      background-position: 52% 50%;
    }
    50% { 
      transform: scale(1.15);
      background-position: 55% 50%;
    }
    75% { 
      transform: scale(1.12);
      background-position: 48% 50%;
    }
  }
  
  /* Медленное приближение с панорамированием */
.hero--animated .hero__bg{
  animation: kenBurnsSmooth 12s ease-in-out infinite;
  transform-origin: center center;
}
@keyframes kenBurnsSmooth{
  0%   { transform: scale(1.1); background-position: 50% 50%; }
  25%  { transform: scale(1.2); background-position: 60% 50%; }
  50%  { transform: scale(1.3); background-position: 50% 40%; }
  75%  { transform: scale(1.2); background-position: 40% 50%; }
  100% { transform: scale(1.1); background-position: 50% 50%; }
}

/* Горизонтальный скролл коллекций */
.collections-scroll {
  padding: 30px 0;
  background: #fff;
}

.collections-scroll__header {
  text-align: center;
  margin-bottom: 30px;
}

.collections-scroll__header h2 {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #999;
  margin: 0;
  text-transform: uppercase;
}

.collections-scroll__container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  cursor: grab;
  padding-right: 40px;
}

.collections-scroll__container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.collections-scroll__track {
  display: flex;
  gap: 40px;
  padding: 0 40px;
  min-width: max-content;
}

.collection-item {
  flex: 0 0 calc((100vw - 80px) / 3);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.collection-item:hover {
  transform: none;
}

.collection-item__image {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.collection-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-item:hover .collection-item__image img {
  transform: none;
}

.collection-item__label {
  position: static;
  text-align: center;
  padding: 20px 0 0 0;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #333;
  background: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.collection-item--spacer {
  flex: 0 0 40px;
  min-width: 40px;
}

/* Сетка изображений */
.image-grid {
  padding: 0;
  background: #fff;
}

.image-grid__container {
  max-width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 250px);
  gap: 20px;
  grid-template-areas: 
    "tall wide wide square"
    "tall large large medium"
    "tall large large medium";
}

.image-grid__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
}

.image-grid__item--tall {
  grid-area: tall;
}

.image-grid__item--wide {
  grid-area: wide;
}

.image-grid__item--square {
  grid-area: square;
}

.image-grid__item--large {
  grid-area: large;
}

.image-grid__item--medium {
  grid-area: medium;
}

.image-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Sections */
.collections{padding:50px 0}
h2{font-size:24px;margin-bottom:18px}
.collections__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.collection-card{position:relative;display:block;border:1px solid #eee;overflow:hidden}
.collection-card img{width:100%;height:180px;object-fit:cover;transition:transform .3s}
.collection-card span{position:absolute;left:10px;bottom:10px;background:rgba(255,255,255,.85);padding:6px 10px;text-transform:uppercase;font-size:12px}
.collection-card:hover img{transform:scale(1.05)}

/* Footer */
.footer{border-top:1px solid #eee;padding:20px 0;color:#666;text-align:center}

/* Адаптивность для коллекций */
@media (max-width: 768px) {
  .collection-item {
    flex: 0 0 calc((100vw - 60px) / 3);
  }
  
  .collection-item--spacer {
    flex: 0 0 15px;
    min-width: 15px;
  }
  
  .collections-scroll__container {
    padding-right: 15px;
  }
  
  .collections-scroll__track {
    gap: 10px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .collection-item {
    flex: 0 0 calc((100vw - 40px) / 3);
  }
  
  .collection-item--spacer {
    flex: 0 0 10px;
    min-width: 10px;
  }
  
  .collections-scroll__container {
    padding-right: 10px;
  }
  
  .collections-scroll__track {
    gap: 8px;
    padding: 0 10px;
  }
}
