/* Wood Theme Color Palette */
:root {
  /* Tuned to match imgs/logo.png (warm walnut + golden lettering) */
  --wood-dark: #2a1408;
  --wood-medium: #5a2b10;
  --wood-light: #8a3f15;
  --wood-accent: #d7a312; /* gold */
  --wood-cream: #f3e5c4;  /* warm cream */
  --wood-tan: #c8831f;    /* amber */
  --bg-light: #fbf5ea;
  --bg-dark: #1f0f08;
  --text-dark: #241309;
  --text-light: #fbf5ea;
  --shadow: rgba(42, 20, 8, 0.22);
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(61, 40, 23, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
  border-bottom: 2px solid var(--wood-medium);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(243, 229, 196, 0.35);
  background: rgba(42, 20, 8, 0.25);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color: var(--wood-cream);
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--wood-accent);
  outline-offset: 3px;
}

.nav-toggle-icon {
  font-size: 18px;
  line-height: 1;
  width: 22px;
  display: inline-grid;
  place-items: center;
}

.nav-toggle-icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon--close {
  display: inline-grid;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--wood-cream);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(243, 229, 196, 0.9);
  border: 2px solid rgba(200, 131, 31, 0.75);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  flex: 0 0 auto;
}

.logo-text {
  letter-spacing: 0.3px;
  white-space: nowrap;
}

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

.nav-menu a {
  color: var(--wood-cream);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--wood-tan);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wood-tan);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 50%, var(--wood-light) 100%);
  overflow: hidden;
  margin-top: 60px;
}

.wood-grain-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 4px
    );
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(92vw, 720px);
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.5));
  animation: fadeInUp 1s ease 0.1s both;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--wood-cream);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--wood-accent);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--wood-tan);
  animation: fadeInUp 1s ease 0.7s both;
}

.btn-primary:hover {
  background: var(--wood-tan);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--wood-dark);
  margin-bottom: 1rem;
  position: relative;
}

.wood-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--wood-medium), transparent);
  margin: 1rem auto;
  position: relative;
}

.wood-divider::before,
.wood-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--wood-medium);
  border-radius: 50%;
  transform: translateY(-50%);
}

.wood-divider::before {
  left: -15px;
}

.wood-divider::after {
  right: -15px;
}

