:root {
  --primary-text: #1a1a1a;
  --secondary-text: #555555;
  --background-color: #ffffff;
  --border-color: #eeeeee;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Source Serif Pro', 'Times New Roman', Times, serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--primary-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

.delay-5 {
  animation-delay: 1.0s;
}

.delay-6 {
  animation-delay: 1.2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  text-align: center;
  padding-top: 140px;
  margin-bottom: 80px;
  transition: padding 0.3s ease;
}

.header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4em;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--primary-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.header p {
  font-size: 1.3em;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.contact-intro {
  text-align: center;
  margin-bottom: 60px;
}

.contact-section {
  margin-bottom: 100px;
  margin-top: 100px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  text-align: center;
}

.detail-item {
  padding: 10px;
}

.detail-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-text);
}

.detail-item p {
  color: var(--secondary-text);
  font-size: 1.1em;
  margin: 0;
}

.detail-item a {
  color: var(--primary-text);
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.3s ease, color 0.3s ease;
  padding-bottom: 2px;
}

.detail-item a:hover {
  border-bottom-color: var(--primary-text);
  color: #000;
}

.map-wrapper {
  width: 100%;
  height: 450px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.map-placeholder {
  color: #ccc;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}


@media (max-width: 768px) {
  .header {
    padding-top: 130px;
    margin-bottom: 50px;
  }

  .header h1 {
    font-size: 3em;
  }

  .header p {
    font-size: 1.1em;
    padding: 0 10px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-intro {
    text-align: center;
  }

  .contact-section {
    margin-bottom: 60px;
  }

  .map-wrapper {
    height: 300px;
    margin-bottom: 50px;
  }

  .footer {
    padding: 40px 0;
  }
}