:root {
  --font: 'Lora', serif;
  --black: #000;
  --white: #fff;
  --gold: #eec160;
  --text-dark: #111;
  --text-light: #f4f4f4;
  --bg-light: #fff;
  --bg-dark: #111;
  --transition: 0.5s ease;
  --navbar-height: 100px; /* Default navbar height for desktop */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Accessible hidden content (for SEO & screen readers) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  margin: 0;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--black);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 0;
}

/* === Navbar ===
   The site navigation now lives in navbar.html (self-contained styles +
   markup), shared across all public pages. The legacy .navbar/.logo/
   .hamburger/.nav-links rules were removed from here on the revamp. */
@media (max-width: 768px) {
  :root {
    --navbar-height: 60px; /* Adjusted navbar height for mobile */
  }
}

/* === Hero Carousel === */
.hero-carousel {
  position: relative;
  overflow: hidden;
  margin-top: var(--navbar-height);
}

.carousel {
  position: relative;
  width: 100%;
  height: 60vh;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  opacity: 0;
  transition: opacity var(--transition);
  align-self: center;
  display: flex;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-book-button {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.book-button {
  background: var(--gold);
  color: var(--black);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  box-shadow: 0 0 25px #f0d58d;
}

.book-button:hover {
  background: #f0d58d;
  color: var(--black);
  box-shadow: 0 0 15px rgba(238, 193, 96, 0.8);
}

@media (max-width: 768px) {
  .carousel {
    height: 55vh;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .carousel-book-button {
    bottom: 30px;
  }

  .book-button {
    font-size: 0.9rem;
    padding: 10px 20px;
    box-shadow: 0 0 8px rgba(238, 193, 96, 0.6);
  }

  .book-button:hover {
    box-shadow: 0 0 12px rgba(238, 193, 96, 0.8);
  }
}

/* === Services === */
#services-grid .service-category {
  grid-column: 1 / -1;
  margin: 1.5em 0 0.5em;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid #6b6b6b;
  padding: 5px;
}

.services {
  background: var(--bg-light);
  margin-top: 0;
  padding-top: 0;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-and-photo {
  margin-bottom: 40px;
}

/* Social Strip */
.social-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  font-size: 1.25rem;
  color: #333;
  text-shadow: 0 0 0.5px #E1306C;
  background-color: #ffe9a6;
  border-radius: 25px;
  margin-bottom: 15px;
}

.social-strip a {
  margin: 0 5px;
  color: #333;
  text-decoration: none;
}

.social-strip a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .social-strip {
    font-size: 1rem;
    padding: 5px 0;
  }
}

/* Desktop Layout */
@media (min-width: 769px) {
  .features-and-photo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 5px; /* Reduced for less vertical spacing */
    justify-items: center;
    align-items: center;
  }

  .features .feature-tile:nth-child(1) { grid-column: 1; grid-row: 1; }
  .features .feature-tile:nth-child(2) { grid-column: 1; grid-row: 2; }
  .features .feature-tile:nth-child(3) { grid-column: 1; grid-row: 3; }
  .offer-photo { grid-column: 2; grid-row: 1 / span 3; }
  .features .feature-tile:nth-child(4) { grid-column: 3; grid-row: 1; }
  .features .feature-tile:nth-child(5) { grid-column: 3; grid-row: 2; }
  .features .feature-tile:nth-child(6) { grid-column: 3; grid-row: 3; }
}

/* Narrower Screens (including Mobile) */
@media (max-width: 768px) {
  .features-and-photo {
    display: flex;
    flex-direction: column;
  }

  .features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* Increased for more vertical spacing */
    margin-bottom: 20px;
  }

  .offer-photo {
    text-align: center;
  }
}

@media (min-width: 769px) {
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }

  .service-category {
    flex: 1 1 calc(50% - 20px);
    margin-bottom: 40px;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    break-inside: avoid;
  }
}

@media (max-width: 768px) {
  .services-grid {
    display: block;
  }

  .service-category {
    margin-bottom: 30px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
  }
}

.service-category h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-category ul {
  list-style: none;
}

.service-category li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
}

.combinations li {
  border: none;
}

.offer-detail {
  margin-top: 10px;
  color: var(--gold);
  font-weight: 500;
  font-style: italic;
}

/* === Features Tiles === */
.features {
  display: contents; /* Allows direct grid placement of children in desktop layout */
}

.feature-tile {
  background: #f8f8f8;
  color: var(--black);
  padding: 10px 15px; /* Reduced for compactness */
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem; /* Smaller font size for compact look */
  font-weight: 500;
  border: 1px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
  max-width: 300px;
}

.feature-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.offer-photo {
  max-width: 45vh;
  margin: 0 auto;
}

.photo-wrapper {
  position: relative;
  width: 100%;
}

.offer-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.photo-label {
  text-align: center;
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .feature-tile {
    font-size: 0.85rem; /* Slightly smaller on mobile */
    padding: 8px 12px;
    max-width: 100%;
  }

  .offer-photo {
    max-width: 100%;
    padding: 0 10px;
  }
}

/* === About === */
.about {
  background: #fdf8e4; /* Very light golden background */
  color: black;
  padding-top: 5vh;
  padding-bottom: 5vh;
}

.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
}

/* === Testimonials (New Section) === */
.testimonials {
  background: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--black);
}

.testimonial-carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-track-container {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  list-style: none;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  text-align: center;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-content {
  max-width: 700px;
}

.review-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.8;
  font-family: var(--font);
}

.review-author {
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

/* Testimonial Buttons */
.testimonial-btn {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #ddd;
  cursor: pointer;
  z-index: 10;
  padding: 0 10px;
  transition: color 0.3s;
  user-select: none;
}

.testimonial-btn:hover {
  color: var(--gold);
}

/* Testimonial Dots */
.testimonial-nav {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}

.testimonial-indicator {
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.testimonial-indicator:hover {
  background: #ccc;
}

.testimonial-indicator.current-indicator {
  background: var(--gold);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonial-slide {
    padding: 0 10px;
  }
  .review-text {
    font-size: 1rem;
  }
  .testimonial-btn {
    font-size: 2rem;
  }
}

/* === Products === */
.products {
  background: var(--bg-light);
  padding-top: 40px; /* Increased padding */
  padding-bottom: 80px; /* Increased padding */
}

.products h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.product-collage {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-end;
  padding: 0 20px;
}

.product-item {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  margin: 0 auto;
}

.product-collage img {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform var(--transition);
}

.product-item:hover img {
  transform: scale(1.05);
}

.product-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-align: center;
  font-family: var(--font);
  width: 100%;
}

@media (max-width: 768px) {
  .product-collage {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }

  .product-item {
    max-width: 100%;
    width: 100%;
  }

  .product-collage img {
    max-width: 200px;
    width: 100%;
  }
}

/* === Contact === */
.contact {
  background: #fdf8e4;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-details {
  flex: 1 1 300px;
}

.contact-details p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-map {
  flex: 2 1 400px;
  min-height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact section links should always be black */
.contact a,
.contact a:visited,
.contact a:hover,
.contact a:active {
  color: #000;
  text-decoration: none;
}

/* === Footer === */
footer {
  background: #fdf8e4;
  color: black;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}