@font-face {
  font-family: "PPSupplyMono";
  src: url("PPSupplyMono-Regular.ttf") format("truetype");
}

:root {
  --font-primary: "PPSupplyMono", "Courier New", monospace;
  --text-color: rgba(245, 245, 245, 0.9);
  --bg-color: #0a0a0a;
  --spacing-mobile: 16px;
  --spacing-tablet: 24px;
  --spacing-desktop: 32px;
  --header-height: 80px;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  font-family: var(--font-primary);
  min-height: 100vh;
  text-transform: uppercase;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--text-color);
  line-height: 1.4;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 6fr 2fr;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--spacing-desktop);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.main-nav a,
.contact-link a {
  color: var(--text-color);
  text-decoration: none;
  font-size: clamp(12px, 1vw, 16px);
  letter-spacing: 0.08em;
}

.audio-enable,
.preloader {
  position: fixed;
  inset: 0;
  background-image: url("index.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-1 { background-image: url("index1.webp"); }
.section-2 { background-image: url("index2.webp"); }
.section-3 { background-image: url("vin-france.webp"); }

.site-footer {
  width: 100%;
  min-height: 50vh;
  padding: 40px var(--spacing-desktop);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-right {
  text-align: right;
  max-width: 40%;
}

@media (max-width: 1024px) {
  .header-container,
  .site-footer {
    padding-left: var(--spacing-tablet);
    padding-right: var(--spacing-tablet);
  }

  .section {
    min-height: 85vh;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  .geometric-background {
    display: none;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-mobile);
    gap: 12px;
    text-align: center;
  }

  .main-nav ul {
    gap: 12px;
  }

  .contact-link {
    display: none;
  }

  .section {
    min-height: 70vh;
    padding: 60px 0;
    background-attachment: scroll;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    max-width: 100%;
    text-align: left;
  }

  .center-circle {
    transform: translate(-50%, -50%) scale(0.75);
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .section {
    min-height: 60vh;
    padding: 40px 0;
  }

  .site-footer {
    padding: 24px var(--spacing-mobile);
  }
}
