/*
Theme Name: Omius
Author: Quentin Sebire
Description: Custom theme for the Omius Vodka website
Version: 1.0
*/

/* === BREAKPOINTS ===
  breakpoint-tablet: 600px;
  breakpoint-desktop-s: 900px;
  breakpoint-desktop-m: 1200px;
  breakpoint-desktop-l: 1600px;
*/

:root {
  --black-color: #11191f;
  --main-bg-color: #fdf6ef;
  --header-height: 36px;
  --header-margin-top: 24px;
  --padding-s: 32px;
  --padding-m: 32px;
  --padding-l: 64px;
  --padding-xl: 64px;
  --font-brandon: "brandon-grotesque", sans-serif;
}

@media (min-width: 900px) {
  :root {
    --padding-m: 64px;
    --padding-l: 128px;
    --padding-xl: 128px;
  }
}

@media (min-width: 1200px) {
  :root {
    --padding-m: 64px;
    --padding-l: 128px;
    --padding-xl: 256px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-brandon);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: bold;
  text-transform: uppercase;
}

h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
}

p,
li,
a {
  color: var(--black-color);
  font-size: 18px;
}

.title_kicker {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black-color);
}

@media (min-width: 600px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 56x;
  }
  h2 {
    font-size: 40px;
  }
  p,
  li,
  a {
    font-size: 20px;
  }
  .title_kicker {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 64px;
  }
  h2 {
    font-size: 44px;
  }
}

@media (min-width: 1600px) {
  h1 {
    font-size: 70px;
  }
  h2 {
    font-size: 48px;
  }
  p,
  li,
  a {
    font-size: 22px;
  }
  .title_kicker {
    font-size: 24px;
  }
}

.omius-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  background-color: white;
  color: var(--black-color);
  padding: 8px 16px;
  border: 1px solid white;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 1000px;
  width: fit-content;
  text-decoration: none;
  transition: gap 0.3s ease-in-out;
  cursor: pointer;
}

.omius-button__black {
  background-color: var(--black-color);
  color: white;
  border: 1px solid var(--black-color);
}

.omius-button__black__outline {
  background-color: transparent;
  color: var(--black-color);
  border: 1px solid var(--black-color);
}

.omius-button:hover {
  gap: 8px;
}

.omius-button__icon {
  display: flex;
  align-items: center;
  width: 0;
  transition: gap 0.3s ease-in-out;
}

.omius-button:hover .omius-button__icon {
  width: 24px;
}

/* ==== HEADER ==== */

.site-header {
  position: fixed;
  top: var(--header-margin-top);
  left: 0;
  z-index: 9999;
  width: 100vw;
}

.admin-bar .site-header {
  top: calc(var(--header-margin-top) + 32px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--padding-s);
}

.site-header__logo > img {
  height: var(--header-height);
}

.site-header__nav {
  display: none;
}

.site-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__menu a {
  color: var(--black-color);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

/* Last item styled as a CTA button (desktop nav only — the mobile menu uses
   its own separate list, .mobile-menu__list, so it isn't affected). */
.site-header__menu li:last-child a {
  display: inline-block;
  background-color: white;
  color: var(--black-color);
  padding: 8px 20px;
  border-radius: 1000px;
  font-weight: bold;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .site-header__nav {
    display: block;
  }
}

/* ==== FOOTER ==== */

.site-footer {
  position: relative;
  z-index: 9999;
  width: 100vw;
  background-color: var(--main-bg-color);
}

.site-footer__inner {
  padding: 16px var(--padding-s);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__menu li a {
  text-decoration: none;
}

@media (min-width: 900px) {
  .site-footer__inner {
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
  }
  .site-footer__menu {
    flex-direction: row;
    gap: 16px;
  }
}

/* Home footer override */
@media (min-width: 900px) {
  .home .site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: transparent;
  }
}

/* ==== GLOBAL ELEMENTS ==== */
.bg-pattern {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.05;
  top: 0;
  left: 0;
}

/* Shared kicker + title + text + button skeleton, used wherever a section
   has this pattern (excluding the bottle cards in the bottles grid). */
.block-texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block-texts__titles {
  line-height: 1.2;
}
