@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Ropa+Sans&display=swap');

:root {
  --red: #FF4655;
  --dark: #0E1822;
  --white: #ffffff;
  --muted: #6b7280;
  --container: 1100px;
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* ===== BACK BUTTON ===== */
.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  padding: 10px 15px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: 0.3s ease;
  z-index: 999;
}

.back-btn:hover {
  background: #e63b4a;
  transform: scale(1.1);
}

/* ===== HEADER ===== */
.contact-header {
  background: linear-gradient(90deg, rgba(255,70,85,0.95), rgba(255,70,85,0.85));
  color: var(--white);
  text-align: center;
  padding: 5rem 1rem 3rem;
}

.contact-header h1 {
  font-family: "Ropa Sans", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-header h1 span {
  color: var(--white);
}

.contact-header p {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* ===== SECTION LAYOUT ===== */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* ===== FORM ===== */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(14, 24, 34, 0.08);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-form h2 {
  color: var(--red);
  font-family: "Ropa Sans", sans-serif;
  margin-bottom: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

input,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  outline: none;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(255,70,85,0.3);
}

.btn:hover {
  background: #e63b4a;
  transform: translateY(-2px);
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: #fafafa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(14, 24, 34, 0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-info h2 {
  color: var(--red);
  font-family: "Ropa Sans", sans-serif;
  margin-bottom: 1.2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 0.97rem;
  color: var(--dark);
}

/* ===== MAP ===== */
.map-container {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 280px;
  border: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.95rem;
  margin-top: 3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 2rem;
  }

  .container {
    grid-template-columns: 1fr;
  }

  .contact-form, .contact-info {
    padding: 1.5rem;
  }
}