.section-description {
  color: var(--wood-light);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* About Section */
.about {
  background: var(--bg-light);
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-tagline {
  margin-bottom: 1.25rem;
  color: var(--wood-medium);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.bio-card {
  background: linear-gradient(135deg, var(--wood-cream) 0%, #fff4dc 100%);
  border: 2px solid rgba(200, 131, 31, 0.45);
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
  padding: 1.5rem;
}

.bio-title {
  margin-bottom: 0.75rem;
  color: var(--wood-dark);
  font-size: 1.15rem;
}

.bio-card p {
  margin-bottom: 0.9rem;
  color: var(--text-dark);
}

.bio-note {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: var(--wood-medium);
}

.muted {
  opacity: 0.8;
}

.trustpilot-link {
  color: var(--wood-medium);
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 43, 16, 0.35);
}

.trustpilot-link:hover {
  color: var(--wood-dark);
  border-bottom-color: rgba(90, 43, 16, 0.75);
}

.trustpilot-link:focus-visible {
  outline: 3px solid var(--wood-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.inline-link {
  color: var(--wood-medium);
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 43, 16, 0.35);
}

.inline-link:hover {
  color: var(--wood-dark);
  border-bottom-color: rgba(90, 43, 16, 0.75);
}

.inline-link:focus-visible {
  outline: 3px solid var(--wood-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--wood-cream) 0%, #e8ddd0 100%);
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
  border: 2px solid var(--wood-tan);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.social-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.social-card:focus-visible {
  outline: 3px solid var(--wood-accent);
  outline-offset: 4px;
}

.social-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: rgba(61, 40, 23, 0.08);
  border: 1px solid rgba(61, 40, 23, 0.18);
  display: grid;
  place-items: center;
}

.social-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--wood-dark);
}

.social-card:hover .social-icon {
  background: rgba(61, 40, 23, 0.12);
}

.social-card:hover .social-icon svg {
  fill: var(--wood-medium);
}

.feature h3 {
  color: var(--wood-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.feature p {
  color: var(--wood-light);
}

/* Gallery Section */
.gallery {
  background: linear-gradient(180deg, var(--bg-light) 0%, #ebe5dc 100%);
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background: var(--wood-cream);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid var(--wood-tan);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  background: linear-gradient(135deg, var(--wood-medium) 0%, var(--wood-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
  transition: transform 0.35s ease;
}

.gallery-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.05) 3px,
      rgba(0, 0, 0, 0.05) 6px
    );
  opacity: 0.6;
  pointer-events: none;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.06);
}

.placeholder-image {
  font-size: 5rem;
  z-index: 1;
  position: relative;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.gallery-info {
  padding: 1.5rem;
  background: var(--wood-cream);
}

.gallery-info h3 {
  color: var(--wood-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.gallery-info p {
  color: var(--wood-light);
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  background: var(--wood-dark);
  color: var(--text-light);
  padding: 5rem 0;
}

.contact .section-header h2 {
  color: var(--text-light);
}

.contact .wood-divider {
  background: linear-gradient(90deg, transparent, var(--wood-tan), transparent);
}

.contact .wood-divider::before,
.contact .wood-divider::after {
  background: var(--wood-tan);
}

.contact .section-description {
  color: var(--wood-cream);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.contact-info {
  max-width: 640px;
  margin: 0 auto;
}

.contact-socials {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.contact-link {
  color: var(--wood-cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 196, 176, 0.35);
}

.contact-link:hover {
  border-bottom-color: rgba(212, 196, 176, 0.8);
}

.contact-link:focus-visible {
  outline: 3px solid var(--wood-tan);
  outline-offset: 4px;
  border-radius: 4px;
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(139, 90, 60, 0.2);
  border-radius: 10px;
  border: 1px solid var(--wood-medium);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h3 {
  color: var(--wood-tan);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--wood-cream);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--wood-cream);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--wood-medium);
  border-radius: 8px;
  background: rgba(139, 90, 60, 0.2);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wood-tan);
  background: rgba(139, 90, 60, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--wood-cream);
  opacity: 0.6;
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--wood-dark);
  color: var(--wood-cream);
  text-align: center;
  padding: 2rem;
  border-top: 2px solid var(--wood-medium);
}

.footer-note {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--wood-tan);
}

/* Brochure (very bottom) */
.brochure {
  background: var(--bg-light);
  padding: 2rem 0 4rem;
}

.brochure-container {
  padding-top: 2rem;
}

.brochure-header {
  margin-bottom: 2rem;
}

.brochure-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  background: rgba(243, 229, 196, 0.35);
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  border: 3px solid var(--wood-tan);
  box-shadow: 0 12px 30px rgba(61, 40, 23, 0.25);
}

/* Trustpilot reviews carousel */
.reviews {
  /* Trustpilot-like: clean light background */
  background: #f8f8f8;
  padding: 4rem 0;
}

.reviews-carousel {
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  /* Trustpilot-like: white card + subtle border + green accent */
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #00b67a; /* Trustpilot green */
}

.review-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 700;
  color: #111111;
}

.review-date {
  color: #6b6b6b;
  font-size: 0.95rem;
  opacity: 0.9;
}

.review-rating {
  color: #00b67a; /* Trustpilot green */
  margin: 0.25rem 0 0.75rem;
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.review-text {
  color: #1f1f1f;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.review-source {
  color: #6b6b6b;
  font-size: 0.95rem;
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.reviews-btn {
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #1f1f1f;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

.reviews-btn:hover {
  background: #f1f1f1;
}

.reviews-btn:focus-visible {
  outline: 3px solid #00b67a;
  outline-offset: 3px;
}

.reviews-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  cursor: pointer;
}

.reviews-dot.is-active {
  background: #00b67a;
  border-color: #00b67a;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-carousel * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-container {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    left: auto;
    width: min(520px, calc(100vw - 24px));
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    margin: 0;
    background: linear-gradient(180deg, rgba(42, 20, 8, 0.98), rgba(31, 15, 8, 0.98));
    border: 1px solid rgba(243, 229, 196, 0.18);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-menu.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    background: rgba(243, 229, 196, 0.08);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .contact-socials {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-badge {
    width: 32px;
    height: 32px;
  }

  /* nav-menu is a dropdown on mobile; no horizontal tuning needed here */

  .hero-title {
    font-size: 2rem;
  }

  .container {
    padding: 3rem 1rem;
  }
}
