/* ============================================================
   CITIES.CSS — Styles for city landing pages (e.g. chennai.html)
   ============================================================ */

/* ── City Hero ── */
.city-hero .svc-hero-grid {
  align-items: center;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  row-gap: var(--space-4);
}

.city-hero-heading-row {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.city-hero .svc-hero-content {
  grid-column: 1;
  grid-row: 2;
}

.city-hero .svc-hero-visual {
  grid-column: 2;
  grid-row: 1 / -1;
}


.city-hero .svc-hero-visual {
  aspect-ratio: 4 / 3;
  height: auto;
  align-self: center;
  border: 5px solid #ffffff;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.city-hero .svc-hero-visual:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.city-hero .svc-hero-visual:hover .svc-hero-img {
  transform: scale(1.06);
}

.city-hero .svc-hero-img {
  object-position: top center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── City Hero responsive ── */
@media (max-width: 768px) {
  .city-hero .svc-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--space-6);
  }

  /* Reset all explicit placements */
  .city-hero-heading-row,
  .city-hero .svc-hero-content,
  .city-hero .svc-hero-visual {
    grid-column: 1;
    grid-row: auto;
  }

  /* Reorder: tag+title → image → body text + button */
  .city-hero-heading-row      { order: 1; }
  .city-hero .svc-hero-visual { order: 2; max-width: 420px; margin-inline: auto; width: 100%; }
  .city-hero .svc-hero-content { order: 3; }
}

@media (max-width: 480px) {
  .city-hero .svc-hero-visual { max-width: 100%; }
}

/* ── Why Choose Section ── */
.city-why {
  background: var(--color-bg-secondary);
  padding-block: var(--sec-pad);
}

.city-why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-16);
  align-items: stretch;
}

/* ── Image Collage (LEFT) ── */
.city-why-images {
  position: relative;
  min-height: 400px;
}

.city-why-img {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 5px solid #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.city-why-img:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.city-why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.city-why-img:hover img {
  transform: scale(1.06);
}

/* Large image — top left */
.city-why-img--1 {
  top: 0;
  left: 0;
  width: 68%;
  height: 82%;
  z-index: 1;
}

.city-why-img--1 img {
  object-position: left center;
}

/* Smaller image — bottom right, overlapping */
.city-why-img--2 {
  bottom: 0;
  right: 0;
  width: 58%;
  height: 56%;
  z-index: 2;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

/* ── Content (RIGHT) ── */
.city-why-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}


.city-why-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1.08;
  letter-spacing: 0.03em;
  margin: 0;
}

.city-why-body {
  font-size: var(--font-size-base);
  color: #4a5568;
  line-height: 1.8;
}

/* ── 2×2 Features Grid ── */
.city-why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2);
}

.city-why-feature {
  padding: var(--space-5) var(--space-5) var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.city-why-feature:nth-child(even) {
  padding-left: var(--space-5);
  border-left: 1px solid var(--color-border);
}

.city-why-feature-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-base);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.city-why-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.city-why-feature p {
  font-size: var(--font-size-sm);
  color: #4a5568;
  line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .city-why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .city-why-images {
    min-height: 360px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .city-why-features {
    grid-template-columns: 1fr;
  }

  .city-why-feature:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .city-why-images {
    min-height: 280px;
  }
}

/* ── Flexible Bookings Section ── */
.city-flex {
  background: var(--color-bg-secondary);
  padding-block: var(--sec-pad);
}

.city-flex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.city-flex-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.city-flex-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1.08;
  letter-spacing: 0.03em;
  margin: 0;
}

.city-flex-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.city-flex-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-base);
  color: #4a5568;
  line-height: 1.6;
}

.city-flex-check {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.city-flex-check svg {
  color: #ffffff;
}

.city-flex-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.city-flex-img-wrap:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.city-flex-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.city-flex-img-wrap:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .city-flex-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .city-flex-img-wrap {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
}

/* ── Dark mode ── */
[data-theme="dark"] .city-why {
  background: #0f1117;
}

[data-theme="dark"] .city-why-body,
[data-theme="dark"] .city-why-feature p {
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .city-why-feature-title {
  color: #ffffff;
}

[data-theme="dark"] .city-flex {
  background: var(--color-bg-secondary);
}

[data-theme="dark"] .city-flex-list li {
  color: rgba(255, 255, 255, 0.65);
}
