/* ============================================
   VALLELUNGA IMMOBILIARE — style.css
   ============================================ */

:root {
  --navy: #2d2a7a;
  --indigo: #5d6af5;
  --gold: #f3e2b3;
  --text: #1a1a2e;
}

/* ── BASE ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.text-primary {
  color: var(--indigo) !important;
}

.btn-primary {
  background: var(--indigo);
  border-color: var(--indigo);
  border-radius: 50px;
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

/* ── NAVBAR ───────────────────────────────── */
.navbar {
  background: transparent;
  padding: 16px 0;
  transition: background 0.35s, padding 0.35s;
}

.navbar.scrolled {
  background: #27247d;
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
  color: white !important;
}

.navbar.scrolled .btn-outline-light {
  color: white;
  border-color: white;
}

.navbar.scrolled .btn-outline-light:hover {
  background: #5d6af5;
  color: #fff;
}

.navbar-brand img {
  width: 160px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 6px 14px !important;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link.active {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-outline-light {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

/* ── HERO ─────────────────────────────────── */
/* HTML atteso:
<section class="hero">
  <img src="img/header-vallelunga-scie-arco.jpg" class="hero-bg" alt="">
  <div class="container">
    <h1>Vallelunga Immobiliare</h1>
    <p class="lead">Eccellenza Strategica nel Mercato di Pescara</p>
    <a href="tel:+393516224186" class="btn btn-primary">Chiama ora</a>
  </div>
</section>
*/

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero .container {
  position: absolute;
  top: 52%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32%;
  max-width: 420px;
  padding: 0;
  margin: 0;
}

.hero h1 {
    font-size: clamp(2.8rem, 4.8vw, 4.8rem);
    font-weight: 500;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 14px;
}

.hero p.lead {
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.05;
  margin: 0 0 26px;
}

.hero .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 34px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  box-shadow: none;
}
.what h2{
  color: #000;;
}

/* ── FEATURES ─────────────────────────────── */
.features {
  background: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.features .section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #030977;
  margin-bottom: 12px;
}

.features h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 56px;
  line-height: 1.4;
}

.feature-box {
  padding: 10px 16px 20px;
  text-align: center;
}

.feature-box .icon {
  margin-bottom: 14px;
}

.feature-box .icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.feature-box h6 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-box p {
  font-size: 1rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 10px;
  font-weight: 400;
}

.feature-box .arrow {
  display: inline-block;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

/* ── ABOUT ────────────────────────────────── */
.about {
  padding: 80px 0;
  background: #fff;
}

.about h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #000;
  margin-bottom: 6px;
  line-height: 1.2;
}

.about .lead-text {
    font-size: 1.8rem;
    font-weight: 300;
    color: #000;
    line-height: 1.2;
    margin-bottom: 28px;
}

.about .btn-primary {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 28px;
}

.highlight {
  background: var(--gold);
  padding: 16px 20px;
  margin-bottom: 10px;
  border-radius: 0px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.highlight.expanded {
  padding: 20px 22px;
}

.highlight .highlight-body {
  font-weight: 400;
  font-size: 0.82rem;
  color: #333;
  margin-top: 10px;
  line-height: 1.6;
  max-width: 90%;
}

/* ── METODO ───────────────────────────────── */
.metodo {
  background: url('../img/background-vallelunga-scie.jpg') left center / auto 100% no-repeat;
  padding: 80px 0;
  color: #fff;
}

.metodo .badge-metodo {
  display: inline-block;
  background: var(--gold);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 00px;
  margin-bottom: 16px;
}

.metodo h2 {
  color: #000000;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 18px;
  font-weight: 400;
}

.metodo h2 strong {
  font-weight: 800;
}

.metodo .intro-text {
  font-size: 1rem;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.metodo-item {
  margin-bottom: 14px;
}

.metodo-item .metodo-title {
  font-size: 1rem;
  font-weight: 700;
  color: #27247f;
  margin-bottom: 3px;
}

.metodo-item .metodo-desc {
  font-size: 1rem;
  color: #000000;
  line-height: 1.55;
  font-weight: 300;
}

.metodo-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 520px;
}

/* ── CTA / CONTATTI ───────────────────────── */
.cta {
  background: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.cta .section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #26247f;
  margin-bottom: 28px;
}

.cta .cta-text {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 24px;
}

.cta .cta-text strong {
  font-weight: 800;
  color: var(--text);
}

.cta .cta-text .text-primary {
  font-weight: 700;
}

.cta .cta-sub {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text);
    max-width: 620px;
    margin: 0 auto;
}

/* ── FOOTER ───────────────────────────────── */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 40px 0 24px;
  text-align: center;
  color: var(--text);
}

footer .footer-logo img {
  width: 160px;
  margin-bottom: 8px;
}

footer .tagline {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 4px;
    font-weight: bold;
}

footer .city {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

footer .city .dot {
  color: var(--indigo);
}

footer .contacts {
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 8px;
  font-weight: bold;
}

footer .contacts a {
  color: inherit;
  text-decoration: none;
}

footer .area {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 20px;
  font-weight: bold;
}

footer .area a {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: none;
}

footer .copyright {
  font-size: 0.75rem;
  color: #333232;
  border-top: 1px solid #eee;
  padding-top: 16px;
  margin-top: 10px;
  font-weight: bold;
}

hr {
  color: #f5e9ba;
  opacity: 1;
  width: 50%;
  text-align: center;
  position: relative;
  left: 25%;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1200px) {
  .hero .container {
    left: 7%;
    width: 36%;
    max-width: 400px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 4.2vw, 4rem);
  }

  .hero p.lead {
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  }
}

@media (max-width: 768px) {
  .col-lg-5.what {
    padding-top: 0;
    padding-left: 50px;
    padding-bottom: 36px;
  }
.navbar {
    padding: 10px 0;
  }

  .navbar-brand img {
    width: 110px;
  }

  .btn-outline-light {
    display: none;
  }

  .hero .container {
        top: 58%;
        left: 8%;
        width: 100%;
        max-width: none;
        transform: translateY(-50%);
        padding: 0;
    }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
    line-height: 0.95;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
  }

  .hero p.lead {
    font-size: clamp(0.9rem, 3.8vw, 1.2rem);
    line-height: 1.08;
    margin: 0 0 18px;
  }

  .hero .btn-primary {
    min-width: 0;
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .metodo-img {
    margin-bottom: 36px;
  }

  .about {
    padding: 0px;
  }
  .features {
      background: #fff;
      padding: 80px 0 20px;
      text-align: center;
  }
  .metodo {
    background: unset
  }
  .cta {
    background: #fff;
    padding: 00px 0 40px;
    text-align: center;
  }

}