/* ===== BASE & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
  width: 300px;
  height: 300px;
  background: rgba(212, 160, 23, 0.08);
  bottom: 10%;
  left: -80px;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(232, 184, 40, 0.06) 0%, transparent 60%);
  bottom: -300px;
  right: -200px;
  animation: float-slow 25s ease-in-out infinite;
}

.geo-circle--4 {
  width: 500px;
  height: 500px;
  background: rgba(15, 43, 76, 0.08);
  top: -200px;
  left: -100px;
  animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-rect {
  position: absolute;
  pointer-events: none;
}

.geo-rect--1 {
  width: 200px;
  height: 200px;
  background: rgba(212, 160, 23, 0.06);
  top: 20%;
  left: 5%;
  transform: rotate(45deg);
  animation: spin-slow 30s linear infinite;
}

.geo-rect--2 {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.03);
  bottom: 15%;
  right: 10%;
  transform: rotate(30deg);
  animation: spin-slow 25s linear infinite reverse;
}

.geo-tri {
  position: absolute;
  pointer-events: none;
}

.geo-tri--1 {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid rgba(212, 160, 23, 0.07);
  top: 30%;
  right: 15%;
  animation: float-slow 12s ease-in-out infinite;
}

.geo-tri--2 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(15, 43, 76, 0.1);
  bottom: 10%;
  left: 20%;
  animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ===== ANIMATIONS ===== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scroll-dot {
  0% { transform: translateY(-10px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.scroll-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: scroll-dot 2s ease-in-out infinite;
}

/* ===== HERO ANIMATIONS ===== */
.hero-fade {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-fade:nth-child(1) { animation-delay: 0.1s; }
.hero-fade:nth-child(2) { animation-delay: 0.25s; }
.hero-fade:nth-child(3) { animation-delay: 0.4s; }
.hero-fade:nth-child(4) { animation-delay: 0.55s; }
.hero-fade:nth-child(5) { animation-delay: 0.7s; }

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

.hero-img-group {
  opacity: 0;
  transform: translateX(40px);
  animation: heroImgIn 1s ease 0.4s forwards;
}

@keyframes heroImgIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.nav-logo-text {
  transition: color 0.4s ease;
}

#navbar.scrolled .nav-logo-text {
  color: #0f2b4c;
}

#navbar.scrolled {
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 43, 76, 0.08);
}

/* ===== ROOM CARDS ===== */
.room-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.room-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.room-card:hover {
  transform: translateY(-6px) !important;
}

/* ===== ABOUT ANIMATIONS ===== */
.about-images {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.about-images.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-text {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}

.about-text.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== ROOMS HEADER ===== */
.rooms-header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rooms-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.rooms-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.rooms-fade.visible {
  opacity: 1;
}

/* ===== EXPERIENCE ===== */
.experience-text {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.experience-text.visible {
  opacity: 1;
  transform: translateX(0);
}

.experience-images {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}

.experience-images.visible {
  opacity: 1;
  transform: translateX(0);
}

.experience-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.experience-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== LOCATION ===== */
.location-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.location-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.location-map {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.location-map.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CTA ===== */
.cta-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTACT ===== */
.contact-info {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.visible {
  opacity: 1;
  transform: translateX(0);
}

.contact-form-wrap {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.contact-form-wrap.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== MOBILE MENU ===== */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .geo-circle--1 {
    width: 300px;
    height: 300px;
  }

  .geo-circle--3 {
    width: 400px;
    height: 400px;
  }

  .geo-rect--1 {
    width: 100px;
    height: 100px;
  }

  .geo-tri--1 {
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(212, 160, 23, 0.07);
  }
}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible {
  outline: 2px solid #d4a017;
  outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(212, 160, 23, 0.25);
  color: #0f2b4c;
}
