@tailwind base;
@tailwind components;
@tailwind utilities;

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Ubuntu', sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #FFFFFF;
  color: #1c1917;
  font-size: 16px;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
}

.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ridge-burger {
  position: relative;
  width: 20px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.ridge-line {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 99px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-open .ridge-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.burger-open .ridge-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-open .ridge-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.header-pill {
  width: 85% !important;
  top: 20px !important;
  border-radius: 9999px !important;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-link-stagger {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-open .menu-link-stagger {
  opacity: 1;
  transform: translateY(0);
}

::selection {
  background-color: #A30000;
  color: #ffffff;
}

/* Animations from Hero */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scrolled Header Navigation Links */
.header-pill a[href*=".html"] {
  color: #57534e !important;
  /* stone-600 for better contrast on white */
}

.header-pill a[href*=".html"]:hover {
  color: #A30000 !important;
  /* primary color on hover */
}

.header-pill a[href*=".html"].text-primary {
  color: #A30000 !important;
  /* keep active link primary */
}

/* Packages Page Hero Animations */
@keyframes slow-zoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

.animate-slow-zoom {
  animation: slow-zoom 20s ease-in-out infinite alternate;
}

.animate-scroll {
  animation: scroll 1.5s ease-in-out infinite;
}