:root {
  /* Dark Theme Colors (from your static CSS) */
  --bg-color: #050816;
  --text-color: #ffffff;
  --muted: #9ea3b0;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);

  /* Accent Colors (kept from hostel CSS for consistency) */
  --primary: #5DADE2;
  --primary-dark: #3498DB;
  --danger: #e74c3c;
  --success: #27ae60;
  --yellow: #facc15; /* For highlights like prices/tags */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-color); /* Fixed typo from your snippet */
  color: var(--text-color);
  line-height: 1.6;
  padding-bottom: 80px; /* Space for fixed logout - DO NOT REMOVE */
  overflow-x: hidden;
}

/* ===== NAVIGATION (Position preserved) ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 22, 0.85);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-color);
  letter-spacing: 1px;
}
.logo span {
  color: var(--yellow);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.95rem;
}

nav a:hover,
nav a.active {
  color: var(--yellow);
}

/* ===== AUTH PAGES (Structure preserved, glass style applied) ===== */
.auth-container {
  max-width: 400px;
  margin: 4rem auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.auth-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== BUTTONS (Light blue + hover, preserved positioning) ===== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(93, 173, 226, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== MESSAGES ===== */
.msg {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
}

.msg.success {
  background: rgba(39, 174, 96, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.msg.error {
  background: rgba(231, 76, 60, 0.15);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.link a {
  color: var(--primary);
  text-decoration: none;
}

.link a:hover {
  color: var(--yellow);
}

/* ===== MAIN CONTENT (Structure preserved) ===== */
main {
  padding: 6rem 2rem 2rem; /* Top padding for fixed header */
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--text-color);
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--muted);
}

/* ===== GRID & CARDS (Glassmorphism applied, layout unchanged) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255,255,255,0.2);
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
  margin: 0.5rem 0;
}

/* ===== GALLERY ===== */
.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
}

/* ===== CONTACT SECTION (Layout preserved, dark style applied) ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-info h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
  margin: 0.5rem 0;
}

.contact-info strong {
  color: var(--text-color);
}

/* ===== FIXED LOGOUT (Position preserved - BOTTOM RIGHT) ===== */
.fixed-logout {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 0.95rem;
}

.fixed-logout:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 20px #fad608;
}

/* ===== RESPONSIVE (Breakpoints preserved, dark theme maintained) ===== */
@media (max-width: 900px) {
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav ul {
    justify-content: center;
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding: 5rem 1.5rem 2rem;
  }
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .auth-container {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ===== EXTRA: Hero Section Support (if you add one later) ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
  background:
    linear-gradient(to bottom, rgba(5,8,22,0.7), rgba(5,8,22,0.95)),
    url('../images/general/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 700px;
  padding: 2rem;
}

.tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero h1 span {
  color: var(--yellow);
}

.hero p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats cards (if used) */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
}

.stat-card h2 {
  color: var(--yellow);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {ss
  .stats {
    grid-template-columns: 1fr;
  }
}
