/* RESET & VARIABLES */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #d97706;
  --accent-hover: #b45309;
  --gold: #f59e0b;
  --bg-light: #f8fafc;
  --text: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: #fff;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

/* LAYOUT & CONTAINERS */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.p-4 {
  padding: 30px;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--primary);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #eab308;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 60px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.85), rgba(15,23,42,0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid var(--accent);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* PAGE HEADER */
.page-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  color: #94a3b8;
}

/* CARDS & FEATURES */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ROOM CARDS */
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.room-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.room-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.room-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

.price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price strong {
  font-size: 1.2rem;
  color: var(--primary);
}

/* CTA BANNER */
.cta-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-banner p {
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

/* VISITE & GALLERY */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);
  color: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.check-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

/* CONTACT & FORMS */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card h2 {
  font-family: var(--font-heading);
  color: var(--primary);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  font-size: 1.5rem;
  background: #f1f5f9;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}

.faq-item p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* REVIEWS PAGE */
.rating-summary-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow);
}

.score-box {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 40px;
}

.score {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--gold);
}

.stars-gold {
  color: var(--gold);
  font-size: 1.2rem;
  margin: 5px 0;
}

.star-rating-selector span {
  font-size: 1.8rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating-selector span.selected,
.star-rating-selector span:hover {
  color: var(--gold);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.reviewer-name {
  font-weight: 600;
  color: var(--primary);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-card h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 8px;
}

.review-card p {
  color: var(--text);
  font-size: 0.95rem;
}

/* FOOTER */
.footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 60px 0 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3, .footer h4 {
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 15px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 0.85rem;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

.modal h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .rating-summary-card {
    flex-direction: column;
    text-align: center;
  }

  .score-box {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-right: 0;
    padding-bottom: 20px;
  }
}
/* ============================================================
   ENHANCED MICRO-INTERACTIONS & MOTION (GSAP & LUXURY DESIGN)
   ============================================================ */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Subtle glassmorphism on navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
  padding: 8px 0;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Nav Links hover micro-motion */
.nav-link {
  position: relative;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  transform: translateY(-2px);
  color: var(--gold);
}

/* Buttons Luxury Motion */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.3);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

/* Cards Motion & Hover Lift */
.feature-card, .room-card, .review-card, .contact-card, .card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  will-change: transform;
}

.feature-card:hover, .room-card:hover, .review-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
}

/* Room image zoom effect */
.room-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.room-card:hover .room-img {
  transform: scale(1.06);
}

/* Footer links animation */
.footer a {
  transition: all 0.25s ease;
  display: inline-block;
}

.footer a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

/* Hero Badge Glow */
.badge {
  animation: pulseBadge 3s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

/* Section JSON Styling */
.json-content {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f8fafc;
  padding: 50px 30px;
  border-radius: var(--radius);
  margin: 60px auto;
  max-width: 1200px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
}

.json-content h2 {
  font-family: var(--font-heading);
  color: var(--gold);
  margin-bottom: 15px;
}

.json-content .code-example {
  background: #090d16;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.json-content h3 {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.json-content pre {
  color: #38bdf8;
  font-family: 'Courier New', Courier, monospace;
  overflow-x: auto;
}

/* ============================================================
   SOBRE & LUXURY REFINEMENT FOR AVIS.HTML
   ============================================================ */

/* Page Header Subtle Gradient */
.page-header {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  padding: 90px 0 60px;
  text-align: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(217, 119, 6, 0.15), transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Rating Summary Card - Haute Horlogerie & Hôtellerie Minimaliste */
.rating-summary-card {
  background: #ffffff;
  color: var(--primary);
  border-radius: 16px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  position: relative;
}

.score-box {
  text-align: center;
  border-right: 1px solid #e2e8f0;
  padding-right: 50px;
  min-width: 180px;
}

.score {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #0f172a;
  line-height: 1;
}

.max-score {
  font-size: 1.2rem;
  color: #94a3b8;
  font-weight: 500;
}

.stars-gold {
  color: #d97706;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin: 8px 0;
}

.total-reviews {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.rating-details h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.rating-details p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}

/* Review Cards - Sobre & Pro */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card {
  background: #ffffff;
  padding: 28px 32px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.07);
  border-color: #cbd5e1;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.reviewer-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.reviewer-name {
  font-weight: 600;
  color: #0f172a;
  font-size: 1rem;
}

.review-date {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.review-card h4 {
  font-family: var(--font-heading);
  color: #1e293b;
  font-size: 1.15rem;
  margin: 10px 0 8px 0;
}

.review-card p {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Formulaire d'avis - Design Épuré */
.review-form-card {
  background: #ffffff;
  padding: 35px 40px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -3px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

.review-form-card h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.review-form-card .subtitle {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.25s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.star-rating-selector {
  display: flex;
  gap: 8px;
}

.star-rating-selector span {
  font-size: 1.9rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}

.star-rating-selector span:hover {
  transform: scale(1.15);
}

.star-rating-selector span.selected,
.star-rating-selector span:hover {
  color: #d97706;
}

/* ============================================================
   HAUTE HÔTELLERIE NAVBAR REFINEMENT (GSAP READY)
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

body {
  padding-top: 76px;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(11, 17, 32, 0.94);
  border-bottom: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 1.1rem;
  transition: all 0.35s ease;
}

.logo:hover .logo-icon {
  transform: rotate(12deg) scale(1.1);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  border-color: var(--gold);
}

.logo-text {
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 24px;
}

.nav-link.active {
  color: var(--gold);
  background-color: rgba(245, 158, 11, 0.1);
}

/* Navigation CTA Button */
.nav-menu .btn-book-trigger {
  margin-left: 10px;
  padding: 9px 22px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #d97706, #b45309);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.nav-menu .btn-book-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.5);
  border-color: var(--gold);
}

/* Hamburger Toggle for Mobile */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 25px 20px;
    gap: 12px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 1.05rem;
  }

  .nav-menu .btn-book-trigger {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    padding: 12px 0;
  }
}

/* ============================================================
   NAVBAR ALIGNMENT & VERTICAL BALANCING OVERRIDE
   ============================================================ */

.navbar {
  padding: 16px 0 !important;
}

.nav-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 8px 18px !important;
  line-height: 1 !important;
  color: #cbd5e1 !important;
  border-radius: 20px !important;
  margin-top: 6px !important;
  transform: none !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  transform: translateY(1px) !important;
}

.nav-link.active {
  color: var(--gold) !important;
  background-color: rgba(245, 158, 11, 0.12) !important;
}

.nav-menu .btn-book-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 14px !important;
  margin-top: 6px !important;
  padding: 9px 22px !important;
  line-height: 1 !important;
}

/* ============================================================
   AMONG US CREWMATE (INTERACTIVE EASTER EGG)
   ============================================================ */
#among-us-crewmate {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 70px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
}

