@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --bg-color: #0a0f1f;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --primary: #ef4444; /* Changed from blue to red */
  --primary-hover: #dc2626; /* Changed from blue to red */
  --secondary: #22c55e;
  --secondary-hover: #16a34a;
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4); /* Updated to match red */
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6); /* Updated to match red */
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

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

.btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 0;
  background: rgba(10, 15, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

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

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 15, 31, 0.4) 0%, rgba(10, 15, 31, 1) 100%), url('images/photo-1517004455828-568eb4c7188b.png') center/cover;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

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

/* Section Styling */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
}

/* Hotel Cards */
.hotel-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.hotel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255,255,255,0.2);
}

.card-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hotel-card:hover .card-img img {
  transform: scale(1.08);
}

.price-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
}

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

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.location {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.card-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.9rem;
}

/* Hotel Detail Page */
.page-header {
  padding: 150px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(10,15,31,0.8), var(--bg-color));
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hotel-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 15px;
  margin-bottom: 50px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
}

.gallery-item.main {
  grid-row: span 2;
}

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

.hotel-details-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.main-desc h2 {
  margin-bottom: 20px;
  color: var(--primary);
}

.main-desc p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.amenities-list li svg {
  fill: var(--secondary);
  width: 20px;
  height: 20px;
}

.booking-sidebar {
  padding: 30px;
  position: sticky;
  top: 100px;
}

.booking-sidebar h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.price-display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.price-display span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Guide Page */
.guide-section {
  margin-bottom: 60px;
}

.guide-card {
  padding: 30px;
  margin-bottom: 30px;
}

.guide-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Contact Form */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.legal-content h2 {
  margin: 30px 0 15px;
  color: var(--primary);
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-muted);
  list-style: disc;
}

/* Footer */
.footer {
  background: rgba(5, 8, 15, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.address-block {
  margin-bottom: 20px;
}

.address-block strong {
  display: block;
  color: var(--primary);
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 3rem; }
  .hotel-details-content { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 31, 0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; }
  .hotel-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item.main { grid-row: auto; height: 250px; }
  .gallery-item:not(.main) { height: 150px; }
  .footer-grid { grid-template-columns: 1fr; }
}