/* ===================================================
   Copper & Comb — Style Sheet
   Palette: Copper #B87333, Cream #FFF8F0,
            Charcoal #2A2A2A, Warm White #FAFAFA
   =================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #2A2A2A;
  background: #FAFAFA;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(42, 42, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 0;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #B87333;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #FFF8F0;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #B87333;
}

.nav-link-back {
  opacity: 0.7;
  font-size: 0.85rem !important;
}

.nav-link-back:hover,
.nav-link-back:focus {
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFF8F0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(42, 42, 42, 0.55), rgba(42, 42, 42, 0.7)),
    url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?w=1920&q=80') center/cover no-repeat;
  background-attachment: fixed;
  padding: 80px 20px 60px;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: #FFF8F0;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #B87333;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #B87333;
  color: #FFF8F0;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus {
  background: #a0612a;
  transform: translateY(-2px);
}

/* --- Section Titles --- */
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #2A2A2A;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #B87333;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: #FFF8F0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 115, 51, 0.1);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(184, 115, 51, 0.15);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #B87333;
}

.service-name {
  font-size: 1.25rem;
  color: #2A2A2A;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.5;
}

.service-price {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #B87333;
}

/* --- Booking CTA --- */
.booking {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(184, 115, 51, 0.12) 0%, transparent 70%),
    #2A2A2A;
  text-align: center;
}

.booking-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-title {
  color: #FFF8F0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.booking-text {
  color: rgba(255, 248, 240, 0.7);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.btn-book {
  display: inline-block;
  padding: 16px 48px;
  background: #B87333;
  color: #FFF8F0;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.btn-book:hover,
.btn-book:focus {
  background: #a0612a;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 115, 51, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(184, 115, 51, 0.15);
  }
}

.pulse-btn {
  animation: pulse 3s infinite;
}

/* --- Gallery --- */
.gallery {
  padding: 100px 0;
  background: #FAFAFA;
}

.gallery-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar {
  height: 6px;
}

.gallery-strip::-webkit-scrollbar-track {
  background: rgba(42, 42, 42, 0.05);
  border-radius: 3px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(184, 115, 51, 0.3);
  border-radius: 3px;
}

.gallery-item {
  flex: 0 0 280px;
  height: 200px;
  border-radius: 10px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  background-size: cover;
  background-position: center;
}

.gallery-item:hover {
  transform: scale(1.03);
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: #FFF8F0;
  text-align: center;
}

.testimonials .section-title {
  color: #2A2A2A;
}

.testimonial-carousel {
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial {
  position: absolute;
  max-width: 640px;
  opacity: 0;
  transition: opacity 0.5s ease;
  border: none;
  margin: 0;
  padding: 0;
}

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

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: #2A2A2A;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: #B87333;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #B87333;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.dot.active {
  background: #B87333;
}

.dot:hover,
.dot:focus {
  background: rgba(184, 115, 51, 0.5);
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: #FAFAFA;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-info h3,
.contact-hours h3 {
  font-size: 1.2rem;
  color: #B87333;
  margin-bottom: 16px;
}

.contact-info address {
  font-style: normal;
  line-height: 1.8;
  color: #2A2A2A;
}

.contact-info a {
  color: #B87333;
  transition: opacity 0.3s ease;
}

.contact-info a:hover,
.contact-info a:focus {
  opacity: 0.7;
}

.hours-table {
  border-collapse: collapse;
  width: 100%;
}

.hours-table td {
  padding: 6px 0;
  font-size: 0.95rem;
  color: #2A2A2A;
}

.hours-table td:first-child {
  font-weight: 700;
  padding-right: 20px;
  white-space: nowrap;
}

/* --- WebForge Badges --- */
.wf-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(184, 115, 51, 0.1);
  border: 1px solid rgba(184, 115, 51, 0.2);
  border-radius: 100px;
  font-size: 13px;
  color: #B87333;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  margin: 12px 0;
}

.wf-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.wf-badge-icon {
  font-size: 16px;
}

.wf-badge-close {
  background: none;
  border: none;
  color: rgba(184, 115, 51, 0.6);
  cursor: pointer;
  font-size: 16px;
  padding: 0 0 0 4px;
  line-height: 1;
}

.wf-badge-close:hover {
  color: #B87333;
}

/* --- Footer --- */
.site-footer {
  padding: 40px 0;
  background: #2A2A2A;
  text-align: center;
  color: rgba(255, 248, 240, 0.5);
  font-size: 0.85rem;
}

.site-footer a {
  color: #B87333;
  transition: opacity 0.3s ease;
}

.site-footer a:hover,
.site-footer a:focus {
  opacity: 0.7;
}

.footer-credit {
  margin-top: 6px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(42, 42, 42, 0.97);
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
  }

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

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

  .nav-links a {
    display: block;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hours-table {
    margin: 0 auto;
    width: auto;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero {
    background-attachment: scroll;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .wf-badge {
    opacity: 1;
    transform: none;
  }
}
