/* CONTACT PAGE */

/* SOCIAL ICON ROW */

.socials {
  display: flex;
  gap: 14px;
  margin-top: 35px;
}

.social {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  font-size: 22px;

  color: white;
  text-decoration: none;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);

  transition: all 0.25s ease;
}

.social:hover {
  transform: translateY(-3px);
}

/* Hover colours */

.social.instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social.facebook:hover {
  background: #1877f2;
}

.social.tiktok:hover {
  background: #111;
  border-color: #25f4ee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HERO */

.contact-hero {
  position: relative;
  min-height: 520px;

  background:
    linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.65)
    ),
    url('/images/campervan-contact.jpg') center center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 120px 20px 90px;
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top right,
    rgba(255,122,0,0.18),
    transparent 40%);

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(255,122,0,0.14);
  border: 1px solid rgba(255,122,0,0.35);

  backdrop-filter: blur(8px);

  color: #fff;
  padding: 10px 18px;
  border-radius: 100px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  margin-bottom: 26px;
}

.contact-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  color: white;
  font-weight: 900;

  margin-bottom: 24px;
}

.contact-hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.92);

  max-width: 720px;
  margin: auto;

  line-height: 1.8;
}

/* MAIN */

.contact-section {
  padding: 90px 20px;
  background: #f5f5f5;
}

.contact-container {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 45px;
  align-items: start;
}

/* LEFT PANEL */

.contact-info {
  position: sticky;
  top: 120px;

  background:
    linear-gradient(
      145deg,
      #111,
      #1d1d1d
    );

  color: white;

  border-radius: 30px;
  padding: 50px;

  overflow: hidden;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.18);
}

.contact-info::before {
  content: "";

  position: absolute;
  top: -100px;
  right: -100px;

  width: 240px;
  height: 240px;

  background: rgba(255,122,0,0.08);
  border-radius: 50%;
}

.contact-info h2 {
  position: relative;
  z-index: 2;

  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-info > p {
  position: relative;
  z-index: 2;

  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.8;

  margin-bottom: 45px;
}

/* INFO BOXES */

.info-box {
  position: relative;
  z-index: 2;

  padding: 22px 24px;
  margin-bottom: 18px;

  border-radius: 18px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);

  transition: 0.3s ease;
}

.info-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255,122,0,0.4);
}

.info-box h3 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #ff7a00;

  margin-bottom: 8px;
}

.info-box a,
.info-box p {
  color: white;
  text-decoration: none;

  font-size: 18px;
  font-weight: 600;
}

/* SOCIALS */

.socials {
  position: relative;
  z-index: 2;

  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  margin-top: 35px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 110px;

  padding: 14px 18px;

  border-radius: 14px;

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.08);

  color: white;
  text-decoration: none;
  font-weight: 600;

  transition: 0.3s ease;
}

.socials a:hover {
  background: #ff7a00;
  border-color: #ff7a00;
  transform: translateY(-2px);
}

/* FORM */

.contact-form-wrap {
  background: white;

  padding: 50px;
  border-radius: 30px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 10px;

  font-size: 15px;
  font-weight: 700;

  color: #222;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;

  padding: 18px;

  border-radius: 16px;
  border: 1px solid #ddd;

  font-size: 16px;
  background: #fafafa;

  transition: 0.25s ease;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;

  border-color: #ff7a00;
  background: white;

  box-shadow:
    0 0 0 4px rgba(255,122,0,0.12);
}

textarea {
  resize: vertical;
  min-height: 170px;
}

/* BUTTON */

.submit-btn {
  margin-top: 10px;

  background:
    linear-gradient(
      135deg,
      #ff7a00,
      #ff9500
    );

  color: white;

  border: none;
  border-radius: 18px;

  padding: 20px 28px;

  font-size: 17px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.3s ease;

  box-shadow:
    0 12px 30px rgba(255,122,0,0.25);
}

.submit-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 16px 40px rgba(255,122,0,0.35);
}

/* MOBILE */

@media (max-width: 980px) {

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: relative;
    top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .contact-hero {
    min-height: 440px;
    padding-top: 100px;
  }

  .contact-hero h1 {
    font-size: 42px;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .contact-info,
  .contact-form-wrap {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .contact-info h2 {
    font-size: 34px;
  }

  .socials {
    justify-content: center;
    flex-wrap: wrap;
  }

}

