/* CSS Variables */
:root {
  --primary: #292b2e;
  --secondary: #d38225;
  --accent: #eb6e08;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --red: #f00b0b;
  --light-gray: #e9ecef;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.15);
  --border-radius: 10px;
}

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

.gallery-item video {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
  }

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  z-index: -1;
  transform: translateY(100%);
  transition: var(--transition);
}

.btn:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn:hover::after {
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* Page container for multi-page simulation */
#page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Admin Dashboard */
#admin-dashboard {
  display: none;
  min-height: 100vh;
  background: var(--light);
  padding-top: 120px;
}

.admin-header {
  background: linear-gradient(to right, var(--primary), #f00b0b);
  color: white;
  padding: 40px 0;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: sticky;
}

.admin-container {
  padding: 40px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

.admin-sidebar {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 25px;
  height: fit-content;
}

.admin-sidebar h3 {
  color: var(--primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

.admin-nav ul {
  list-style: none;
}

.admin-nav li {
  margin-bottom: 15px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--dark);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(26, 58, 95, 0.1);
  color: var(--primary);
}

.admin-nav a i {
  margin-right: 12px;
  width: 24px;
  text-align: center;
}

.admin-content {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-section-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary);
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.bookings-table th,
.bookings-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.bookings-table th {
  background-color: rgba(26, 58, 95, 0.05);
  color: var(--primary);
  font-weight: 600;
}

.bookings-table tr:hover {
  background-color: rgba(212, 175, 55, 0.05);
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-confirmed {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-cancelled {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.action-btn {
  padding: 8px 15px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  margin-right: 5px;
}

.btn-view {
  background: rgba(26, 58, 95, 0.1);
  color: var(--primary);
}

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

.btn-edit {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.btn-edit:hover {
  background: #ffc107;
  color: white;
}

.btn-cancel {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.btn-cancel:hover {
  background: #dc3545;
  color: white;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  margin: -13px;
}

.logo span {
  color: var(--red);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: var(--transition);
  font-size: 16px;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary);
}

.language-switcher {
  margin-left: 30px;
  position: relative;
}

.language-switcher select {
  padding: 10px 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  background-color: white;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(177, 4, 4, 0.8)),
    url("/image/image02.png") center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 1000%
  );
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 4.5rem;
  margin-bottom: 25px;
  animation: fadeInDown 3s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  animation: fadeInUp 3s;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.btn-secondary::after {
  background: var(--secondary);
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text h3 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary);
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--secondary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Rooms Section */
.rooms {
  background: linear-gradient(to bottom, var(--light), #f0f2f5);
  position: relative;
}

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

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

.section-header .btn::after {
  background: var(--secondary);
}

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

.room-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.room-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.room-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--primary);
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
}

.room-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

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

.room-details {
  padding: 30px;
}

.room-details h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.room-price {
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.room-features {
  list-style: none;
  margin-bottom: 30px;
  border-top: 1px solid var(--light-gray);
  padding-top: 20px;
}

.room-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.room-features li i {
  color: var(--secondary);
  margin-right: 12px;
  font-size: 18px;
}

/* Booking Page */
#booking-page {
  display: block;
  min-height: 100vh;
  background: var(--light);
}

.booking-hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(177, 4, 4, 0.8)),
    url("/image/image02.png") center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  margin-bottom: 80px;
}

.booking-hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
}

.booking-form-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.booking-steps {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--light-gray);
}

.step {
  padding: 15px 30px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.step.active {
  color: var(--primary);
}

.step.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary);
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  background-color: white;
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

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

.form-submit {
  margin-top: 30px;
}

.booking-summary {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.summary-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary);
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--light-gray);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item h4 {
  font-size: 1.1rem;
  color: var(--dark);
}

.summary-item p {
  color: var(--gray);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--light-gray);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.booking-details {
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-top: 30px;
}

.booking-details h4 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Gallery Section */
.gallery {
  background: linear-gradient(to bottom, #f0f2f5, var(--light));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

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

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

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

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: var(--transition);
  padding: 30px;
}

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

.overlay-content {
  transform: translateY(30px);
  transition: var(--transition);
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h4 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.8);
}

