:root {
  --bg-main: #0f0f0f;
  --bg-sec: #1a1a1a;
  --accent-red: #e63946;
  --accent-red-dark: #c1121f;
  --accent-yellow: #ffb703;
  --accent-orange: #f77f00;
  --text-main: #ffffff;
  --text-sec: #bdbdbd;
  --gradient-primary: linear-gradient(135deg, var(--accent-red), var(--accent-yellow));
  --gradient-secondary: linear-gradient(135deg, var(--accent-red-dark), var(--accent-orange));
  --glass-bg: rgba(26, 26, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-main: 16px;
  --radius-sm: 12px;
  --shadow-glow: 0 8px 32px rgba(230, 57, 70, 0.2);
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-sec);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Layout utilities */
.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-sec);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--accent-yellow);
}

.btn-secondary:hover {
  background: rgba(255, 183, 3, 0.1);
}

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

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

.hero-content {
  z-index: 2;
}

.hero-form {
  margin-top: 40px;
  background: var(--bg-sec);
  padding: 30px;
  border-radius: var(--radius-main);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-sec);
}

.form-control {
  background: var(--bg-main);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 12px 15px;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-red);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-main);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  height: 600px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-main), transparent 50%);
}

/* Grids & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.card {
  background: var(--bg-sec);
  border-radius: var(--radius-main);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

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

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

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

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

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-yellow);
  border: 1px solid var(--glass-border);
}

.card-body {
  padding: 24px;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin: 10px 0;
}

.card-price span {
  font-size: 0.9rem;
  color: var(--text-sec);
  font-weight: 400;
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.amenity {
  font-size: 0.8rem;
  background: var(--bg-main);
  padding: 4px 10px;
  border-radius: 12px;
  color: var(--text-sec);
  border: 1px solid var(--glass-border);
}

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

.card-actions .btn {
  flex: 1;
}

/* Destinations Section */
.destination-card {
  position: relative;
  border-radius: var(--radius-main);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

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

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

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

/* Booking Page */
.booking-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.booking-panel, .summary-panel {
  background: var(--bg-sec);
  padding: 40px;
  border-radius: var(--radius-main);
  border: 1px solid var(--glass-border);
}

.summary-panel {
  position: sticky;
  top: 100px;
  height: fit-content;
}

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

.summary-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-red);
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.success-message {
  display: none;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-sec);
  border-radius: var(--radius-main);
  border: 1px solid var(--accent-yellow);
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: var(--bg-sec);
  width: 90%;
  max-width: 900px;
  border-radius: var(--radius-main);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
  animation: modalSlideIn 0.4s ease forwards;
  max-height: 90vh;
  overflow-y: auto;
}

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

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-wrapper {
  height: 100%;
  min-height: 400px;
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 40px;
}

/* Footer */
footer {
  background: var(--bg-sec);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

.footer-col h4 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--text-sec);
}

.footer-col a:hover {
  color: var(--text-main);
}

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

/* Legal Pages */
.legal-content {
  background: var(--bg-sec);
  padding: 60px;
  border-radius: var(--radius-main);
  border: 1px solid var(--glass-border);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h3 {
  margin: 30px 0 15px;
  color: var(--accent-yellow);
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
  color: var(--text-sec);
}

.legal-content ul {
  padding-left: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrapper { height: 400px; }
  .booking-container { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img-wrapper { min-height: 250px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .section { padding: 60px 0; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-sec);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
    display: none;
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .legal-content { padding: 30px; }
}