/* ========================================
   Contact Section Styles
   ======================================== */
.contact {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f6f3 0%, #f0e6dc 100%);
  position: relative;
}

.contact h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #8b6f47;
  font-weight: 400;
  letter-spacing: 2px;
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 1.5rem;
}

.location-section {
  background: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  border: none;
}

.map-image,
.google-map {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: none;
  transition: transform 0.3s ease;
  border-radius: 15px;
}

.contact-info {
  padding: 30px 25px;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  height: auto;
  min-height: 500px;
  backdrop-filter: blur(15px);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: visible;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: #8b6f47;
  margin-bottom: 0.8rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 6px;
}

.info-group {
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(139, 111, 71, 0.05);
  border-radius: 12px;
  border-left: 3px solid #d4af37;
  transition: all 0.3s ease;
}

.info-group h4 {
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8b6f47;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-group h4::before {
  content: "";
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.info-group h4[data-icon="address"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b6f47' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.info-group h4[data-icon="phone"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b6f47' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.info-group h4[data-icon="hours"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b6f47' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='m12.5 7-1 0 0 6 5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.info-group h4[data-icon="email"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b6f47' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.info-group p {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.info-group a {
  color: #8b6f47;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.info-group a:hover {
  color: #d4af37;
  text-shadow: 0 2px 4px rgba(139, 111, 71, 0.3);
}

.hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.hour-row:hover {
  background: #fafafa;
  transform: translateX(3px);
}

.hour-row span:first-child {
  font-weight: 600;
  color: #8b6f47;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.hour-row span:last-child {
  color: #666;
  font-weight: 500;
  padding: 3px 10px;
  background: rgba(139, 111, 71, 0.1);
  border-radius: 12px;
  font-size: 0.8rem;
}

.email-contact {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f3 100%);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(139, 111, 71, 0.1);
  border: 2px solid rgba(139, 111, 71, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.email-contact h4 {
  color: #8b6f47;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.email-contact a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 10px 16px;
  border-radius: 25px;
  background: rgba(139, 111, 71, 0.05);
  display: inline-block;
  margin-top: 10px;
  word-break: break-all;
  max-width: 100%;
  line-height: 1.3;
}

.map-section {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  position: relative;
}

.map-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 111, 71, 0.1), transparent);
  pointer-events: none;
  z-index: 1;
}

.location-section:hover .google-map {
  transform: scale(1.02);
}

.directions-btn,
.directions-btn:link,
.directions-btn:visited,
.directions-btn:active {
  display: inline-block;
  background: white !important;
  color: #8b6f47 !important;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 8px;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.3px;
  box-shadow: none;
  border: 1px solid rgba(139, 111, 71, 0.2);
}

.directions-btn:hover,
.directions-btn:focus {
  background: #f8f8f8 !important;
  transform: translateY(-1px);
  box-shadow: none;
  color: #8b6f47 !important;
  text-shadow: none !important;
  border-color: rgba(139, 111, 71, 0.3);
  text-decoration: none !important;
}

.directions-btn *,
.directions-btn::before,
.directions-btn::after {
  color: #8b6f47 !important;
}

/* 더 구체적인 선택자로 강제 적용 */
.info-group .directions-btn {
  background: white !important;
  color: #8b6f47 !important;
}

.info-group .directions-btn:hover {
  background: #f8f8f8 !important;
  color: #8b6f47 !important;
}
