/* ----------------------------------------
   Base & Utility
---------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  background-color: #1a1a1a;
  color: white;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ----------------------------------------
   Header & Footer
---------------------------------------- */
header, footer {
  background: #121212;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  margin-left: 2rem;
  font-weight: 500;
  color: white;
}

nav a:hover {
  color: #00d4ff;
}

/* ----------------------------------------
   Hero Section
---------------------------------------- */
.hero {
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 900;
}

.hero p {
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #00d4ff;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #00b3d6;
}

/* ----------------------------------------
   Section Titles
---------------------------------------- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #aaa;
  margin-bottom: 2rem;
}

/* ----------------------------------------
   Services
---------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: #00d4ff;
}

/* ----------------------------------------
   Testimonials
---------------------------------------- */
.testimonial {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.testimonial img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-content {
  max-width: 700px;
}

.testimonial-name {
  font-weight: bold;
}

.testimonial-date {
  color: #aaa;
  font-size: 0.85rem;
}

/* ----------------------------------------
   Contact Form
---------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: #333;
  color: white;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button {
  align-self: flex-start;
  background: #00d4ff;
  color: black;
  font-weight: bold;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #00b3d6;
}

/* ----------------------------------------
   Forms & Tables
---------------------------------------- */
.form-section {
  background: #222;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0 1rem;
  border: none;
  border-radius: 6px;
  background: #2e2e2e;
  color: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

th {
  background: #333;
  color: #00d4ff;
}

td {
  background: #2a2a2a;
}

/* Booking Status Tags */
.status-booked {
  color: #ffd700;
  font-weight: bold;
}
.status-confirmed {
  color: #00ff88;
  font-weight: bold;
}
.status-cancelled {
  color: #ff4c4c;
  font-weight: bold;
}
.status-pending {
  color: #ffaa00;
  font-weight: bold;
}

/* ----------------------------------------
   Auth System
---------------------------------------- */
.auth-container {
  max-width: 420px;
  margin: 4rem auto;
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.auth-tabs {
  display: flex;
  margin-bottom: 1.5rem;
}

.auth-tabs button {
  flex: 1;
  padding: 1rem;
  background: #444;
  color: #ccc;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.auth-tabs button.active {
  background: #00d4ff;
  color: #000;
}

.auth-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.auth-form input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: white;
}

.auth-form button {
  width: 100%;
  background: #00d4ff;
  border: none;
  color: #000;
  padding: 0.75rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.auth-form button:hover {
  background: #00b3d6;
}

.message {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
}

.message.error {
  color: #ff4c4c;
}

.message.success {
  color: #00ff88;
}

/* ----------------------------------------
   Room Cards
---------------------------------------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.room-card {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #333;
}

.room-card h3 {
  color: #00d4ff;
  margin-bottom: 0.5rem;
}

.room-card p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.room-card button {
  width: 100%;
  padding: 0.6rem;
  background: #00d4ff;
  border: none;
  color: black;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.room-card button:hover {
  background: #00b3d6;
}

/* ----------------------------------------
   Chart Bars (Admin)
---------------------------------------- */
.chart-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
  height: 200px;
  margin-top: 2rem;
}

.chart-bar .bar {
  width: 80px;
  background-color: #00d4ff;
  color: black;
  font-weight: bold;
  text-align: center;
  border-radius: 6px;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 768px) {
  nav a {
    margin-left: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .testimonial {
    flex-direction: column;
    align-items: flex-start;
  }
}
