﻿body {
  min-height: 100dvh;
}


/* Header Stripe Styles */
.header-stripe-container {
  padding: 0;
  margin: 0 0 2rem 0;
  position: relative;
  width: 100%;
  height: 60px;
  background-color: var(--bs-body-bg);
}

@media (max-width: 768px) {
  .header-stripe-container {
    margin: 0 0 1rem 0;
  }
}

.stripe {
  height: 100%;
  width: 100%;

  .stripe-circle {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
    /* Ensure no overflow from the circle background */
    overflow: hidden;
    height: 200px;
    width: 300px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;

    .header-logo {
      height: 200px;
      width: auto;
      aspect-ratio: 1 / 1;
      object-fit: contain;
      /* Create the circle effect using a large radial background on the logo itself */
      background: radial-gradient(circle at center, var(--bs-body-bg) 70%, transparent 71%);
      padding: 40px;
      margin-top: -40px;
      margin-right: -35px;
    }
  }

  @media (max-width: 768px) {
    .stripe-circle {
      height: 100px;
      width: 220px;

      .header-logo {
        height: 110px;
        padding: 15px;
        margin-top: -13px;
        margin-right: -13px;
      }
    }
  }
}

.landing-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  /* No opacity or transforms needed */
  margin-top: 0;
  background-color: var(--bs-body-bg);
}

    /* navigation */
    .header-nav {
      margin-left: 2rem;
      flex: 1;
      min-width: 0;
      /* Ensure it can scroll if content is too wide */
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .header-nav::-webkit-scrollbar {
      display: none;
    }

    .header-nav .nav {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
    }

    .header-nav .nav-link {
      color: var(--bs-secondary);
      font-family: 'Alegreya Sans SC', sans-serif;
      font-weight: 600;
      font-variant: small-caps;
      font-size: 2.5rem;
      letter-spacing: 0.05em;
      padding: 0.5rem 1rem;
      white-space: nowrap;
      transition: color 0.3s ease, border-bottom 0.3s ease;
      border-bottom: 2px solid transparent;
    }

    .header-nav .nav-link:hover,
    .header-nav .nav-link.active {
      color: #e8bd66;
      border-bottom-color: #e8bd66;
    }

    @media (max-width: 992px) {
      .header-nav .nav-item {
        display: none; /* Hide all items by default on mobile */
      }

      .header-nav .nav-item:has(.active),
      .header-nav .nav-item:first-child { 
        display: block; /* Show only the active one */
      }
      
      /* If none are active yet (at the top), show the first one (About) */
      .header-nav .nav-item:has(.active) ~ .nav-item:first-child {
        display: none;
      }

      .header-nav .nav-link {
        font-size: 1.5rem;
        border-bottom: none;
        padding-left: 0.5rem;
      }
    }

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Offset for sticky header so section titles aren't covered */
section[id] {
  scroll-margin-top: 70px;
}


.date-hero {
  color: #e8bd66;

  font-family: 'Alegreya Sans SC', Raleway, sans-serif;
  /* clamp(minimum, preferred, maximum) */
  font-size: clamp(1.7rem, calc(8 * var(--fluid-ratio)), 4.5rem);
  white-space: nowrap; /* Forces text to stay on one line */
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.05;

  margin-top: 0.25rem;

  text-shadow: -3px 3px 0 #4e3013;
}

.booking-hero {
  color: #dedccf;

  font-family: 'Alegreya Sans SC', Raleway, sans-serif;
  /* clamp(minimum, preferred, maximum) */
  font-size: clamp(1.3rem, calc(5 * var(--fluid-ratio)), 2.4rem);
  white-space: nowrap; /* Forces text to stay on one line */
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.15;

  margin-top: 0.6rem;

  text-shadow: -1px 1px 0 #6b6b6a;
}

/* Icons with phone / email */
.contact-info-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 2rem 2.5rem 0 0;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;

  .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #dedccf;
    height: 44px;
    width: 44px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid rgba(232, 189, 102, 0.3);
    box-sizing: border-box;

    i {
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 20px;

      &::before {
        vertical-align: middle;
      }
    }

    .contact-text {
      opacity: 0;
      width: 0;
      margin-left: 0;
      transition: opacity 0.3s ease, margin-left 0.3s ease, width 0.3s ease;
      font-family: 'DM Sans', sans-serif;
      font-weight: 500;
      font-size: 0.95rem;
      overflow: hidden;
    }

    &:hover {
      background-color: #e8bd66;
      color: #191d3a;
      border-color: #e8bd66;

      @media (min-width: 992px) {
        width: auto;
        padding: 0 1.2rem;
        justify-content: flex-start;

        .contact-text {
          opacity: 1;
          width: auto;
          margin-left: 0.6rem;
        }
      }
    }
  }

  /* Tablet and Mobile: Position above logo and icons-only */
  @media (max-width: 991px) {
    position: relative;
    flex-direction: row;
    justify-content: center;
    padding: 1rem 0 2rem 0;
    top: auto;
    right: auto;

    .contact-item {
      .contact-text {
        display: none;
      }

      &:hover {
        width: 44px;
        padding: 0;
        justify-content: center;
      }
    }
  }

  @media (max-width: 576px) {
    padding: 0 0 1.5rem 0;
    gap: 0.75rem;

    .contact-item {
      height: 40px;
      width: 40px;

      &:hover {
        width: 40px;
      }
    }
  }
}


/* subsequent content for the landing page */
.bg-next-section {
  background-color: #e2dacb;
}
