/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-page {
  background-image: url('../Image Assets/ContactUsBackground.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 120px 20px 80px 20px;
  position: relative;
  flex: 1;
}

.contact-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 0;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-page-title {
  font-size: 3rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 60px;
  color: #1a1a1a;
  letter-spacing: 2px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Location Section */
.location-section {
  background-color: #ffffff;
  margin-bottom: 30px;
  border: 1px solid #e0e0e0;
}

.location-header {
  padding: 30px 40px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  position: relative;
}

.location-header:hover {
  background-color: #fafafa;
  box-shadow: inset 0 0 0 1px #e0e0e0;
}

.location-header:active {
  background-color: #f0f0f0;
}

.location-country {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.toggle-icon {
  font-size: 12px;
  color: #666666;
  transition: transform 0.3s ease;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

/* Locations List */
.locations-list {
  padding: 0;
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.locations-list.collapsed {
  max-height: 0;
}

/* Location Card */
.location-card {
  border-bottom: 1px solid #e0e0e0;
}

.location-card:last-child {
  border-bottom: none;
}

.location-card-header {
  padding: 25px 40px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.location-card-header:hover {
  background-color: #fafafa;
  padding-left: 45px;
}

.location-card-header:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, #1a1a1a 0%, #666 100%);
  border-radius: 0 2px 2px 0;
}

.location-card-header:active {
  background-color: #f0f0f0;
}

.location-office {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.toggle-icon-small {
  font-size: 10px;
  color: #999999;
  transition: transform 0.3s ease;
}

.toggle-icon-small.rotated {
  transform: rotate(180deg);
}

/* Location Details */
.location-details {
  background-color: #fafafa;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.location-details.active {
  max-height: 1000px;
  opacity: 1;
}

.location-info {
  padding: 30px 40px;
  color: #4a4a4a;
  line-height: 1.9;
  font-family: 'Inter', sans-serif;
}

/* Info Row Structure */
.info-row {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-label {
  min-width: 110px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #1a1a1a;
  text-transform: uppercase;
  padding-top: 2px;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.info-content {
  flex: 1;
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.9;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.info-content a {
  color: #4a4a4a;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 2px 4px;
  border-radius: 3px;
}

.info-content a:hover {
  color: #1a1a1a;
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateX(2px);
}

.info-content a[href^="tel:"]::before,
.info-content a[href^="mailto:"]::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.info-content a:hover::before {
  width: 100%;
}

/* Hours List */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #4a4a4a;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.hours-list .day {
  min-width: 100px;
  color: #1a1a1a;
}

.hours-list .dot {
  color: #999999;
  font-size: 8px;
}

.hours-list .time {
  color: #4a4a4a;
}

.coming-soon {
  color: #999999;
  font-style: italic;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

/* Keyboard Navigation Focus States */
.location-header:focus,
.location-card-header:focus {
  outline: 2px solid #1a1a1a;
  outline-offset: -2px;
  background-color: #fafafa;
}

.location-header:focus:not(:focus-visible),
.location-card-header:focus:not(:focus-visible) {
  outline: none;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-page {
    padding: 100px 15px 60px 15px;
  }

  .contact-container {
    max-width: 100%;
  }

  .contact-page-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .location-header {
    padding: 20px 25px;
  }

  .location-country {
    font-size: 12px;
  }

  .location-card-header {
    padding: 20px 25px;
  }

  .location-info {
    padding: 25px;
  }

  .location-office {
    font-size: 14px;
  }

  .info-row {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .info-label {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .info-content {
    font-size: 13px;
  }

  .hours-list .day {
    min-width: 85px;
    font-size: 12px;
  }

  .hours-list .time {
    font-size: 12px;
  }

  .coming-soon {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .contact-page {
    padding: 90px 10px 50px 10px;
  }

  .contact-page-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .location-header,
  .location-card-header {
    padding: 18px 20px;
  }

  .location-info {
    padding: 20px;
  }

  .location-office {
    font-size: 13px;
  }

  .hours-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .hours-list .dot {
    display: none;
  }
}
