@import url("../styles.css");

.hero.hero-contact {
  position: relative;
  min-height: clamp(500px, 78vh, 620px);
  border-radius: clamp(1.5rem, 3vw, 2.6rem);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 214, 153, 0.35), transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.3), transparent 45%),
    linear-gradient(132deg, rgba(52, 31, 18, 0.85), rgba(104, 68, 40, 0.82));
  box-shadow: 0 38px 72px rgba(63, 44, 24, 0.22);
}

.hero.hero-contact .hero-content {
  position: relative;
  max-width: 600px;
  padding: clamp(2rem, 6vw, 3rem);
  display: grid;
  gap: clamp(0.9rem, 3vw, 1.3rem);
}

.contact-details .section-header,
.contact-map .map-card,
.contact-form .form-card {
  max-width: 760px;
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(111, 76, 43, 0.2);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 26px 52px rgba(63, 44, 24, 0.12);
  display: grid;
  gap: 0.75rem;
}

.contact-card h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--accent-dark);
}

.contact-card address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.7;
}

.address-note,
.contact-note {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--accent);
}

.contact-map {
  position: relative;
  padding-top: clamp(3rem, 8vw, 4.2rem);
}

.contact-studio {
  margin-top: clamp(3rem, 8vw, 4.5rem);
}

.studio-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.6rem);
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.4rem, 4vw, 2.3rem);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  border: 1px solid rgba(111, 76, 43, 0.16);
  box-shadow: 0 32px 60px rgba(63, 44, 24, 0.14);
}

.studio-text {
  display: grid;
  gap: 1rem;
}

.studio-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 76, 43, 0.2);
  background: rgba(241, 229, 208, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.studio-text h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-family: "Marcellus", serif;
  color: var(--accent-dark);
}

.studio-text p,
.studio-text li {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.3vw, 1.1rem);
}

.studio-text ul {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.studio-media {
  margin: 0;
  border-radius: clamp(1.1rem, 3vw, 1.8rem);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(63, 44, 24, 0.18);
}

.studio-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.map-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: clamp(1.3rem, 3vw, 2.1rem);
  border: 1px solid rgba(111, 76, 43, 0.18);
  box-shadow: 0 28px 54px rgba(63, 44, 24, 0.14);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: grid;
  gap: clamp(1rem, 3vw, 1.6rem);
}

.map-card h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-dark);
}

.map-embed {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, 2.5vw, 1.6rem);
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(260px, 45vw, 420px);
  background: linear-gradient(135deg, rgba(214, 193, 172, 0.3), rgba(255, 255, 255, 0.7));
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
  border-radius: inherit;
}

.map-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 28px rgba(63, 44, 24, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-link::after {
  content: none !important;
  display: none;
}

.map-link:hover,
.map-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(63, 44, 24, 0.24);
}

.contact-form {
  padding-top: clamp(3rem, 8vw, 4.5rem);
}

.form-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid rgba(111, 76, 43, 0.18);
  box-shadow: 0 30px 60px rgba(63, 44, 24, 0.14);
  padding: clamp(2rem, 5vw, 2.8rem);
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.form-heading h2 {
  margin: 0 0 0.5rem 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent-dark);
}

.form-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.3vw, 1.1rem);
}

.contact-form-fields {
  display: grid;
  gap: clamp(1rem, 2.8vw, 1.4rem);
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  color: var(--accent-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(111, 76, 43, 0.3);
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(111, 76, 43, 0.2);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.privacy-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 360px;
}

.form-footer button {
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(90deg, #f5b041, #d68910);
  box-shadow: 0 16px 32px rgba(214, 137, 16, 0.28);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-footer button:hover,
.form-footer button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(214, 137, 16, 0.35);
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .studio-card {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form-footer button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero.hero-contact {
    min-height: clamp(460px, 84vh, 540px);
  }

  .map-embed {
    aspect-ratio: auto;
    min-height: clamp(240px, 60vw, 360px);
  }

  .map-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero.hero-contact .hero-content {
    padding: clamp(1.6rem, 8vw, 2.2rem);
  }

  .contact-card,
  .map-card,
  .form-card {
    padding: clamp(1.4rem, 7vw, 2rem);
  }

  .privacy-note {
    max-width: none;
  }
}


