@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary-yellow: #f9d301;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
/* Font families */
.font-heading {
  font-family: 'Playfair Display', serif;
}
.font-inter {
  font-family: 'Inter', sans-serif;
}

/* General text colors */
.bg-yellow {
  background-color: var(--primary-yellow);
}

/* Buttons */
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(249, 211, 1, 0.3);
  background-color: #ffdf33; /* slightly brighter on hover */
}

/* Navbar */
#navbar {
  background-color: var(--primary-yellow);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5); /* deeper, more defined shadow */
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
.nav-link {
  color: #000;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
  font-size: 16px;
  font-weight: 800;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after {
  width: 100%;
}

/* Section Headings */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}
.section-subheading {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  position: relative;
  display: inline-block;
}

/* === Optional: Make underline animate into view with AOS === */
[data-aos='fade-up'] .section-heading::after {
  transition-delay: 0.3s;
}

/* Inputs */
.input {
  border: 1px solid #ccc;
  padding: 0.75rem;
  border-radius: 0.5rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.input:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 5px rgba(249, 211, 1, 0.4);
}

/* Cards */
.card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Animate Gradient */

/* Glow Button */

/* Room Cards */

/* Curves */
.curve-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.yellow-top::before,
.white-top::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: transparent;
  clip-path: ellipse(70% 100% at 50% 100%);
}
.yellow-top::before {
  background-color: #f9d301;
}
.white-top::before {
  background-color: #fff;
}

/* Scroll Animations */

/* Fade-up Animation */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-up {
  animation: fade-up 1.2s ease-out forwards;
}

/* Swiper pagination styling */

/* Custom button */
.btn-primary {
  position: relative;
  display: inline-block;
  padding: 14px 36px;
  background-color: #f9d301;
  color: #000;
  font-weight: 600;
  border-radius: 9999px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(249, 211, 1, 0.3);
}
.custom-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.5);
  color: var(--primary-yellow);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-swiper-btn:hover {
  background: var(--primary-yellow);
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(249, 211, 1, 0.6);
}

.swiper-button-prev {
  left: 30px;
}

.swiper-button-next {
  right: 30px;
}

/* Hide default Swiper arrows */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
#footer iframe {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
}
#contact iframe:hover {
  transform: scale(1.02);
}
.curve-top {
  position: relative;
  overflow: hidden;
}

/* The magic — pseudo element that adds the SVG curve */
.bg-yellow.curve-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'>\<path d='M0,0V27.35C151.58,56.38,331.69,82.57,517.29,83.21,725.94,83.94,908.46,48.71,1200,0V0Z' fill='%23ffffff'/>\</svg>");
}
.bg-white.curve-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'>\<path d='M1200,0V27.35C1048.42,56.38,868.31,82.57,682.71,83.21,474.06,83.94,291.54,48.71,0,0V0Z' fill='%23f9d301'/>\</svg>");
}
.bg-black.curve-top::before,
.bg-neutral-900.curve-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'>\<path d='M1200,0V27.35C1048.42,56.38,868.31,82.57,682.71,83.21,474.06,83.94,291.54,48.71,0,0V0Z' fill='%23ffffff'/>\</svg>");
}
.group:hover img:not(:hover) {
  opacity: 0.6;
  transform: scale(0.95);
  transition: all 0.4s ease;
}
