/* ==========================================
   HEADER - NAVY THEME
   SILVERSEAS LINE CRUISE
========================================== */

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

.header {
  width: 100%;

  background: #0b2345;

  border-top: 4px solid #c79532;

  position: relative;
  z-index: 1000;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.header-container {
  width: 92%;
  max-width: 1300px;

  margin: auto;
}


/* ==========================================
   TOP BRANDING
========================================== */

.header-top {
  min-height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  padding: 15px 0;
}


/* ==========================================
   LOGO
========================================== */

.logo {
  position: absolute;

  left: 0;
  top: 50%;

  transform: translateY(-50%);

  width: 125px;
}

.logo a {
  display: block;
}

.logo img {
  display: block;

  width: 115px;
  height: auto;

  object-fit: contain;
}


/* ==========================================
   COMPANY INFORMATION
========================================== */

.company-info {
  text-align: center;

  padding: 0 150px;
}

.company-info h1 {
  margin: 0 0 7px;

  color: #ffffff;

  font-size: 27px;
  font-weight: 700;

  line-height: 1.3;

  letter-spacing: 0.3px;

  text-transform: uppercase;
}

.company-info p {
  margin: 0;

  color: #d9e0e7;

  font-size: 14px;

  font-weight: 500;
}

.company-info strong {
  color: #c79532;

  font-weight: 700;
}


/* ==========================================
   NAVIGATION
========================================== */

.navbar {
  width: 100%;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  background: #0b2345;
}

.navbar ul {
  min-height: 54px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  list-style: none;

  margin: 0;
  padding: 0;
}

.navbar li {
  height: 54px;

  display: flex;
  align-items: center;
}

.navbar a {
  position: relative;

  display: flex;
  align-items: center;

  height: 100%;

  padding: 0 17px;

  color: #ffffff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  white-space: nowrap;

  transition:
    color 0.25s ease,
    background 0.25s ease;
}


/* Gold underline */

.navbar a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: 0;
  height: 3px;

  background: #c79532;

  transform: translateX(-50%);

  transition: width 0.25s ease;
}

.navbar a:hover {
  color: #c79532;

  background: rgba(255, 255, 255, 0.05);
}

.navbar a:hover::after {
  width: 70%;
}


/* ==========================================
   HAMBURGER
========================================== */

.hamburger {
  display: none;

  width: 38px;
  height: 38px;

  padding: 7px;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 5px;

  background: #1565a8;

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 5px;

  cursor: pointer;

  position: absolute;

  right: 0;
  top: 50%;

  transform: translateY(-50%);

  z-index: 1001;
}

.hamburger span {
  display: block;

  width: 22px;
  height: 2px;

  background: #ffffff;

  border-radius: 2px;

  transition: all 0.25s ease;
}


/* Hamburger → X */

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

  .header-top {
    min-height: 95px;
  }

  .logo {
    width: 100px;
  }

  .logo img {
    width: 90px;
  }

  .company-info {
    padding: 0 120px;
  }

  .company-info h1 {
    font-size: 22px;
  }

  .company-info p {
    font-size: 13px;
  }

  .navbar ul {
    gap: 0;
  }

  .navbar a {
    padding: 0 11px;
    font-size: 13px;
  }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

  .header-container {
    width: 100%;

    padding: 0 15px;
  }

  .header-top {
    min-height: 75px;

    justify-content: flex-start;

    padding: 8px 0;
  }


  /* Logo */

  .logo {
    position: static;

    transform: none;

    width: 55px;

    flex-shrink: 0;

    margin-right: 12px;
  }

  .logo img {
    width: 55px;
  }


  /* Company */

  .company-info {
    padding: 0 48px 0 0;

    flex: 1;

    min-width: 0;

    text-align: left;
  }

  .company-info h1 {
    font-size: 14px;

    line-height: 1.25;

    margin-bottom: 3px;
  }

  .company-info p {
    display: none;
  }


  /* Hamburger */

  .hamburger {
    display: flex;
  }


  /* Mobile navigation */

  .navbar {
    max-height: 0;

    overflow: hidden;

    border-top: none;

    background: #0b2345;

    transition:
      max-height 0.3s ease,
      border-color 0.3s ease;
  }

  .navbar.active {
    max-height: 500px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.2);
  }

  .navbar ul {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 8px 0 12px;
  }

  .navbar li {
    width: 100%;

    height: auto;

    display: block;
  }

  .navbar a {
    width: 100%;

    height: auto;

    min-height: 48px;

    justify-content: center;

    padding: 13px 20px;

    color: #ffffff;

    font-size: 15px;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar a:hover {
    color: #c79532;

    background: rgba(255, 255, 255, 0.05);
  }

  .navbar a::after {
    display: none;
  }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

  .header-container {
    padding: 0 12px;
  }

  .header-top {
    min-height: 68px;
  }

  .logo {
    width: 48px;

    margin-right: 9px;
  }

  .logo img {
    width: 48px;
  }

  .company-info {
    padding-right: 45px;
  }

  .company-info h1 {
    font-size: 11px;

    line-height: 1.25;
  }

  .hamburger {
    width: 34px;
    height: 34px;

    padding: 6px;
  }

  .hamburger span {
    width: 20px;
  }

  .navbar a {
    min-height: 45px;

    font-size: 14px;

    padding: 12px 15px;
  }
}