#among-us-crewmate:hover {
  transform: scale(1.15) translateY(-5px);
}

.crewmate-body {
  position: relative;
  width: 44px;
  height: 52px;
  background: #c51111;
  border: 3px solid #000;
  border-radius: 22px 22px 14px 14px;
  box-shadow: inset -5px -5px 0px rgba(0, 0, 0, 0.25);
}

#among-us-crewmate.impostor .crewmate-body {
  background: #111;
  border-color: #ff0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

.crewmate-backpack {
  position: absolute;
  top: 12px;
  left: -12px;
  width: 14px;
  height: 32px;
  background: #c51111;
  border: 3px solid #000;
  border-right: none;
  border-radius: 8px 0 0 8px;
  box-shadow: inset -2px -3px 0px rgba(0, 0, 0, 0.25);
}

#among-us-crewmate.impostor .crewmate-backpack {
  background: #111;
  border-color: #ff0000;
}

.crewmate-visor {
  position: absolute;
  top: 10px;
  right: -5px;
  width: 28px;
  height: 18px;
  background: #71d5eb;
  border: 3px solid #000;
  border-radius: 12px;
  box-shadow: inset -3px -3px 0px #38a5c2, inset 3px 3px 0px #ffffff;
}

#among-us-crewmate.impostor .crewmate-visor {
  background: #ff2222;
  border-color: #000;
  box-shadow: inset -3px -3px 0px #880000, inset 3px 3px 0px #ffaaaa;
}

.crewmate-legs {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.crewmate-leg {
  width: 16px;
  height: 16px;
  background: #c51111;
  border: 3px solid #000;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

#among-us-crewmate.impostor .crewmate-leg {
  background: #111;
  border-color: #ff0000;
}

.crewmate-bubble {
  position: absolute;
  bottom: 80px;
  right: 0;
  background: #0f172a;
  color: #fff;
  border: 2px solid #d4af37;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   MOMO SCREAMER / MONSTER MODAL OVERLAY
   ============================================================ */
#momo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: momoShake 0.15s infinite;
}

#momo-overlay.active {
  display: flex;
}

.momo-box {
  text-align: center;
  position: relative;
}

.momo-box img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 16px;
  border: 5px solid #ff0000;
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.9);
  animation: momoPulse 0.3s infinite alternate;
}

.momo-text {
  color: #ff0000;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-top: 20px;
  text-shadow: 0 0 20px #000, 0 0 10px #ff0000;
  letter-spacing: 2px;
}

.momo-close-tip {
  color: #fff;
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0.7;
}

@keyframes momoShake {
  0% { transform: translate(2px, 1px) rotate(0deg); }
  25% { transform: translate(-2px, -2px) rotate(-1deg); }
  50% { transform: translate(-3px, 0px) rotate(1deg); }
  75% { transform: translate(3px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -1px) rotate(1deg); }
}

@keyframes momoPulse {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.05); filter: brightness(1.3) contrast(1.2); }
}