/* Reviews Section */
.reviews-container {
  max-width: 900px;
  margin: 0 auto;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin: 0 20px;
  min-width: calc(100% - 40px);
  transition: var(--transition);
  position: relative;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.review-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid var(--secondary);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-info h4 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.review-date {
  color: var(--gray);
  font-size: 14px;
}

.review-rating {
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 20px;
}

.review-content {
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
  color: var(--dark);
}

.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 15px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.review-form {
  background: var(--light);
  padding: 50px;
  border-radius: var(--border-radius);
  margin-top: 60px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.rating {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 5px;
}

.rating input {
  display: none;
}

.rating label {
  font-size: 32px;
  color: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.rating input:checked ~ label {
  color: #ddd;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked + label,
.rating input:checked ~ label {
  color: var(--secondary);
}

.form-group textarea {
  width: 100%;
  padding: 20px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 16px;
  min-height: 150px;
  transition: var(--transition);
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 80px 0 30px;
  position: relative;
  margin-top: auto;
}

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

.footer-column h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 12px;
  width: 24px;
  color: var(--secondary);
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
  font-size: 18px;
}

.social-links a:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-5px);
}

.newsletter-form {
  display: flex;
  margin-top: 25px;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-size: 16px;
}

.newsletter-form button {
  padding: 0 25px;
  background-color: var(--secondary);
  color: var(--primary);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #e6c447;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  color: #aaa;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h2 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 3rem;
  }

  .section-padding {
    padding: 80px 0;
  }

  .booking-container {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
    padding-bottom: 80px;
  }

  .language-switcher {
    margin: 15px 0;
  }

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

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .booking-steps {
    flex-direction: column;
  }

  .step {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .booking-form-container {
    padding: 25px;
  }

  .review-form {
    padding: 30px;
  }

  .review-card {
    padding: 30px;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Additional Styles */
/* Flash messages */
.flash-message {
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  transition: opacity 0.5s ease;
}
.flash-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.flash-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Error messages for client-side validation */
.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

/* Modal styles */
#admin-login-modal,
#view-booking-modal,
#edit-booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
/* Header */
.user-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 50px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
}

.user-info h4 {
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

/* Dashboard Content */
.dashboard-content {
  padding: 30px;
}

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

.section-title {
  font-size: 22px;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

/* Dashboard Cards */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.dashboard-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.dashboard-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.card-1 .card-icon {
  background: rgba(26, 58, 95, 0.1);
  color: var(--primary);
}
.card-2 .card-icon {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.card-3 .card-icon {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}
.card-4 .card-icon {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.card-content h3 {
  font-size: 28px;
  margin-bottom: 5px;
}

.card-content p {
  color: var(--gray);
  font-size: 14px;
}

/* Bookings Table */
.bookings-table-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.search-box {
  position: relative;
  width: 300px;
}

.search-box input {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 14px;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.table-actions {
  display: flex;
  gap: 10px;
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
}

.bookings-table th,
.bookings-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.bookings-table th {
  background-color: rgba(26, 58, 95, 0.03);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.bookings-table tr:hover {
  background-color: rgba(212, 175, 55, 0.03);
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-confirmed {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-cancelled {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.status-checkedin {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.action-btn {
  padding: 8px 12px;
  border-radius: var(--border-radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  margin-right: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-view {
  background: rgba(26, 58, 95, 0.1);
  color: var(--primary);
}

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

.btn-edit {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.btn-edit:hover {
  background: #ffc107;
  color: white;
}

.btn-cancel {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.btn-cancel:hover {
  background: #dc3545;
  color: white;
}

/* Booking Detail View */
.booking-detail-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: none;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.detail-title {
  font-size: 22px;
  color: var(--primary);
}

.booking-id {
  color: var(--gray);
  font-size: 16px;
  margin-top: 5px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.detail-card {
  margin-bottom: 25px;
}

.detail-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

.detail-item {
  display: flex;
  margin-bottom: 15px;
}

.detail-label {
  width: 150px;
  color: var(--gray);
  font-size: 14px;
}

.detail-value {
  flex: 1;
  font-weight: 500;
}

.special-requests {
  background: rgba(26, 58, 95, 0.05);
  border-radius: var(--border-radius);
  padding: 15px;
  margin-top: 10px;
}

/* Edit Booking Form */
.edit-booking-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: none;
}

.edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  background-color: white;
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
  min-height: 100px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

/* Responsive Design */
@media (max-width: 992px) {
  .sidebar {
    width: 220px;
  }
  .main-content {
    margin-left: 220px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 70px;
    padding: 20px 0;
  }
  .logo h1 span,
  .admin-nav a span {
    display: flex;
  }
  .logo {
    padding: 0 15px 20px;
  }
  .admin-nav a {
    justify-content: center;
    padding: 15px;
  }
  .admin-nav a i {
    font-size: 20px;
  }
  .main-content {
    margin-left: 70px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .edit-form {
    grid-template-columns: 1fr;
  }
  .table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .search-box {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
  .bookings-table {
    display: block;
    overflow-x: auto;
  }
  .user-info {
    display: none;
  }
}
