/* ============================================
   BoldHearts — styles.css
   Palette: Gold/Cream, Greys, Blacks
   Fonts: Cormorant Garamond (headings) · Inter (body)
   ============================================ */

/* ---------- Reset & Base ---------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  color: #d4ccc4;
  background-color: #111111;
}

a {
  color: #e8d7a0;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f5e8c8;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}


/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #f0e8df;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
  position: relative;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #e8d7a0;
}

p {
  margin-bottom: 1rem;
  max-width: 720px;
}

strong {
  font-weight: 500;
  color: #e8e0d8;
}

em {
  color: #e8d7a0;
  font-style: italic;
}


/* ---------- Navigation ---------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 215, 160, 0.1);
}

nav .logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #f0e8df;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1001;
}

nav .logo span {
  color: #e8d7a0;
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav .nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a09890;
  transition: color 0.3s ease;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: #e8d7a0;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #e8d7a0;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* CTA nav button */
.cta-nav {
  background-color: #e8d7a0;
  color: #111111 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background-color 0.3s ease !important;
}

.cta-nav:hover {
  background-color: #f5e8c8;
  color: #111111 !important;
}


/* ---------- Hero ---------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
  background-color: #1a1714;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.75) 0%,
    rgba(17, 17, 17, 0.65) 50%,
    rgba(17, 17, 17, 0.95) 100%
  );
  z-index: 1;
}

.hero-small {
  min-height: 50vh;
}

.hero-small::before {
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.8) 0%,
    rgba(17, 17, 17, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 1.15rem;
  color: #b0a898;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-content .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e8d7a0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ---------- Sections (shared) ---------- */

section {
  padding: 5rem 2rem;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: #e8d7a0;
  margin-top: 1rem;
}

section p,
section ul {
  max-width: 720px;
}


/* ---------- Trust Section ---------- */

.trust-section {
  background-color: #151515;
  padding: 4rem 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-card {
  background: #1e1c1a;
  border: 1px solid rgba(232, 215, 160, 0.15);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
}

.trust-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e8d7a0;
  margin-bottom: 0.5rem;
}

.trust-card p {
  color: #a09890;
  font-size: 0.95rem;
  margin: 0;
}


/* ---------- Testimonials ---------- */

.testimonials {
  background-color: #1e1b18;
  padding: 5rem 2rem;
  text-align: center;
}

.testimonials h2 {
  text-align: center;
}

.testimonials h2::after {
  margin: 1rem auto 0;
}

.testimonials-container {
  max-width: 800px;
  margin: 3rem auto;
  position: relative;
  min-height: 300px;
}

.testimonial-card {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  top: 0;
  left: 0;
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
}

.testimonial-quote {
  font-size: 3rem;
  color: #e8d7a0;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: -1rem;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.1rem;
  color: #d4ccc4;
  line-height: 1.9;
  margin: 1.5rem 0 2rem;
  font-style: italic;
}

.testimonial-author {
  color: #a09890;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: 2px solid #e8d7a0;
  color: #e8d7a0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: #e8d7a0;
  color: #111111;
}

