@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #1a1a1a;
}

/* ── Navbar ── */

nav {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid #daa520;
}

.navbar {
  max-width: 70rem;
  padding: 0 1.5em;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  padding: 1rem 0;
}

.brand a {
  color: #daa520;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__links {
  display: none;
}

.nav__links li {
  list-style: none;
}

.nav__links li a {
  display: block;
  padding: 1em 1.1em;
  font-weight: 600;
  font-size: 0.85rem;
  color: #ccc;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__links li a:hover {
  color: #daa520;
}

.hamburger {
  display: block;
  cursor: pointer;
  color: #daa520;
  font-size: 1.4rem;
}

/* ── Heroes ── */

.hero, .hero-1, .hero-2, .hero-3,
.hero-post-1, .hero-post-2, .hero-post-3, .hero-post-4, .hero-post-5 {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero         { background-image: url(images/1.webp); }
.hero-1       { background-image: url(images/2.webp); }
.hero-2       { background-image: url(images/3.webp); }
.hero-3       { background-image: url(images/4.webp); }
.hero-post-1  { background-image: url(images/image1.webp); }
.hero-post-2  { background-image: url(images/image2.webp); }
.hero-post-3  { background-image: url(images/image3.webp); }
.hero-post-4  { background-image: url(images/image4.webp); }
.hero-post-5  { background-image: url(images/calc.webp); }

.hero::before, .hero-1::before, .hero-2::before, .hero-3::before,
.hero-post-1::before, .hero-post-2::before, .hero-post-3::before,
.hero-post-4::before, .hero-post-5::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero h1, .hero-1 h1, .hero-2 h1, .hero-3 h1,
.hero-post-1 h1, .hero-post-2 h1, .hero-post-3 h1,
.hero-post-4 h1, .hero-post-5 h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  max-width: 820px;
  padding: 0.85rem 2rem;
  background: rgba(0, 0, 0, 0.52);
  border-left: 4px solid #daa520;
  border-right: 4px solid #daa520;
  border-radius: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* ── Trust strip ── */

.trust-strip {
  background: #1a1a1a;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f0f0f0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.trust-item i {
  color: #daa520;
  font-size: 0.95rem;
}

/* ── Main content ── */

.main-text {
  font-size: large;
  max-width: 800px;
  margin: 0.5rem auto;
  text-align: center;
}

.text-heading-top {
  margin: 2.5rem 0 1.2rem;
  color: #111;
  font-size: 1.5em;
  font-weight: 800;
  position: relative;
  padding-bottom: 0.75rem;
}

.text-heading-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #daa520;
  border-radius: 2px;
}

.text-heading {
  margin: 2.2rem 0 1rem;
  color: #111;
  font-size: 1.25em;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.65rem;
}

.text-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #daa520;
  border-radius: 2px;
}

.text {
  padding: 0.5rem;
  font-size: 1em;
  margin: 1rem auto;
  text-align: justify;
  line-height: 1.8;
  color: #333;
}

/* ── CTA phone button ── */

.cta-phone-wrap {
  text-align: center;
  margin: 2rem 0;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #b8860b 0%, #daa520 60%, #c9961a 100%);
  color: #fff !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 5px 24px rgba(184, 134, 11, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(184, 134, 11, 0.58);
}

/* ── Feature cards (About page) ── */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: left;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fafafa;
  border: 1px solid #f0e6c0;
  border-left: 4px solid #daa520;
  border-radius: 8px;
  padding: 1rem 1.2rem;
}

.feature-card i {
  color: #daa520;
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: left;
}

.feature-card strong {
  display: block;
  color: #111;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

/* ── Contact card ── */

.contact-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0;
}

button.contact-card {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #111;
  color: #fff;
  padding: 1.1rem 1.8rem;
  border-radius: 10px;
  border-bottom: 3px solid #daa520;
  min-width: 230px;
  justify-content: center;
  transition: transform 0.18s, box-shadow 0.18s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-card i {
  color: #daa520;
  font-size: 1.4rem;
}

.contact-card span {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* ── Blog section ── */

.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-post {
  width: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-image {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}

.blog-title {
  font-size: 22px;
  color: #111;
  margin: 10px 0;
  font-weight: 700;
}

.blog-description {
  font-size: 15px;
  color: #555;
  margin: 10px 0;
  line-height: 1.65;
}

.read-more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
  padding: 0.55rem 1.5rem;
  border-radius: 20px;
  margin-top: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 12px rgba(184, 134, 11, 0.3);
  transition: transform 0.18s, box-shadow 0.18s;
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(184, 134, 11, 0.48);
}

/* ── Post navigation ── */

.post-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 800px;
  margin: 3rem auto 2rem;
  padding: 2rem 1rem 0;
  border-top: 2px solid #e8d5a3;
}

.post-nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, #b8860b 0%, #daa520 60%, #c9961a 100%);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  max-width: 48%;
}

.post-nav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(184, 134, 11, 0.48);
  color: #fff;
}

.post-nav .nav-prev { text-align: left; }
.post-nav .nav-next { text-align: right; }

.post-nav .nav-label {
  display: block;
  font-size: 0.7em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.post-nav .nav-title {
  display: block;
  font-size: 0.95em;
  font-weight: 700;
}

/* ── Footer ── */

.footer-main {
  background: #111;
  padding: 2.5rem 1.5rem 0;
  margin-top: 3rem;
}

.footer-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #2a2a2a;
}

.footer-col h3 {
  color: #daa520;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col p {
  font-size: 0.83rem;
  line-height: 1.8;
  color: #888;
}

.footer-col a {
  display: block;
  font-size: 0.83rem;
  line-height: 1.9;
  color: #888;
  transition: color 0.18s;
}

.footer-col a:hover {
  color: #daa520;
}

.footer-bottom {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.75rem;
  color: #ccc;
}

/* keep old footer as fallback for any missed pages */
footer:not(.footer-main) {
  height: 3rem;
  text-align: center;
  background: #111;
  color: #daa520;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

/* ── Mobile ── */

@media (min-width: 35em) {
  .hamburger {
    display: none;
  }

  .nav__links {
    display: flex;
  }

  .text {
    max-width: 85%;
    text-align: justify;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-post {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: calc(50% - 20px);
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
  }
}
