:root {
  --blush: #E38FA8;
  --cream: #F5E9DE;
  --chocolate: #4A2C2A;
  --sage: #9BB7A5;
}

/* Base */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background-color: var(--cream);
  color: var(--chocolate);
  font-family: 'Poppins', sans-serif;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

/* Hero */
header.hero {
  background: var(--blush);
  color: var(--cream);
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(
  135deg,
  var(--blush),
  #d97b98
  );
}

header.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.hero h1,
.hero p {
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.hero p {
  font-size: 1.5rem;
}

/* Sections */
section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

section p {
  max-width: 650px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

/* subtle sage accent */
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--sage);
  margin: 12px auto 0;
}

/* ---------------- Honesty Box ---------------- */

.honesty-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* ✅ always 5 */
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .honesty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card */

.honesty-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  transition: transform 0.3s ease;
  height: 220px; /* ✅ FIXED height */
}

/* Image */

.honesty-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Zoom on hover */

.honesty-card:hover img {
  transform: scale(1.1);
}

/* Overlay */

.honesty-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 44, 42, 0.85);
  color: var(--cream);

  display: flex;
  flex-direction: column;

  padding: 15px;

  opacity: 0;
  transition: opacity 0.3s ease;

  overflow-y: auto;          /* ✅ enables scrolling */
}

.honesty-overlay p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.honesty-overlay::-webkit-scrollbar {
  width: 6px;
}

.honesty-overlay::-webkit-scrollbar-thumb {
  background: var(--blush);
  border-radius: 10px;
}

.honesty-card:hover .honesty-overlay {
  opacity: 1;
}

.honesty-overlay h3 {
  margin-bottom: 10px;
}

/* ===================== */
/* CAROUSEL */
/* ===================== */

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

.carousel-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: all 0.4s ease;
}

/* Base carousel item */
.carousel-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

/* Side items (smaller) */
.carousel-item.left,
.carousel-item.right {
  width: 170px;
  height: 220px;
  opacity: 0.75;
}

/* Active centre item (larger) */
.carousel-item.active {
  width: 230px;
  height: 300px;
  opacity: 1;
  z-index: 5;
  box-shadow: 0 25px 50px rgba(74, 44, 42, 0.18); /* chocolate premium shadow */
}

/* Images */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center center;
}

/* Captions */
.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(74, 44, 42, 0.85);
  color: #F5E9DE;
  padding: 10px;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.carousel-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-item.active:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
} 
/* ----------------- Enquiry Section ----------------- */

.enquiry {
  text-align: center;
}

.php-email-form {
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.php-email-form label {
  text-align: left;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Inputs & Textarea */
.php-email-form input,
.php-email-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Focus effect */
.php-email-form input:focus,
.php-email-form textarea:focus {
  outline: none;
  border-color: var(--blush);
  box-shadow: 0 0 0 3px rgba(227, 143, 168, 0.2);
}

/* Textarea resize control */
.php-email-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button */
.monkeybakes-btn {
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: var(--blush);
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(74, 44, 42, 0.15);
  text-shadow:
  -1px -1px 0 #000,
   1px -1px 0 #000,
  -1px  1px 0 #000,
   1px  1px 0 #000;
}

.monkeybakes-btn:active {
  transform: translateY(1px);
  box-shadow: 0 5px 10px rgba(74, 44, 42, 0.15);
}

.monkeybakes-btn:hover {
  background: #d97b98;
  transform: translateY(-2px);
}

.monkeybakes-btn:focus {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}

/* Status messages */
.enquiry-status {
  margin-top: 15px;
  font-weight: 600;
}

.enquiry-status.success,
.enquiry-status.error {
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
}

.enquiry-status.success {
  background: var(--blush);
  color: var(--cream);
}

.enquiry-status.error {
  background: #f44336;
  color: white;
}

/* Honeypot hidden */
.php-email-form input[name="company"] {
  display: none;
}

/* Footer */
footer {
  background: var(--chocolate);
  color: var(--cream);
  text-align: center;
  padding: 30px 20px;
}

footer a {
  color: var(--sage);
  text-decoration: none;
}

/* ---------------- Honesty Box ---------------- 

.honesty-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

  gap: 30px;

  margin-top: 40px;

}

/* Card 

.honesty-card {

  position: relative;

  border-radius: 14px;

  overflow: hidden;

  background: white;

  transition: transform 0.3s ease;

}

/* Image

.honesty-card img {

  width: 100%;

  height: 220px;

  object-fit: cover;

  display: block;

  transition: transform 0.35s ease;

}

/* Zoom on hover 

.honesty-card:hover img {

  transform: scale(1.1);

}

/* Overlay 

.honesty-overlay {

  position: absolute;

  inset: 0;

  background: rgba(74, 44, 42, 0.85);

  color: var(--cream);

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 15px;

  opacity: 0;

  transition: opacity 0.3s ease;

}

.honesty-card:hover .honesty-overlay {

  opacity: 1;

}

.honesty-overlay h3 {

  margin-bottom: 10px;

}*/