/* =========================================================
   FRONT PAGE
   Loaded only on front-page.php
========================================================= */

/* ===============================
   GLOBAL SECTION RHYTHM
================================ */

.front-page section {
  padding: 5.5rem 0;
}

.front-page section header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.front-page section header h2 {
  margin-bottom: 0.75rem;
}

.front-page section header p {
  opacity: 0.85;
  line-height: 1.6;
}

/* ===============================
   HERO
================================ */

.hero.section {
  background: #f6ecd9;
  position: relative;
}

.hero .container.grid {
  align-items: center;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 2; /* ensure above image */
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo img {
  max-width: 220px;
  height: auto;
}

.hero h1 {
  margin-bottom: 1.4rem;
}

.hero-intro {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.hero-points li {
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

/* ===============================
   HERO BUTTON (FIXED)
================================ */

.hero-actions .button {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border: 2px solid #6b1d14;
  background: transparent;
  color: #6b1d14;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  border-radius: 4px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.hero-actions .button:hover {
  background: #6b1d14;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* ===============================
   HERO MEDIA (IMAGE + OVERLAY)
================================ */

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.08);
}

.hero-media-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gradient overlay — IMPORTANT FIX */
.hero-media-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.04)
  );
  pointer-events: none; /* - THIS FIXES CLICK/HOVER */
}

/* ===============================
   WHAT WE DO (VALUE CARDS)
================================ */

.front-services {
  max-width: 1100px;
  margin: 0 auto;
}

.front-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.75rem;
  margin-top: 3.5rem;
}

.value-point {
  background: #fff;
  padding: 2.4rem 2.2rem;
  border-radius: 10px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.value-point:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===============================
   PORTFOLIO
================================ */

.front-portfolio {
  background: #f6ecd9;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.front-portfolio p {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  opacity: 0.85;
}

.front-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.front-brand-card {
  background: #fff;
  padding: 2.4rem 2rem;
  border-radius: 10px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.front-brand-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.05);
}

.front-brand-card img {
  max-width: 220px;
  max-height: 120px;
  margin: 0 auto 1.1rem;
  display: block;
}

/* ===============================
   OUR APPROACH
================================ */

.front-approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.75rem;
  max-width: 1100px;
  margin: 3.5rem auto 0;
}

.front-approach-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

/* ===============================
   CONTACT / CTA
================================ */

.front-contact {
  background: #faf3e4;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 6rem 0;
}

/* ===============================
   WPFORMS - BRANDED OVERRIDES
================================ */

.front-contact .wpforms-form input,
.front-contact .wpforms-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
}

.front-contact .wpforms-form input:focus,
.front-contact .wpforms-form textarea:focus {
  outline: none;
  border-color: #6b1d14;
  box-shadow: 0 0 0 2px rgba(107, 29, 20, 0.15);
}

/* Submit Button */

.front-contact .wpforms-form button[type="submit"] {
  background: #6b1d14;
  color: #fff;
  border: 1px solid #6b1d14;
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.front-contact .wpforms-form button[type="submit"]:hover {
  background: #571610;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

  .hero .container.grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-media {
    order: -1;
  }

}

@media (max-width: 768px) {

  .front-page section {
    padding: 4rem 0;
  }

}
