/* ============================================================
   Rävala Nordic Vermouth — Premium Dark Theme
   ============================================================ */

/* --- Brandon Grotesque --- */
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/Brandon_thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/Brandon_light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/Brandon_reg.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/Brandon_med.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/Brandon_bld.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/Brandon_bld_it.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0d0f12;
  --bg-section: #111419;
  --blue: #1d71b9;
  --gold: #e4ba7d;
  --gold-dark: #ca9e67;
  --gold-glow: rgba(228, 186, 125, 0.2);
  --text-primary: #f0ece4;
  --text-muted: #9caabf;
  --surface-border: rgba(228, 186, 125, 0.15);
  --font-heading: 'Brandon Grotesque', Arial, sans-serif;
  --font-body: 'Brandon Grotesque', Arial, sans-serif;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Container --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 400;
  padding: 14px 32px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--gold-dark);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--surface-border);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(228, 186, 125, 0.08);
}

.btn-full {
  width: 100%;
}

/* ============================================================
   Age Gate
   ============================================================ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate.hidden {
  display: none;
}

.age-gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 113, 185, 0.85);
}

.age-gate-modal {
  position: relative;
  background: var(--gold-dark);
  padding: 60px 48px;
  text-align: center;
  max-width: 520px;
  width: 90%;
}

.age-gate-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--bg-primary);
  margin-bottom: 16px;
}

.age-gate-text {
  font-size: 1.8rem;
  color: var(--bg-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  line-height: 1.8;
}

.age-gate-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-gate-buttons .btn {
  background: var(--bg-primary);
  color: var(--gold);
}

.age-gate-buttons .btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.age-gate-buttons .btn-outline {
  background: transparent;
  border: 1px solid var(--bg-primary);
  color: var(--bg-primary);
}

.age-gate-buttons .btn-outline:hover {
  background: var(--bg-primary);
  color: var(--gold);
}

.age-gate-denied {
  margin-top: 24px;
  font-size: 1.7rem;
  color: var(--bg-primary);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--blue), var(--blue));
  text-align: center;
  padding: 40px 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  max-width: 792px;
  width: 100%;
  margin-bottom: 40px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.8;
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 100px 0;
}

/* --- Product Feature (split) --- */
.product-feature {
  background: #ffffff;
}

.product-feature .feature-text h2,
.product-feature .feature-text p {
  color: var(--blue);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image img {
  width: 100%;
  max-height: 750px;
  object-fit: contain;
}

.feature-text {
  text-align: center;
}

.feature-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 5rem);
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 2.2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Dark section with background --- */
.section-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 18, 0.85);
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.stacked-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.stacked-feature--reversed .stacked-feature-image {
  order: 2;
}

.stacked-feature--reversed .stacked-feature-text {
  order: 1;
}

.stacked-feature-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
}

.stacked-feature-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 20px;
  color: var(--gold);
}

.stacked-feature-text p {
  font-size: 2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.stacked-feature-text em {
  font-family: var(--font-heading);
  color: var(--text-primary);
}

/* --- Allure Banner --- */
.allure-section {
  background: #ffffff;
  text-align: center;
  padding: 120px 0;
}

.allure-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--blue);
  line-height: 1.4;
  text-align: center;
}

/* --- Gallery Slider --- */
.gallery-section {
  padding: 0;
  background: var(--bg-primary);
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  height: 1000px;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
}

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

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 16px;
  transition: background 0.3s ease;
  z-index: 2;
}

.gallery-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-btn-prev {
  left: 16px;
}

.gallery-btn-next {
  right: 16px;
}

/* --- Recipe Section --- */
.recipe-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
}

.recipe-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 18, 0.8);
}

.recipe-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.recipe-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4rem);
  font-style: normal;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.5;
  margin-bottom: 32px;
}

.recipe-content p {
  font-size: 2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Purchase & Contact Section --- */
.purchase-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.purchase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 18, 0.88);
}

.purchase-section .container {
  position: relative;
  z-index: 1;
}

.purchase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.purchase-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.purchase-img {
  width: 100%;
  border-radius: var(--radius);
}

.purchase-info h2 {
  font-family: var(--font-heading);
  font-size: 4rem;
  margin-bottom: 8px;
  color: var(--gold);
  line-height: 1.1;
}

.purchase-text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.3;
}

.purchase-btn {
  margin-bottom: 24px;
}

.store-logo {
  width: 24px;
  height: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.2;
}

.contact-item a,
.contact-item p {
  font-size: 1.9rem;
  line-height: 1.3;
  color: var(--gold);
}

/* --- Contact Form --- */
.form-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.form-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 18, 0.75);
}

.form-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.form-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4rem);
  margin-bottom: 40px;
  color: var(--gold);
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1.8rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(156, 170, 191, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  margin-top: 12px;
  font-size: 1.7rem;
  color: #e74c3c;
}

.form-success {
  margin-top: 12px;
  font-size: 1.7rem;
  color: var(--gold);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--surface-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 1.6rem;
  color: var(--text-muted);
}

.footer-legal {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   404 Page
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-primary);
}

.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}

.error-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.error-text {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-image img {
    max-height: 500px;
  }

  .stacked-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stacked-feature--reversed .stacked-feature-image {
    order: 0;
  }

  .stacked-feature--reversed .stacked-feature-text {
    order: 0;
  }

  .purchase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-slider {
    height: 800px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .hero-logo {
    max-width: 320px;
  }

  .hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .gallery-slider {
    height: 600px;
  }

  .gallery-btn {
    padding: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .age-gate-modal {
    padding: 40px 24px;
  }

  .age-gate-title {
    font-size: 3rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section-dark,
  .recipe-section,
  .purchase-section {
    background-attachment: scroll;
  }
}
