@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@500;700;800&display=swap');

:root {
  --bg: #0f1724;
  --bg-soft: #1e293b;
  --card-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);

  --primary: #06b6d4;
  --secondary: #7c3aed;
  --accent: #f472b6;

  --text-main: #e6eef8;
  --text-muted: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 10% 10%, rgba(6, 182, 212, 0.05), transparent),
    radial-gradient(900px 450px at 90% 90%, rgba(124, 58, 237, 0.05), transparent);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #fff;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--card-bg);
  border-color: var(--primary);
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Glass Card */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Navbar Placeholder Styles (will implement fully in JS/HTML) */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background 0.3s, padding 0.3s;
}

nav.scrolled {
  background: rgba(15, 23, 36, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.logo {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  background: rgba(15, 23, 36, 0.8);
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 2000;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Mobile Menu Active State (Hamburger Animation) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(15, 23, 36, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease-in-out;
    z-index: 1500;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  /* Hide the 'Book Now' button in the header on mobile to save space, 
     or we could move it inside the menu via JS, but for now let's just 
     ensure the layout doesn't break. 
     We'll hide the desktop button and rely on links. 
  */
  nav .btn-primary {
    display: none;
  }
}

/* Lightbox Styles */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#lightbox-content {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  display: block;
  /* Removes bottom space */
}

#lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  transition: transform 0.2s, color 0.2s;
  font-family: var(--font-body);
  /* For consistent "X" */
  line-height: 1;
}

#lightbox-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* Loader Styles */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.8s ease-out, visibility 0.8s ease-out;
}

#loader-logo {
  width: 100%;
  max-width: none;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  /* Ensure logo stays visible even if overlay background fades */
}

.logo-hidden {
  visibility: hidden;
  opacity: 0;
}