/* locations.css — page-specific styles only. Shared styles are in shared.css */

/* ================= PAGE HERO ================= */

.page-hero {
  background: var(--primary);
  background-image: url("pictures/biryani.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

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

.page-hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  font-family: cursive;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
}

/* ================= LOCATIONS SECTION ================= */

.locations-section {
  padding: 72px 0 80px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Last card centered when odd count */
.location-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Map wrapper — 16:9 ratio */
.map-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-info h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--primary);
}

.card-info p {
  font-size: 0.95rem;
  color: #444;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  font-style: normal;
  font-size: 1rem;
}

.direction-btn {
  margin-top: 8px;
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

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


/* =============================================
   RESPONSIVE — Locations-specific
   ============================================= */

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 56px 0;
  }
}