.dots-container {
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(232, 215, 160, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #e8d7a0;
  width: 30px;
  border-radius: 6px;
}

.dot:hover {
  background-color: #e8d7a0;
}


/* ---------- How It Works ---------- */

.how-it-works {
  background-color: #151515;
  padding: 5rem 2rem;
  text-align: center;
}

.how-it-works h2 {
  text-align: center;
}

.how-it-works h2::after {
  margin: 1rem auto 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.step {
  background: #1e1c1a;
  border: 1px solid rgba(232, 215, 160, 0.12);
  border-radius: 6px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #e8d7a0;
  color: #111111;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.step p {
  color: #a09890;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}


/* ---------- Services ---------- */

.services {
  background-color: #151515;
  padding: 5rem 2rem;
}

.services h2 {
  text-align: center;
}

.services h2::after {
  margin: 1rem auto 0;
}

.services > p,
.services > ul {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.services-alt {
  background-color: #1a1816;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}

.service-card {
  background: #1e1c1a;
  border: 1px solid rgba(232, 215, 160, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 215, 160, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #111111;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.3rem;
  padding: 2rem 2rem 0.5rem;
}

.service-card p {
  color: #a09890;
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 0 2rem 1rem;
}

.service-link {
  display: inline-block;
  padding: 0 2rem 2rem;
  font-size: 0.9rem;
  color: #e8d7a0;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #f5e8c8;
}

.services ul {
  padding-left: 0;
}

.services ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  color: #b0a898;
  font-size: 0.95rem;
}

.services ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: #e8d7a0;
}

.services-alt ul li::before {
  content: '';
}


/* ---------- Quote ---------- */

.quote {
  padding: 5rem 2rem;
  background-color: #1e1b18;
  color: #f0e8df;
  text-align: center;
  border-top: 1px solid rgba(232, 215, 160, 0.1);
  border-bottom: 1px solid rgba(232, 215, 160, 0.1);
}

.quote blockquote {
  font-size: 1.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ---------- Audience ---------- */

.audience {
  padding: 5rem 2rem;
  background-color: #151515;
}

.audience ul {
  list-style: none;
  padding: 0;
  max-width: 720px;
}

.audience li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 215, 160, 0.12);
  color: #b0a898;
}


/* ---------- About ---------- */

.about {
  background-color: #151515;
  padding: 5rem 2rem;
  max-width: 100%;
}

.about p {
  color: #b0a898;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 720px;
}

.about-alt {
  background-color: #1a1816;
}

.about ul {
  list-style: none;
  padding: 0;
}

.about li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 215, 160, 0.12);
  color: #b0a898;
}


/* ---------- CTA ---------- */

.cta {
  background-color: #1e1b18;
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid rgba(232, 215, 160, 0.1);
  border-bottom: 1px solid rgba(232, 215, 160, 0.1);
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta h2::after {
  margin: 1rem auto 0;
}

.cta p {
  color: #a09890;
  font-size: 1.05rem;
  margin: 0 auto 2.5rem;
  max-width: 550px;
}


/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111111;
  background-color: #e8d7a0;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  border: 2px solid #e8d7a0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: #e8d7a0;
}

.btn-secondary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8d7a0;
  background-color: transparent;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  border: 2px solid rgba(232, 215, 160, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: #e8d7a0;
  background-color: rgba(232, 215, 160, 0.08);
}


/* ---------- Contact ---------- */

.contact {
  background-color: #151515;
  padding: 5rem 2rem;
}

.contact h2::after {
  margin-top: 1rem;
}

.contact h3 {
  margin-top: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8078;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  background-color: #1e1c1a;
  border: 1px solid rgba(232, 215, 160, 0.15);
  border-radius: 4px;
  color: #d4ccc4;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #e8d7a0;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e8d7a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form button {
  width: 100%;
  margin-top: 0.5rem;
}

.form-group {
  margin-bottom: 0.25rem;
}


/* ---------- Footer ---------- */

footer {
  background-color: #0d0d0d;
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(232, 215, 160, 0.08);
}

footer p {
  color: #5a5550;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  max-width: none;
  margin: 0 auto 0.4rem;
}


/* ---------- Utility ---------- */

.text-center {
  text-align: center;
}

.text-accent {
  color: #e8d7a0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-dark {
  background-color: #111111;
}

.section-darker {
  background-color: #0d0d0d;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(232, 215, 160, 0.2),
    transparent
  );
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ============================================
   RESPONSIVE — Tablet (max 768px)
   ============================================ */

@media (max-width: 768px) {

  /* Nav — show hamburger, hide links */
  .nav-toggle {
    display: flex;
  }

  nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(16px);
    justify-content: center;
    z-index: 999;
  }

  nav .nav-links.open {
    display: flex;
  }

  nav .nav-links li {
    width: 100%;
    text-align: center;
  }

  nav .nav-links a {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    padding: 1.25rem 2rem;
    color: #d4ccc4;
    border-bottom: 1px solid rgba(232, 215, 160, 0.08);
  }

  nav .nav-links a:hover,
  nav .nav-links a.active {
    color: #e8d7a0;
    background: rgba(232, 215, 160, 0.05);
  }

  .cta-nav {
    background-color: #e8d7a0 !important;
    color: #111111 !important;
    margin: 1.5rem auto 0;
    width: calc(100% - 4rem);
    border-radius: 4px;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
    padding: 5rem 1.5rem 3rem;
  }

  .hero-small {
    min-height: 40vh;
  }

  .hero-content .tagline {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
  }

  /* Sections */
  section {
    padding: 3.5rem 1.5rem;
  }

  /* Quote */
  .quote blockquote {
    font-size: 1.25rem;
  }

  /* Services */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-image {
    height: 180px;
  }

  /* Steps */
  .steps-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  /* Trust */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-container {
    min-height: 250px;
  }

  .testimonial-controls {
    gap: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}


/* ============================================
   RESPONSIVE — Mobile (max 480px)
   ============================================ */

@media (max-width: 480px) {

  /* Nav logo */
  nav .logo {
    font-size: 1.15rem;
  }

  nav {
    padding: 1rem 1.25rem;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    padding: 5rem 1.25rem 3rem;
    background-attachment: scroll; /* fixes iOS parallax bug */
  }

  .hero-small {
    min-height: 35vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .tagline {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  /* Sections */
  section {
    padding: 3rem 1.25rem;
  }

  /* Trust */
  .trust-section {
    padding: 2.5rem 1.25rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-card {
    padding: 1.5rem;
  }

  .trust-number {
    font-size: 2rem;
  }

  /* Steps */
  .steps-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step {
    padding: 1.5rem;
  }

  /* Services */
  .service-card {
    padding: 0;
  }

  .service-image {
    height: 160px;
  }

  /* Quote */
  .quote {
    padding: 3rem 1.25rem;
  }

  .quote blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  /* Testimonials */
  .testimonials-container {
    min-height: 280px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-prev,
  .testimonial-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 24px;
  }

  /* Audience */
  .audience li {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  /* Footer */
  footer {
    padding: 2rem 1.25rem;
  }
}
