/* --- Contact Page Specific Styles --- */

/* Contact Hero */
.contact-hero {
  height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(10, 9, 7, 0.75), rgba(10, 9, 7, 0.95)), url('../assets/about_restaurant.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-top: var(--header-height);
}

.contact-hero h1 {
  font-size: 54px;
  margin-bottom: 15px;
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 24px;
  font-size: 20px;
  background-color: rgba(205, 162, 116, 0.03);
  transition: var(--transition-smooth);
}

.contact-info-card:hover .contact-info-icon {
  background-color: var(--primary);
  color: var(--bg-dark);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Map and Form Split Layout */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 100px;
}

.contact-form-wrapper h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-form-wrapper p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 15px;
}

/* Styled Map Placeholder */
.map-wrapper {
  display: flex;
  flex-direction: column;
}

.map-container {
  flex-grow: 1;
  background-color: #12100e;
  border: 1px solid var(--border-color);
  height: 450px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-shadow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grid lines represent city streets */
.map-grid-overlay {
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(205, 162, 116, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 162, 116, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotate(15deg);
  z-index: 1;
}

.map-river {
  position: absolute;
  top: 30%;
  left: -50px;
  width: 120%;
  height: 80px;
  background-color: rgba(205, 162, 116, 0.05);
  transform: rotate(-10deg);
  z-index: 1;
}

.map-block {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(205, 162, 116, 0.03);
  z-index: 1;
}

.map-block-1 { width: 120px; height: 90px; top: 10%; left: 15%; }
.map-block-2 { width: 150px; height: 120px; top: 50%; left: 5%; }
.map-block-3 { width: 100px; height: 80px; top: 20%; right: 15%; }
.map-block-4 { width: 130px; height: 100px; top: 60%; right: 10%; }

.map-marker-pin {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: mapPinFloat 3s ease-in-out infinite;
}

.map-marker-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-shadow-strong);
  border: 3px solid var(--bg-dark);
}

.map-marker-pulse {
  position: absolute;
  bottom: -5px;
  width: 20px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(205, 162, 116, 0.4);
  animation: mapPulse 2s infinite;
  z-index: 4;
}

.map-marker-label {
  position: absolute;
  top: -45px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.map-marker-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--bg-card) transparent;
  display: block;
  width: 0;
}

/* FAQ Section Accordion */
.faq-section {
  max-width: 850px;
  margin: 0 auto 100px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.faq-item {
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  overflow: hidden;
}

.faq-question {
  padding: 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.01);
  color: var(--primary);
}

.faq-arrow {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Keyframes */
@keyframes mapPinFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes mapPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* --- Media Queries --- */
@media (max-width: 992px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .map-container {
    height: 350px;
  }
}
