/* =========================================
   GLOBAL
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  overflow-x: hidden;
}

/* =========================================
   HEADER
========================================= */

.site-header {
  width: 100%;
  height: 84px;

  background: #f1ede7;

  position: fixed;
  top: 0;
  left: 0;

  z-index: 1000;

  transition:
    height 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  height: 100%;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 25px;

  transition: padding 0.4s ease;
}

/* =========================================
   BRAND / LOGO
========================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 15px;

  text-decoration: none;

  flex-shrink: 0;
}

.brand-logo {
  width: 300px;
  height: 300px;

  object-fit: contain;

  transition:
    width 0.4s ease,
    height 0.4s ease;
}

.brand-info {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.brand-name {
  font-family: Georgia, serif;

  font-size: 21px;
  font-weight: 400;

  letter-spacing: 3px;

  color: #b38a43;

  white-space: nowrap;

  transition: font-size 0.4s ease;
}

.brand-tagline {
  font-size: 8px;

  letter-spacing: 2px;

  color: #b38a43;

  text-align: center;

  white-space: nowrap;
}

/* =========================================
   NAVIGATION
========================================= */

.main-navigation {
  height: 100%;

  display: flex;
  align-items: center;
}

.nav-link {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 22px;

  color: #8b2525;

  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.8px;

  white-space: nowrap;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    font-size 0.4s ease,
    padding 0.4s ease,
    letter-spacing 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: #812d2b;
  color: #ffffff;
}

/* =========================================
   SCROLLED HEADER
========================================= */

.site-header.scrolled {
  height: 78px;

  background: rgba(241, 237, 231, 0.97);

  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .header-container {
  padding: 0 30px;
}

.site-header.scrolled .brand-logo {
  width: 300px;
  height: 300px;
}

.site-header.scrolled .brand-name {
  font-size: 17px;
}

.site-header.scrolled .brand-tagline {
  font-size: 7px;
}

.site-header.scrolled .nav-link {
  padding: 0 20px;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.6px;
}

/* =========================================
   HERO VIDEO
========================================= */

.hero-section {
  width: 100%;
  height: 100vh;
  min-height: 600px;

  position: relative;

  background: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;

  position: absolute;
  inset: 0;

  object-fit: cover;
  object-position: center;

  display: block;
}

/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
  display: none;

  width: 30px;
  height: 25px;

  background: none;
  border: none;

  cursor: pointer;

  flex-direction: column;
  justify-content: space-between;

  padding: 2px 0;
}

.menu-toggle span {
  width: 100%;
  height: 2px;

  background: #792a28;

  transition: 0.3s ease;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {
  .header-container {
    padding: 0 20px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: 2px;
  }

  .nav-link {
    padding: 0 10px;
    font-size: 11px;
  }

  .site-header.scrolled .nav-link {
    padding: 0 9px;
    font-size: 10px;
  }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 700px) {
  .site-header {
    height: 75px;
  }

  .header-container {
    padding: 0 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 250px;
    height: 55px;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 1.5px;
  }

  .brand-tagline {
    font-size: 7px;
    letter-spacing: 1px;
  }

  /* MOBILE MENU BUTTON */

  .menu-toggle {
    display: flex;
  }

  /* MOBILE NAVIGATION */

  .main-navigation {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    height: auto;

    background: #f1ede7;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    overflow: hidden;

    max-height: 0;
    opacity: 0;

    transition:
      max-height 0.4s ease,
      opacity 0.3s ease;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
  }

  .main-navigation.open {
    max-height: 400px;
    opacity: 1;
  }

  .nav-link {
    width: 100%;
    height: 50px;

    justify-content: flex-start;

    padding: 0 25px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.8px;
  }

  /* SCROLLED MOBILE HEADER */

  .site-header.scrolled {
    height: 72px;
  }

  .site-header.scrolled .brand-logo {
    width: 250px;
    height: 55px;
  }

  .site-header.scrolled .brand-name {
    font-size: 15px;
  }

  .site-header.scrolled .brand-tagline {
    font-size: 7px;
  }

  /* MOBILE HERO VIDEO */

  .hero-section {
    min-height: 500px;
  }
}
