/* =========================================================
   WELLS HAMILTON MEDIA
   HEADER / NAVBAR
========================================================= */

/* =========================================================
   HEADER
========================================================= */

.header {
  position: relative;

  width: 100%;

  background: #e5e5e5;

  border-bottom: 1px solid #cfcfcf;

  z-index: 1000;

  padding: 18px 0;
}

/* =========================================================
   NAV CONTAINER
========================================================= */

.nav-container {
  width: min(1400px, 92%);

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

/* =========================================================
   LOGO
========================================================= */

.logo {
  display: flex;

  flex-direction: column;

  line-height: 1;

  color: #111111;

  text-decoration: none;

  transition: opacity 0.3s ease;
}

.logo:hover {
  color: #111111;

  opacity: 0.75;
}

/* WELLS */

.logo span {
  font-family: Arial, sans-serif;

  font-size: 10px;

  font-weight: 500;

  letter-spacing: 5px;

  color: #333333;
}

/* HAMILTON */

.logo strong {
  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 27px;

  font-weight: 700;

  letter-spacing: 3px;

  color: #111111;
}

/* MEDIA */

.logo small {
  margin-top: 5px;

  font-family: Arial, sans-serif;

  font-size: 8px;

  font-weight: 600;

  letter-spacing: 6px;

  color: #555555;
}

/* =========================================================
   NAVIGATION
========================================================= */

.nav {
  display: flex;

  align-items: center;

  gap: 38px;
}

/* NAV LINKS */

.nav a {
  position: relative;

  color: #111111;

  font-family: "Inter", Arial, sans-serif;

  font-size: 12px;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  text-decoration: none;

  padding: 8px 0;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

/* =========================================================
   NAV UNDERLINE
========================================================= */

.nav a:not(.nav-button)::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 0;

  height: 2px;

  background: #111111;

  transition: width 0.3s ease;
}

.nav a:not(.nav-button):hover::after,
.nav a:not(.nav-button).active::after {
  width: 100%;
}

/* =========================================================
   HOVER / ACTIVE
========================================================= */

.nav a:hover {
  color: #555555;

  transform: translateY(-1px);
}

.nav a.active {
  color: #111111;
}

/* =========================================================
   CONTACT BUTTON
========================================================= */

.nav-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 10px 20px !important;

  background: #222222;

  border: 1px solid #222222;

  color: #ffffff !important;

  border-radius: 3px;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.nav-button:hover {
  background: #ffffff;

  border-color: #222222;

  color: #111111 !important;

  transform: translateY(-2px);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   MOBILE MENU TOGGLE
========================================================= */

#menu-toggle {
  display: none;
}

/* =========================================================
   HAMBURGER ICON
========================================================= */

.menu-icon {
  display: none;

  width: 40px;

  height: 40px;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  border: 1px solid #bcbcbc;

  background: #eeeeee;

  border-radius: 3px;

  transition: background 0.3s ease;
}

.menu-icon:hover {
  background: #d8d8d8;
}

.menu-icon span {
  display: block;

  width: 20px;

  height: 2px;

  background: #111111;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .nav {
    gap: 24px;
  }

  .nav a {
    font-size: 11px;

    letter-spacing: 1.2px;
  }

  .logo strong {
    font-size: 24px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .header {
    padding: 15px 0;
  }

  .nav-container {
    position: relative;

    width: 90%;
  }

  /* LOGO */

  .logo strong {
    font-size: 23px;
  }

  .logo span {
    font-size: 8px;

    letter-spacing: 4px;
  }

  .logo small {
    font-size: 6px;

    letter-spacing: 4px;
  }

  /* HAMBURGER */

  .menu-icon {
    display: flex;
  }

  /* MOBILE NAV */

  .nav {
    position: absolute;

    top: calc(100% + 15px);

    left: 0;

    width: 100%;

    background: #e5e5e5;

    border: 1px solid #cfcfcf;

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);

    padding: 22px;

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 8px;
  }

  /* SHOW MENU */

  #menu-toggle:checked ~ .nav {
    display: flex;
  }

  /* MOBILE LINKS */

  .nav a {
    width: 100%;

    padding: 12px 8px;

    font-size: 11px;

    text-align: left;
  }

  /* REMOVE DESKTOP UNDERLINE */

  .nav a:not(.nav-button)::after {
    display: none;
  }

  /* MOBILE CONTACT */

  .nav-button {
    margin-top: 8px;

    text-align: center !important;

    justify-content: center;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .header {
    padding: 13px 0;
  }

  .nav-container {
    width: 88%;
  }

  .logo strong {
    font-size: 21px;

    letter-spacing: 2px;
  }

  .logo span {
    font-size: 7px;

    letter-spacing: 3px;
  }

  .logo small {
    font-size: 5px;

    letter-spacing: 3px;

    margin-top: 4px;
  }

  .menu-icon {
    width: 35px;

    height: 35px;
  }
}
header {
  height: 100px;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  width: 250px;
  max-height: 110px;
  height: auto;
  display: block;
  object-fit: contain;
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 250px;
  height: auto;
  display: block;
}
  
/* Responsive */
@media (max-width: 768px) {
  .logo {
    justify-content: center;
    width: 100%;
  }
}
