/* ===== Base & Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Geometric Shapes ===== */
.geo-shape {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}

.geo-circle-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.3) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  opacity: 0.15;
}

.geo-circle-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
  bottom: 10%;
  left: -50px;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid rgba(45, 212, 191, 0.15);
  top: 20%;
  left: 5%;
  transform: rotate(-15deg);
  opacity: 0.4;
}

.geo-square-1 {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(45, 212, 191, 0.2);
  top: 30%;
  right: 8%;
  transform: rotate(45deg);
  opacity: 0.5;
}

.geo-dots {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(45, 212, 191, 0.3) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  bottom: 15%;
  right: 15%;
  opacity: 0.5;
}

.geo-hex-1 {
  width: 400px;
  height: 400px;
  border: 2px solid rgba(45, 212, 191, 0.06);
  border-radius: 30px;
  transform: rotate(45deg);
  top: 50%;
  left: 50%;
  margin-left: -200px;
  margin-top: -200px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-up-delay {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-slide-up-delay-2 {
  animation: slideUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.animate-scroll-line {
  animation: scrollLine 1.5s ease-in-out infinite;
  transform-origin: top;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ===== Navbar ===== */
#navbar.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-blur-xl;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0;
  padding-bottom: 0;
}

#navbar.scrolled .py-5 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* ===== Mobile Menu ===== */
#mobile-menu {
  animation: fadeIn 0.3s ease-out;
}

/* ===== Selection ===== */
::selection {
  background: rgba(45, 212, 191, 0.3);
  color: white;
}

/* ===== Custom scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0d9488;
}

/* ===== Form selects ===== */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ===== Smooth hover for room cards ===== */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}
