:root {
  --bg-dark: #0b0b10;
  --bg-section: #151520;
  --accent: #e91e63;
  --accent-soft: #ff80ab;
  --text-main: #ffffff;
  --text-muted: #b0b3c0;
  --footer-bg: #05050a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --max-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

/* CLS FIX 1: Reserve space for images before loading */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

p a, .content a {
    color: #ffd700;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
}

p a:hover, .content a:hover {
    color: #ffffff;
    text-decoration-color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

p a:visited {
    color: #e6b800;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 3.5rem 0;
}

/* CLS FIX 2: Prevent Font Swap Layout Shifts */
h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size-adjust: 0.5; /* Keeps text dimensions stable during font load */
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #05050a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  min-height: 60px; /* CLS FIX 3: Fixed height header */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-image {
  width: 180px;
  height: 50px;
  aspect-ratio: 180 / 50;
  object-fit: contain;
}

.main-nav ul {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-main);
  border-color: var(--accent);
}

.nav-toggle {
  background: none;
  border: 1px solid var(--accent-soft);
  color: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-image: url("https://divasofindia.in/include/img/doi-Llucknow-banner.webp");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 5, 10, 0.9), rgba(10, 10, 25, 0.85));
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 4rem 0;
  width: 100%;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto 1.2rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 45px; /* Reserves height for buttons */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-call {
  background: var(--accent);
  color: #fff;
}

/* Locations & Hotels Section Grid */
.locations, .hotels {
  padding: 3rem 0;
  width: 100%;
}

.locations h2, .hotels h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.locations-grid, .hotels-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px !important;
  width: 100% !important;
}

.location-card, .hotel-card {
  background: #12121a !important;
  border: 1px solid #232330 !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

/* CLS FIX 4: Explicit Aspect Ratio for Grid Images */
.location-image, .hotel-image {
  width: 100% !important;
  height: 160px !important;
  aspect-ratio: 300 / 160 !important;
  object-fit: cover !important;
  display: block !important;
}

.location-name, .hotel-name {
  padding: 12px 8px !important;
  text-align: center !important;
  margin: 0 !important;
  min-height: 48px; /* Reserves vertical space for titles */
}

.location-name a, .hotel-name a {
  color: var(--text-main) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  display: block !important;
}

/* Profiles Section */
.profiles h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.profile-card {
  background: var(--bg-section);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  text-decoration: none;
}

.profile-image {
  width: 100%;
  height: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-name {
  padding: 0.75rem 0.9rem 1rem;
  color: var(--text-main);
}

/* Responsive Rules */
@media (max-width: 768px) {
  .locations-grid, .hotels-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .location-image, .hotel-image {
    height: 110px !important;
    aspect-ratio: 150 / 110 !important;
  }

  .location-name a, .hotel-name a {
    font-size: 0.82rem !important;
  }
}

@media (min-width: 768px) {
  .main-nav ul { display: flex; }
  .nav-toggle { display: none; }
  .profiles-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .profiles-grid { grid-template-columns: repeat(4, 1fr); }
}