/* Stoneyard Plus - Match to provided design */
:root {
  --charcoal: #343a40;
  --charcoal-dark: #2c3136;
  --gold: #c19a6b;
  --gold-light: #d4af7a;
  --nav-beige: #d4b896;
  --white: #ffffff;
  --gray-light: #adb5bd;
  --gray-muted: #6c757d;
  --overlay: rgba(52, 58, 64, 0.75);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--white);
  background: var(--charcoal);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Header: floating bar over hero, does not span full screen */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  pointer-events: none;
}

.site-header .header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  background: rgba(52, 58, 64, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--nav-beige);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.logo:hover {
  color: var(--gold-light);
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  color: var(--nav-beige);
  stroke: currentColor;
}

.logo:hover .logo-icon svg {
  color: var(--gold-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-nav a {
  color: var(--nav-beige);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.main-nav .btn-cta {
  background: var(--nav-beige);
  color: var(--charcoal) !important;
  padding: 0.55rem 1.35rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, box-shadow 0.2s;
}

.main-nav .btn-cta:hover {
  background: var(--gold-light);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

/* Hero: full-width bg image, overlay, headline in gold script, subtitle */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/hero-bg.jpg') center center / cover no-repeat;
  padding: 8rem 2rem 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.95;
  font-weight: 300;
}

/* Section common */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-light);
  font-size: 0.95rem;
  margin: 0 0 3rem;
}

.section-dark {
  background: var(--charcoal);
}

.section-projects {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section-projects .section-title,
.section-projects .section-subtitle {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-light {
  background: var(--white);
}

.section-title-dark {
  color: var(--charcoal);
}

.section-subtitle-dark {
  color: var(--gray-muted);
}

/* Why Stoneyard Plus - 3 cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}

.feature-card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 6px;
}

.feature-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin: 1rem 0 0.5rem;
}

.feature-card-desc {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Our Process - 4 steps with gold outline icons */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

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

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.75rem;
}

.process-icon svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
  stroke: var(--gold);
  fill: none;
}

.process-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.process-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.process-desc {
  color: var(--gray-light);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.process-steps-light .process-num,
.process-steps-light .process-title {
  color: var(--charcoal);
}

.process-steps-light .process-desc {
  color: var(--gray-muted);
}

.process-num-dark { color: var(--charcoal); }
.process-title-dark { color: var(--charcoal); }
.process-desc-dark { color: var(--gray-muted); }

/* Featured Projects carousel – card-style with caption overlay */
.projects-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.carousel {
  position: relative;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(193, 154, 107, 0.25);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

/* Project slide: image + bottom gradient + caption */
.project-slide {
  position: relative;
}

.project-slide-image {
  position: relative;
  aspect-ratio: 3/1;
  overflow: hidden;
}

.project-slide-image::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(52, 58, 64, 0.85), transparent);
  pointer-events: none;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.project-slide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.project-slide-accent {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--charcoal-dark);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.carousel-btn:hover {
  background: var(--gold);
  transform: translateY(-50%) scale(1.05);
}

.projects-carousel .carousel-btn-prev {
  left: -20px;
}

.projects-carousel .carousel-btn-next {
  right: -20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-muted);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dots button:hover {
  background: var(--gray-light);
}

.projects-carousel .carousel-dots button.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Testimonials section */
.testimonials {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/testimonial-bg.jpg') center center / cover no-repeat;
  padding: 4rem 2rem;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.testimonials-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.testimonials .section-title {
  margin-bottom: 2rem;
}

.testimonials-carousel {
  margin: 0 auto;
}

/* No box: testimonials sit on background; prevent letterbox */
.testimonials-carousel .carousel-track-wrap {
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: transparent;
}

.testimonials-carousel .carousel-slide {
  min-width: 0;
  width: 100%;
  flex-shrink: 0;
  flex-basis: 100%;
  box-sizing: border-box;
}

.testimonial-slide {
  padding: 0 2rem;
}

.testimonial-quote {
  margin: 0;
  position: relative;
  padding-left: 2rem;
  max-width: 100%;
  overflow-wrap: break-word;
}

.quote-mark {
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
}

.testimonial-quote p {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.testimonial-quote cite {
  color: var(--white);
  font-style: normal;
  font-size: 0.95rem;
}

.testimonials-dots button.active {
  background: var(--gold);
}

/* Footer */
.site-footer {
  background: var(--charcoal);
}

.footer-main {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.75rem;
}

.footer-text {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.newsletter-form input {
  padding: 0.65rem 1rem;
  border: 1px solid var(--gray-muted);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: var(--gray-muted);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-subscribe {
  padding: 0.65rem 1.5rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.btn-subscribe:hover {
  background: var(--gold-light);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icons a,
.footer-bottom-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--white);
  transition: background 0.2s, color 0.2s;
}

.social-icons a svg,
.footer-bottom-social a svg {
  width: 20px;
  height: 20px;
}

.social-icons a:hover,
.footer-bottom-social a:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* Footer bottom bar */
.footer-bottom {
  background: var(--charcoal-dark);
  padding: 1rem 2rem;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-bottom-inner > a {
  color: var(--white);
  font-size: 0.9rem;
}

.footer-bottom-social {
  display: flex;
  gap: 0.5rem;
}

.footer-bottom-social a {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--white);
}

.footer-bottom-social a svg {
  width: 18px;
  height: 18px;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  color: var(--gray-light);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .main-nav a:not(.btn-cta) {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .carousel-btn-prev {
    left: 8px;
  }

  .carousel-btn-next {
    right: 8px;
  }
}
