/* Парфюмерный театр — page-specific styles. */

/* ─── Hero с видео-фоном ─── */
.pf-hero {
  padding: 200px 0 100px;
  text-align: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pf-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
  filter: brightness(0.85) saturate(1.0);
}

.pf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.5) 0%, rgba(10, 10, 12, 0.15) 40%, rgba(10, 10, 12, 0.6) 100%),
    radial-gradient(ellipse at 40% 50%, rgba(180, 140, 80, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.pf-hero > .container {
  position: relative;
  z-index: 2;
}

.pf-hero__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.pf-hero__title {
  font-family: 'Forum', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.1;
}

.pf-hero__desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Навигация по разделам ─── */
.pf-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 0;
}

.pf-nav__btn {
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--line-hover);
  color: var(--text-soft);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
}

.pf-nav__btn:hover,
.pf-nav__btn.active {
  background: var(--gradient-gold);
  border-color: transparent;
  color: var(--text-dark);
}

/* ─── Раздел: Парфюмерный театр ─── */
.pf-theatre {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.pf-theatre__bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.85) saturate(0.9);
  z-index: 0;
  pointer-events: none;
}

.pf-theatre > .container {
  position: relative;
  z-index: 1;
}

.pf-section-head {
  text-align: center;
  margin-bottom: 64px;
}

.pf-section-head__num {
  font-family: 'Forum', serif;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: block;
}

.pf-section-head__title {
  font-family: 'Forum', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 12px;
}

.pf-section-head__sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--gold);
  font-style: italic;
}

.pf-theatre__content {
  max-width: 800px;
  margin: 0 auto;
}

.pf-theatre__text {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: center;
}

.pf-theatre__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-style: italic;
  text-align: center;
  padding: 40px 0;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 48px 0;
}

.pf-theatre__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.pf-feature {
  padding: 36px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.5s ease;
}

.pf-feature:hover {
  border-color: rgba(216, 201, 153, 0.15);
  box-shadow: var(--glow-gold);
}

.pf-feature__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.pf-feature__title {
  font-family: 'Forum', serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.pf-feature__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Раздел: Авторский парфюм ─── */
.pf-shop {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.pf-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.pf-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
}

.pf-card:hover {
  border-color: rgba(216, 201, 153, 0.2);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}

.pf-card__image {
  height: 320px;
  overflow: hidden;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pf-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.pf-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.15;
}

.pf-card__placeholder span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pf-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pf-card__category {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}

.pf-card__name {
  font-family: 'Forum', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pf-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.pf-card__notes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pf-card__note {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.pf-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pf-card__price {
  font-family: 'Forum', serif;
  font-size: 1.5rem;
  color: var(--text);
}

.pf-card__price span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pf-card__btn {
  padding: 12px 28px;
  background: var(--gradient-gold);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
}

.pf-card__btn:hover {
  box-shadow: 0 0 24px rgba(216, 201, 153, 0.2);
  transform: translateY(-1px);
  color: var(--text-dark);
}

/* ─── CTA ─── */
.pf-cta {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.pf-cta__title {
  font-family: 'Forum', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text);
  margin-bottom: 16px;
}

.pf-cta__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ─── Визуальная галерея ─── */
.pf-visual {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.pf-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(180, 140, 80, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pf-visual--golden::before {
  background:
    linear-gradient(180deg, rgba(10,10,12,0.7) 0%, rgba(10,10,12,0.5) 50%, rgba(10,10,12,0.7) 100%),
    url('/images/ammonite-golden-ratio.jpg');
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
  filter: brightness(0.45) saturate(0.7);
}

.pf-visual--golden > .container {
  position: relative;
  z-index: 1;
}

.pf-visual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pf-visual__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  transition: all 0.6s ease;
}

.pf-visual__item:hover {
  border-color: rgba(216, 201, 153, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--glow-gold);
  transform: translateY(-4px);
}

.pf-visual__item img,
.pf-visual__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.pf-visual__item:hover img,
.pf-visual__item:hover video {
  transform: scale(1.05);
}

.pf-visual__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 28px 28px;
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.9) 0%, transparent 100%);
  pointer-events: none;
}

.pf-visual__caption-title {
  font-family: 'Forum', serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 6px;
}

.pf-visual__caption-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--gold-dim);
  font-style: italic;
}

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
  .pf-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pf-hero              { padding: 160px 0 80px; min-height: 80vh; }
  .pf-theatre__features { grid-template-columns: 1fr; }
  .pf-products          { grid-template-columns: 1fr; }
  .pf-nav               { flex-wrap: wrap; }
  .pf-visual__grid      { grid-template-columns: 1fr; }
}
