@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@500;700&display=swap');

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 125px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: #E4E8EB;
  background-color: #1B242F;
  line-height: 1.8;
}

/* NAVBAR */
.navbar {
  width: 100%;
  display: flex;
  flex-direction:column;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 0px;
}

.hidden {
  transform: translateY(-100%);
}

.nav-up{
  background-color: #121A23;
  color: #E4E8EB;
  height: 85px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-items: center;
  z-index: 3;
  border-bottom: 1px solid #2A3946;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.navbar img{
  margin-top: 10px;
  display: block;
}

.navbar img {
  height: 45px;
}

.nav-up > div {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-down{
  z-index: 1;
  background-color: #1B242F;
  height: 40px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  border-bottom: 1px solid #2A3946;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  padding-left: 15%;
  padding-right: 15%;
}

.normal {
  color: #D0E4EA;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.normal::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  height: 2px;
  width: 0;
  background: #C7B299;
  transition: width 0.3s ease;
}

.normal:hover::after {
  width: 100%;
}

.standout {
  border: 1.5px solid #C7B299;
  border-radius: 18px;
  padding: 0px 5px;
  color: #C7B299;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.standout:hover {
  border-radius: 18px;
  padding: 0px 5px;
  background-color: #C7B299;
  color: #1B242F;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* HERO */
.hero {
  height: 80vh;
  background-image: url("../Images/view.webp");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%; /* portrait clips: bias toward the action up top */
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
  pointer-events: none;
}

.hero-video.active {
  opacity: 1;
}

/* Don't autoplay background video for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, transparent 0%, #1B242F 100%);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  padding: 10px 15px;
  text-align: center;
  margin-top: 35svh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 60%;
  animation: fadeInUp 1.2s ease-out;
  transition: background-color 0.3s ease;
}


.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #F5F3EF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.hero-overlay .hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  font-style: normal;
  color: #F5F3EF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
  font-size: 1.2rem;
  font-style: italic;
  color: #D0E4EA;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (min-width: 700px) {
  .hero-overlay {
    max-width: 70%;
    padding: 25px 40px;
  }
  .hero-overlay h1 {
    font-size: 3rem;
  }
  .hero-overlay .hero-tagline {
    font-size: 1.8rem;
  }
  .hero-overlay p {
    font-size: 1.35rem;
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TRUST BADGE STRIP (static info, not buttons — no border/hover so it doesn't look clickable) */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 28px;
  row-gap: 10px;
  padding: 16px 15px;
  background-color: #121A23;
  border-bottom: 1px solid #2A3946;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C7B299;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: relative;
}

.trust-badge svg {
  flex-shrink: 0;
}

/* Small dot divider between badges instead of a button-like border */
.trust-badge:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3A4A58;
}

/* FOOTER */
.footer {
  background-color: #121A23;
  color: #E4E8EB;
  text-align: center;
  padding: 30px 10px;
  font-size: 0.95rem;
  border-top: 1px solid #344452;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-info p {
  margin: 2px 0;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #C7B299;
}

.footer a {
  color: #C7B299;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.footer-social a {
  color: #E4E8EB;
  display: inline-flex;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: #C7B299;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.8rem;
  color: #9FB0BC;
  margin-top: 8px;
}

.footer-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 14px;
  border: 1px solid #C7B299;
  border-radius: 18px;
  color: #C7B299;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

/* FAQ ACCORDION */
.faq-wrap {
  flex-direction: column;
  background-color: transparent;
  border: none;
}

.faq-item {
  border: 1px solid #2A3946;
  border-radius: 8px;
  margin-bottom: 14px;
  background-color: rgba(18, 26, 35, 0.85);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #C7B299;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  font-size: 1.6rem;
  line-height: 1;
  color: #C7B299;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  background-color: rgba(199, 178, 153, 0.08);
}

.faq-item p {
  padding: 0 22px 18px 22px;
  font-size: 1.1rem;
  color: #E0E4E8;
}

.faq-item a {
  color: #C7B299;
}

/* SERVICE / LANDING PAGES */
.service-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 40px 25px 20px;
  color: #E0E4E8;
}

.service-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #C7B299;
  margin-bottom: 20px;
  line-height: 1.25;
}

.service-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #C7B299;
  margin: 30px 0 12px;
}

.service-content p,
.service-content li {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.service-content ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.before-after-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #C7B299;
  margin-bottom: 25px;
  display: block;
}

.service-hero-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #C7B299;
  margin-bottom: 25px;
  display: block;
}

.video-showcase {
  text-align: center;
  margin-bottom: 10px;
}

.video-showcase video {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 10px;
  border: 1px solid #C7B299;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: #000;
}

/* BEFORE / AFTER DRAG SLIDER */
.ba-slider {
  max-width: 480px;
  margin: 0 auto 30px;
}

.ba-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 15 / 16;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #C7B299;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  --pos: 50%;
}

.ba-frame img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-frame .ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-tag {
  position: absolute;
  top: 14px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #F5F3EF;
  background: rgba(18, 26, 35, 0.75);
  border: 1px solid #C7B299;
  border-radius: 14px;
  pointer-events: none;
  z-index: 2;
}

.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: #C7B299;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.ba-divider::after {
  content: '\21C6';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #C7B299;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B242F;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
}

.ba-hint {
  text-align: center;
  font-size: 0.95rem;
  color: #B8C4CD;
  font-style: italic;
  margin-top: 10px;
}

.cta-row {
  text-align: center;
  margin: 35px 0 10px;
}

.cta-button {
  display: inline-block;
  border: 1.5px solid #C7B299;
  border-radius: 24px;
  padding: 12px 28px;
  color: #C7B299;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #C7B299;
  color: #1B242F;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.service-areas {
  font-style: italic;
  color: #B8C4CD;
}

/* "Learn more" link on homepage service cards */
.learn-more {
  display: inline-block;
  margin: 8px 20px 0;
  color: #C7B299;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.learn-more:hover {
  border-bottom-color: #C7B299;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* RESPONSIVE NAVBAR (applies to every page) */
@media (max-width: 800px) {
  .nav-down {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Narrow phones: keep the text links on one row and drop the CTA to its own row */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 165px;
  }
  .nav-down {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 6px 8px;
    row-gap: 6px;
    column-gap: 12px;
  }
  .nav-down a {
    font-size: 0.82rem;
  }
  /* Full-width centered CTA on its own line — never clips */
  .nav-down .standout {
    flex-basis: 100%;
    text-align: center;
    margin-top: 2px;
    padding: 3px 0;
  }
  /* Keep the script logo from spilling past the screen edge.
     The width constraint lives on the <a> (which has a definite
     containing-block width) instead of the <img> itself — putting a
     percentage width directly on the img caused the anchor to keep the
     image's full native width, leaving dead space beside the shrunk image. */
  .nav-up a {
    display: block;
    max-width: 80%;
  }
  .navbar img {
    height: auto;
    max-width: 100%;
    margin-top: 0;
  }
}

/* Smallest phones: shrink links a touch more so all five fit one row */
@media (max-width: 360px) {
  .nav-down {
    column-gap: 9px;
  }
  .nav-down a {
    font-size: 0.75rem;
  }
}
