/* ============================
   The Feast Fairy - Stylesheet
   ============================ */

/* --- Root Variables --- */
:root {
  --gold: #B8860B;
  --gold-light: #D4A96A;
  --gold-pale: #F5EDD6;
  --green-dark: #2C3E2D;
  --green-mid: #4A6741;
  --cream: #FDFBF5;
  --cream-dark: #F5EFE0;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --shadow: rgba(0,0,0,0.15);
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.3;
  color: var(--green-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

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

/* ============================
   NAVIGATION
   ============================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1.2rem 0;
}

#navbar.scrolled {
  background: rgba(44, 62, 45, 0.97);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 0.8rem 0;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  font-family: 'Georgia', serif;
  letter-spacing: 0.05em;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================
   HERO / SLIDER
   ============================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.slide.active { opacity: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(44,62,45,0.6) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 3px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  font-family: 'Georgia', serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.dot.active {
  background: var(--gold-light);
  transform: scale(1.2);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator svg { opacity: 0.7; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================
   INTRO STRIP
   ============================ */
#intro {
  padding: 3rem 0;
  background: var(--green-dark);
  color: var(--white);
}

#intro .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.intro-item h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.intro-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

/* ============================
   SERVICES
   ============================ */
#services { background: var(--cream); }

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

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 40px var(--shadow);
  background: var(--white);
}

.service-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img { transform: scale(1.04); }

.service-img-wrap { overflow: hidden; }

.service-body { padding: 2rem; }

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: block;
}

.service-body h3 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-body p { color: var(--text-light); margin-bottom: 1rem; }

.service-types {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  border-top: 1px solid var(--cream-dark);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ============================
   ABOUT
   ============================ */
#about { background: var(--cream-dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-photo-wrap { position: relative; }

.about-photo {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 12px 40px var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-photo-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 3px;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow);
  line-height: 1.4;
}

.about-text h2 { text-align: left; }
.about-text h2::after { margin: 0.8rem 0 0; }

.about-text .about-heading {
  color: var(--gold);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-text p { color: var(--text-light); margin-bottom: 1.2rem; }

/* ============================
   GALLERY
   ============================ */
#gallery { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,62,45,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-overlay { background: rgba(44,62,45,0.5); }

.gallery-overlay svg {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
  color: var(--white);
}

.gallery-item:hover .gallery-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); border-color: var(--white); }

/* ============================
   TESTIMONIALS
   ============================ */
#testimonials { background: var(--green-dark); }

#testimonials .section-title { color: var(--white); }
#testimonials .section-subtitle { color: rgba(255,255,255,0.7); }

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.6;
}

.testimonial-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.testimonial-text {
  color: rgba(255,255,255,0.9);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  color: var(--gold-light);
  font-weight: bold;
  font-style: normal;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.t-prev, .t-next {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.t-prev:hover, .t-next:hover { background: var(--gold); border-color: var(--gold); }

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.t-dot.active { background: var(--gold-light); transform: scale(1.3); }

/* ============================
   CONTACT
   ============================ */
#contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-detail h4 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.contact-detail p, .contact-detail a {
  color: var(--text);
  font-size: 1rem;
}

.contact-detail a:hover { color: var(--gold); }

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.areas-grid span::before {
  content: '✦ ';
  color: var(--gold);
  font-size: 0.7rem;
}

/* Contact form */
.contact-form h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.3rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}

.form-group textarea { height: 130px; resize: vertical; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.8rem;
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footer-logo {
  font-size: 1.6rem;
  color: var(--white);
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

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

.footer-tagline {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 2px;
}

.footer-social a:hover { color: var(--gold-light); border-color: var(--gold-light); }

.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 270px;
    background: var(--green-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; z-index: 1001; }

  /* Intro */
  #intro .container { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-wrap { max-width: 300px; margin: 0 auto; }
  .about-text h2 { text-align: center; }
  .about-text h2::after { margin: 0.8rem auto 0; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Hero buttons */
  .btn-secondary { margin-left: 0; margin-top: 0.8rem; }
  .hero-content .btns { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.3rem; }
  .areas-grid { grid-template-columns: 1fr; }
}
