:root {
  --clr-primary: #000;
  --clr-primary-hover: #000;
  --clr-secondary: #eed7af;
  --clr-secondary-hover: #e8ca95;
}

* {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #f1f1f1;
}

/* Shell styles */
.shell-header {
  padding: 2.5vw 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  color: #fff;
}

.shell-header .logo-link {
  text-decoration: none;
  color: inherit;
}

.h-logo {
  font-family: "Ovo", serif;
  font-size: 24px;
  color: var(--clr-primary);
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a,
.main-nav .nav-rooms {
  color: var(--clr-primary);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav .nav-rooms:hover {
  color: #666;
}

.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  min-width: 220px;
  z-index: 1000;
  padding: 0.25rem 0;
  text-align: right;
  white-space: nowrap;
}

.dropdown-menu a {
  display: block;
  padding: 0.25rem 0.75rem 0.25rem 3rem;
  color: var(--clr-primary);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.dropdown-menu a:hover {
  color: #666;
}

/* Mobile menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: 28px;
  height: 10px;
  z-index: 1001;
}

/* Hide mobile submenu on desktop */
.mobile-submenu {
  display: none;
}

.hamburger-line {
  position: absolute;
  width: 28px;
  height: 2px;
  background-color: #000000;
  transition: all 0.3s ease;
  left: 0;
}

.hamburger-line:first-child {
  top: 0;
}

.hamburger-line:last-child {
  bottom: 0;
}

.mobile-menu-toggle.active .hamburger-line:first-child {
  top: -4px;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:last-child {
  bottom: 12px;
  transform: rotate(-45deg);
}

.shell-hero {
  width: 100%;
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url(../../HotelFiles/11780/h-hero.jpg) no-repeat center;
  background-size: cover;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  text-align: center;
  color: #ffffff;
  z-index: 1;
  padding: 0 2rem;
}

.hero-title {
  font-family: "Ovo", serif;
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: "Ovo", serif;
  font-size: 32px;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle em {
  font-style: italic;
}

/* Shell BE */
.shell-be {
  padding: 100px 0;
  background-color: #f1f1f1;
}

/* Footer styles */
.shell-footer {
  background-color: var(--clr-secondary);
  padding: 4rem 4vw 7rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
}

.footer-logo {
  font-family: "Ovo", serif;
  font-size: 32px;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-left p {
  color: var(--clr-primary);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.footer-left a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
  justify-content: center;
}

.footer-right a {
  color: var(--clr-primary);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

/* Booking Engine custom styles */
#cancelReservation {
  font-size: 12px;
}

.summary .summaryHeader {
  font-size: 13px;
}

.reserveRoom {
  background: #fff;
  color: var(--clr-primary);
  border: 1px solid var(--clr-primary);
}

.ui-datepicker-header,
.summary .summaryHeader {
  background: var(--clr-primary);
}

.roomName {
  background: var(--clr-secondary);
}

.done .step-number,
.done .step-number:before {
  background: var(--clr-secondary);
  color: var(--clr-primary);
}

.on,
.roomName:hover,
.roomName:focus {
  background: var(--clr-secondary-hover);
}

.reserveRoom:hover,
.reserveRoom:focus {
  background: var(--clr-primary);
  color: #fff;
}

/* select room */
.roomName h4,
.roomName h4:before {
  color: var(--clr-primary);
}

.roomDesc ul {
  margin-left: 25px;
}

/* Responsive Styles */
@media (min-width: 768px) {
  #guest-login {
    top: -65px;
  }
}
@media only screen and (max-width: 1024px) {
  .main-nav {
    gap: 1rem;
  }

  .main-nav a {
    font-size: 14px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .main-header {
    position: relative;
    box-shadow: none;
    margin: 0;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    display: none;
  }

  .shell-header {
    padding: 6vw 8vw;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10002;
    background-color: white;
  }

  .h-logo {
    font-size: 17.6px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    z-index: 1000;
    padding: 0;
    padding-top: 170px;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav::before {
    content: "Down East Comfort B&B";
    position: fixed;
    top: 6vw;
    left: 8vw;
    right: 60px;
    font-family: "Ovo", serif;
    font-size: 17.6px;
    color: var(--clr-primary);
    font-weight: 400;
    z-index: 1002;
  }

  .mobile-menu-close {
    display: none;
  }

  .close-line {
    display: none;
  }

  .mobile-submenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0;
    padding-top: 170px;
    z-index: 1003;
  }

  .mobile-submenu.active {
    display: flex;
  }

  .main-nav > a,
  .nav-item-dropdown > .nav-rooms {
    font-size: 32px;
    color: var(--clr-primary);
    width: 100%;
    text-align: center;
  }

  .nav-item-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-rooms {
    cursor: pointer;
  }

  .nav-rooms::after {
    content: " ›";
    margin-left: 0.5rem;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: transparent;
    text-align: center;
    padding: 0;
    margin-top: 1rem;
    min-width: auto;
    white-space: normal;
  }

  .nav-item-dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    font-size: 24px;
    padding: 0.5rem 0;
  }

  .mobile-submenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0;
    padding-top: 170px;
    z-index: 1000;
  }

  .mobile-submenu.active {
    display: flex;
  }

  .mobile-submenu::before {
    content: "Down East Comfort B&B";
    position: fixed;
    top: 6vw;
    left: 8vw;
    right: 60px;
    font-family: "Ovo", serif;
    font-size: 17.6px;
    color: var(--clr-primary);
    font-weight: 400;
    z-index: 1002;
  }

  .submenu-back {
    width: 100%;
    font-size: 24px;
    color: #999;
    text-align: center;
    padding: 0;
    margin-bottom: 2rem;
    cursor: pointer;
    background: none;
    border: none;
  }

  .mobile-submenu a {
    font-size: 32px;
    padding: 0;
    width: 100%;
    text-align: center;
    color: var(--clr-primary);
    text-decoration: none;
  }

  .shell-hero {
    height: 60vh;
  }

  .hero-content {
    padding: 0 3rem;
  }

  .hero-title {
    font-size: 41.6px;
  }

  .hero-subtitle {
    font-size: 32px;
  }

  .shell-be {
    padding: 4rem 0;
  }

  #mainStage {
    margin-top: 35px;
  }

  #guest-login {
    position: relative;
    width: 100px;
    margin-bottom: 20px;
  }

  .shell-footer {
    padding: 4rem 8vw 7rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-logo {
    font-size: 28.8px;
    margin-bottom: 2rem;
    max-width: 200px;
  }

  .footer-right {
    align-items: flex-start;
    gap: 0.25rem;
  }
}
