/* Modern Header Enhancements */

/* Top bar improvements - single gradient across entire bar */
.top-bar {
  background: linear-gradient(to right, #1a1720 0%, #2E2A39 100%) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Remove default Foundation backgrounds */
.top-bar,
.top-bar-section,
.top-bar-section ul,
.top-bar-section li,
.top-bar .title-area {
  background: transparent !important;
}

/* Logo hover effect */
.top-bar .name h1 a {
  transition: opacity 0.2s ease;
}

.top-bar .name h1 a:hover {
  opacity: 0.8;
}

/* Menu item improvements - transparent backgrounds, white text */
.top-bar-section ul li > a,
.top-bar-section li:not(.has-form) a:not(.button) {
  font-weight: 400 !important;
  letter-spacing: 0.3px;
  transition: all 0.2s ease !important;
  background: transparent !important;
  color: #ffffff !important;
}

.top-bar-section ul li > a:hover,
.top-bar-section li:not(.has-form) a:not(.button):hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* Book Now button highlight */
.top-bar-section ul li:first-of-type a {
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.top-bar-section ul li:first-of-type a:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* Dividers - subtle white lines */
.top-bar-section .divider {
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-right: none !important;
  height: auto !important;
}

/* Mobile menu improvements */
.top-bar .toggle-topbar.menu-icon a {
  transition: all 0.2s ease;
  color: #ffffff !important;
}

.top-bar .toggle-topbar.menu-icon a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.top-bar .toggle-topbar.menu-icon a span::after {
  box-shadow: 0 0 0 1px #ffffff, 0 7px 0 1px #ffffff, 0 14px 0 1px #ffffff !important;
}

/* Modern Footer Enhancements */

footer {
  background: transparent;
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
}

footer hr {
  border-color: #e0e0e0;
  margin-bottom: 2rem;
}

/* Footer text styling */
.footerText {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.footerText a {
  color: #999;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footerText a:hover {
  color: #666;
  border-bottom-color: #666;
}

.footerRight {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 2rem;
}

/* Partner logos section */
footer .large-4.columns {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  margin-bottom: 1rem;
  min-height: 80px;
}

.footerImage, .img-responsive {
  max-width: 120px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.footerImage:hover, .img-responsive:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Menu Buttons - consistent styling */
.button, .altButton {
  background: #2E2A39 !important;
  border: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff !important;
}

.button:hover, .altButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  background: #1a1720 !important;
}

.button.expand, .altButton.expand {
  margin-bottom: 1rem;
}

/* Button group - better defined buttons with single gradient */
.button-group {
  background: linear-gradient(to right, #1a1720 0%, #2E2A39 100%);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  gap: 1px;
  padding: 1px;
}

.button-group .button {
  background: rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  flex: 1;
  margin: 0 !important;
  color: #fff !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  transition: all 0.2s ease !important;
  position: relative;
}

.button-group .button::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
}

.button-group .button:last-child::after {
  display: none;
}

.button-group .button:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-1px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Stack for small screens */
@media screen and (max-width: 640px) {
  .button-group.stack-for-small {
    flex-direction: column;
  }

  .button-group.stack-for-small .button::after {
    display: none;
  }

  .button-group.stack-for-small .button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%
    );
  }

  .button-group.stack-for-small .button:last-child::before {
    display: none;
  }
}

/* Promotions Section */
.promotions-section {
  margin: 2rem 0;
}

.promotions-card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.promotions-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
}

.promotions-card-header {
  background: linear-gradient(135deg, #1a1720 0%, #2E2A39 100%);
  color: #fff;
  padding: 2rem 2rem;
  margin: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.promotions-card-header h4 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 300;
  color: #ffffff !important;
  letter-spacing: 0.5px;
}

.promotions-card-content {
  padding: 0;
  background: #fff;
}

.promotions-card-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive footer */
@media screen and (max-width: 640px) {
  footer {
    padding: 2rem 0 1.5rem 0;
    margin-top: 3rem;
  }

  footer .large-4.columns {
    margin-bottom: 1.5rem;
  }

  .footerText, .footerRight {
    text-align: center;
  }

  .footerImage, .img-responsive {
    max-width: 100px;
  }

  .promotions-card-header {
    padding: 1.25rem 1.5rem;
  }

  .promotions-card-header h4 {
    font-size: 1.25rem;
  }
}
