/* ==========================================================
   pages/contact.css — Location, Hours, and Map page styles
   ========================================================== */

.contact-page {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.header-text-link.active {
  color: #ede0dc !important;
}

.contact-main {
  position: relative;
  z-index: 20;
  padding: 6rem 1.5rem 6rem;
  max-width: 80rem;
  margin: 0 auto;
  flex-grow: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-content: start;
}

/* ── Typography & Header Zone ── */
.contact-header {
  margin-bottom: 1.5rem;
}

.contact-label {
  color: var(--color-primary);
  font-family: var(--font-label);
  font-size: 0.625rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.contact-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ── Status Badge ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(25, 30, 25, 0.4);
  border: 1px solid rgba(164, 211, 147, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 224, 220, 0.85);
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3f3f3f;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.status-badge.open {
  border-color: rgba(164, 211, 147, 0.25);
  background: rgba(17, 56, 9, 0.2);
}
.status-badge.open .status-dot {
  background-color: var(--color-tertiary);
  box-shadow: 0 0 10px rgba(164, 211, 147, 0.8);
}

.status-badge.closed {
  border-color: rgba(255, 180, 171, 0.25);
  background: rgba(105, 0, 5, 0.2);
}
.status-badge.closed .status-dot {
  background-color: var(--color-error);
  box-shadow: 0 0 10px rgba(255, 180, 171, 0.8);
}

/* ── Left Column Card & Layout ── */
.contact-details-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var(--color-surface-container-low);
  border: 1px solid rgba(85, 67, 54, 0.15);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 45px -10px rgba(19, 13, 11, 0.4);
}

/* ── Contact NAP Card ── */
.contact-nap-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-phone-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-primary);
  text-decoration: none;
  width: fit-content;
  transition: transform 0.2s ease;
}
.contact-phone-link:active {
  transform: scale(0.97);
}
.contact-phone-icon {
  font-size: 1.75rem;
  color: var(--color-amber-accent);
}
.contact-phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
@media (hover: hover) {
  .contact-phone-link:hover .contact-phone-number {
    color: var(--color-on-surface);
  }
}

.address-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.address-icon {
  font-size: 1.75rem;
  color: var(--color-amber-accent);
  margin-top: 0.15rem;
}
.address-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.address-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(237, 224, 220, 0.85);
  user-select: text;
}

.btn-copy-address {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(217, 119, 7, 0.3);
  color: var(--color-primary);
  background: transparent;
  padding: 0.5rem 1rem;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
.btn-copy-address:active {
  transform: scale(0.95);
}
@media (hover: hover) {
  .btn-copy-address:hover {
    background: rgba(217, 119, 7, 0.1);
    border-color: var(--color-primary);
    color: #ede0dc;
  }
}

/* ── Hours Section ── */
.hours-section {
  border-top: 1px solid rgba(85, 67, 54, 0.15);
  padding-top: 2rem;
}
.hours-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(237, 224, 220, 0.7);
  border-bottom: 1px solid rgba(85, 67, 54, 0.06);
  padding-bottom: 0.625rem;
}
.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hours-day {
  font-weight: 500;
}
.hours-time {
  font-variant-numeric: tabular-nums;
}
.hours-row.is-today {
  color: var(--color-on-surface);
  font-weight: 700;
  border-bottom-color: rgba(217, 119, 7, 0.25);
}
.hours-row.is-today .hours-day {
  color: var(--color-amber-accent);
}

/* ── Right Column Map Viewport ── */
.contact-map-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-viewport {
  position: relative;
  width: 100%;
  height: 42lvh;
  min-height: 22rem;
  background-color: var(--color-surface-container);
  border: 1px solid rgba(85, 67, 54, 0.25);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  border-radius: 12px;
  transition: border-color 0.3s ease;
}
.map-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* Lounge Notice Banner */
.lounge-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: rgba(217, 119, 7, 0.05);
  border: 1px solid rgba(217, 119, 7, 0.15);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.lounge-notice-icon {
  color: var(--color-amber-accent);
  font-size: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.lounge-notice-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(237, 224, 220, 0.75);
}

/* ── Responsive Layout Overrides ── */
@media (min-width: 1024px) {
  .contact-main {
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3.5rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
    align-items: stretch;
  }
  
  .contact-details-col {
    padding: 3rem;
  }
  
  .map-viewport {
    height: 100%;
    min-height: 36rem;
  }
}

@media (max-width: 767px) {
  .contact-main {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}
