/* ================================
   Soft Dark Theme – styles.css
   Teal + Charcoal Gray
   ================================ */

:root {
  /* Backgrounds (more gray, less blue) */
  --bg-body: #6b7075;        /* charcoal with slight blue */
  --bg-elevated: #18232d;    /* cards / boxes */
  --bg-soft: #1c242c;        /* alt sections */
  --bg-highlight: #0a3442;   /* teal hero / header stripe */

  /* Accents */
  --accent: #7cc7e8;         /* soft aqua */
  --accent-strong: #9fe3ff;  /* brighter hover accent */
  --accent-cta: #ffb45a;         /* warm light orange */
  --accent-cta-strong: #ffd08a;  /* brighter orange for hover/gradient */
  --accent-cta-text: #1b1409;    /* dark text on orange */

  /* Text */
  --text-main: #f2f6f7;      /* near-white */
  --text-muted: #c6d5d9;     /* muted light text */

  /* Misc */
  --border-subtle: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);

  --radius-card: 12px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* ------------------------------ */
/* LINKS                          */
/* ------------------------------ */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* ------------------------------ */
/* LAYOUT                         */
/* ------------------------------ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-top: 80px; /* for sticky header */
}

/* ------------------------------ */
/* HEADER / NAV                   */
/* ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(
    135deg,
    rgba(10, 52, 66, 0.96),
    rgba(17, 24, 32, 0.96)
  );
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

/* Logo block */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 100%;
}

.site-header,
.header-inner,
.logo {
  overflow: hidden;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 600;
}

.logo-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Nav */

.nav {
  display: flex;
  gap: 0.75rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid transparent;
  text-decoration: none;
  transition: 0.12s ease;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--accent-strong);
}

.nav-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a3442;
}

/* ------------------------------ */
/* HERO SECTION                   */
/* ------------------------------ */

.hero {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(
    135deg,
    var(--bg-highlight),
    var(--bg-body)
  );
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ------------------------------ */
/* PAGE HEADERS                   */
/* ------------------------------ */

.page-header {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(
    135deg,
    var(--bg-highlight),
    var(--bg-soft)
  );
  border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
  margin: 0 0 0.75rem;
}

.page-header p {
  margin: 0;
  max-width: 600px;
  color: var(--text-muted);
}

/* ------------------------------ */
/* SECTIONS                       */
/* ------------------------------ */

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-alt {
  background-color: var(--bg-soft);
}

.section-highlight {
  background-color: var(--bg-highlight);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.centered {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.section-header-card {
  background: linear-gradient(
    135deg,
    var(--bg-highlight) 0%,
    var(--bg-soft) 100%
  );
  color: #fff;
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.75rem;
  border: none;
}

.section-header-card h2,
.section-header-card p {
  color: #fff;
}






/* ------------------------------ */
/* GRID                           */
/* ------------------------------ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    justify-content: center;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .logo img {
    margin: 0 auto;
  }

  .nav {
    margin-top: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
}

/* ------------------------------ */
/* CARDS + CALLOUTS / BLOCKS      */
/* ------------------------------ */

.card {
  background-color: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.card p {
  color: var(--text-muted);
}

/* Expandable cards on Services page */
.card-expandable {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-price {
  margin: 0.25rem 0 0.75rem;
  font-weight: 600;
  color: var(--text-bright);
}

.card-toggle {
  margin-top: 0.75rem;
}

.card-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0.5rem;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.card-open .card-details {
  max-height: 500px; /* big enough to reveal content */
  opacity: 1;
}


.callout {
  background-color: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.callout p {
  color: var(--text-muted);
}

/* Service / contact blocks */

.service-block,
.contact-box {
  background-color: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  margin-top: 1.75rem;
}

.service-tagline {
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.service-price {
  margin-top: 0.9rem;
  font-weight: 500;
}

.contact-detail {
  margin-top: 1rem;
}

.highlight-inner {
  max-width: 760px;
}

.highlight-inner p {
  color: var(--text-muted);
}

/* ------------------------------ */
/* LISTS                          */
/* ------------------------------ */

.bullet-list {
  padding-left: 1.2rem;
  list-style: disc;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

/* ------------------------------ */
/* BUTTONS                        */
/* ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.12s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a3442;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

/* Small variation */
.btn-small {
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
}

/* Orange CTA buttons */

.btn-cta {
  background: linear-gradient(
    135deg,
    var(--accent-cta),
    var(--accent-cta-strong)
  );
  color: var(--accent-cta-text);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}

.btn-cta:hover {
  background: linear-gradient(
    135deg,
    var(--accent-cta-strong),
    var(--accent-cta)
  );
  color: var(--accent-cta-text);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

/* ------------------------------ */
/* FOOTER                         */
/* ------------------------------ */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-soft);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===============================
   CONTACT FORM CARD + INPUT STYLES
   =============================== */

.contact-form {
  background: rgba(15, 20, 28, 0.85);
  padding: 1.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 1.1rem;
  color: #ffffff;
}

/* Label text */
.contact-form label {
  font-size: 0.9rem;
  color: #d8dbe0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Inputs + textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  background: #0f131a;
  border: 1px solid #2a323f;
  color: #ffffff;
  border-radius: 6px;
  font-size: 1rem;
  transition: 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4fd1c5;
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.25);
}

/* Only use 2-column grid on the Contact page */
.contact-section .highlight-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

/* MOBILE FIX: stack columns */
@media (max-width: 720px) {
  .contact-section .highlight-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================
   TESTIMONIAL STRIP / CAROUSEL
   ============================ */

.section-testimonials {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-testimonials h2 {
  margin-top: 0;
}

.section-testimonials .section-intro {
  max-width: 650px;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Layout: arrows outside strip */
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1rem;
}

/* Window that masks overflow + holds fades */
.testimonial-window {
  position: relative;
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-card);
}

/* Horizontal strip of cards */
.testimonial-track {
  display: flex;
  align-items: stretch;
}

/* Individual cards */
.testimonial-slide {
  flex: 0 0 calc((100% - 2rem) / 3); /* 3 visible on desktop */
  margin-right: 1rem;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.1rem;
}

.testimonial-slide:last-child {
  margin-right: 0;
}

/* Header area in card */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #222;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-person {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.98rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonial-quote {
  font-style: italic;
  margin: 0 0 0.65rem;
  color: var(--text-main);
}

.testimonial-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Fading edges */
.testimonial-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45px;
  pointer-events: none;
}

.testimonial-fade-left {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg-soft),
    transparent
  );
}

.testimonial-fade-right {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg-soft),
    transparent
  );
}

/* Nav buttons (outside the window) */
.testimonial-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1;
  transition: 0.12s ease;
}

.testimonial-nav:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: var(--accent-strong);
}

/* Mobile: show 1 card at a time */
@media (max-width: 720px) {
  .testimonial-carousel {
    gap: 0.5rem;
  }

  .testimonial-slide {
    flex: 0 0 100%;
    margin-right: 1rem;
  }

  .testimonial-window {
    border-radius: var(--radius-card);
  }

  .testimonial-nav {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
}
