﻿body {
  min-height: 100dvh;
}

.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;
      }
    }
  }
}
