:root {
  --bg-color: #0f1720;
  --surface-color: #1a2430;
  --primary-color: #1f7a63;
  --primary-hover: #175e4c;
  --accent-color: #d4a94f;
  --accent-hover: #bc933f;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: #2e3c4f;
  --border-radius: 12px;
  --card-radius: 16px;
  --transition: all 0.3s ease;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

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

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background-color: rgba(26, 36, 48, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 1px;
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
}

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

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

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 32, 0.6);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

/* Page Banner */
.page-banner {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 32, 0.7);
}
.page-banner h1 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  color: var(--text-main);
}

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

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

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

.btn-accent {
  background-color: var(--accent-color);
  color: #1a2430;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
}

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

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

.btn-block {
  display: block;
  width: 100%;
}

/* Cards (Hotels, Destinations, Blog) */
.card {
  background-color: var(--surface-color);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

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

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.card-rating i {
  color: var(--accent-color);
}

.card .btn {
  margin-top: auto;
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item {
  background: var(--surface-color);
  padding: 40px 20px;
  border-radius: var(--card-radius);
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Hotel Details */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 15px;
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery img:first-child {
  grid-row: 1 / 3;
}

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

.details-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.details-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.amenities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.amenities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.amenities-list i {
  color: var(--primary-color);
}

.booking-box {
  background: var(--surface-color);
  padding: 30px;
  border-radius: var(--card-radius);
  position: sticky;
  top: 100px;
}
.booking-price {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 700;
}
.booking-price span {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}
.form-control {
  width: 100%;
  padding: 15px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-main);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.info-icon {
  width: 50px;
  height: 50px;
  background: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Article Page */
.article-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}
.article-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--card-radius);
  margin-bottom: 40px;
}
.article-content {
  max-width: 800px;
  margin: 0 auto;
}
.article-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.article-content h2 {
  margin: 40px 0 20px 0;
  color: var(--text-main);
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img {
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}
.about-text p {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(rgba(15,23,32,0.8), rgba(15,23,32,0.9)), url('images/cta-cta-section.png') center/cover;
  text-align: center;
  padding: 100px 0;
}
.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: var(--surface-color);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

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

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

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

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-links a {
  color: var(--text-muted);
  margin-left: 15px;
  cursor: pointer;
}
.legal-links a:hover {
  color: var(--accent-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  overflow: auto;
}

.modal-content {
  background-color: var(--surface-color);
  margin: 10% auto;
  padding: 40px;
  border-radius: var(--card-radius);
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: var(--shadow);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--text-muted);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: var(--text-main);
}

.modal-content h2 {
  margin-bottom: 20px;
  color: var(--accent-color);
}
.modal-content p {
  margin-bottom: 15px;
  color: var(--text-muted);
}

/* Scroll to Top */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  background-color: var(--primary-color);
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

#scrollTopBtn:hover {
  background-color: var(--primary-hover);
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .details-layout { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .gallery img:first-child { grid-column: 1 / 3; grid-row: 1; }
  .booking-box { position: static; margin-top: 30px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--surface-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  .nav-links.active { left: 0; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .legal-links a { margin: 0 10px; }
  .article-image { height: 300px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .page-banner h1 { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .gallery { display: flex; flex-direction: column; }
  .gallery img { height: 200px; }
}