/* ===== KUTLV Landing Page Styles ===== */

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

:root {
  --bg-dark: #0A0A0A;
  --gold-1: #BF953F;
  --gold-2: #FCF6BA;
  --gold-3: #D4AF37;
  --gold-4: #AA771C;
  --text-light: #F5F0E6;
  --divider-gold: rgba(138, 109, 59, 0.4);
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 30%, #D4AF37 60%, #AA771C 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 18px;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-3);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-2);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.section-divider {
  width: 80px;
  height: 1px;
  background: var(--gold-gradient);
  margin: 0 auto 3rem;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  color: var(--bg-dark);
}

/* ===== SECTION 1: HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(0.3);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-logo {
  width: 280px;
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero-subhead {
  font-size: 1.2rem;
  color: var(--text-light);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* ===== SECTION 2: WHY KUTLV ===== */
.why-section {
  padding: 6rem 0;
  border-top: 1px solid var(--divider-gold);
  text-align: center;
}

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

.why-card {
  padding: 2rem 1.5rem;
}

.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 48px;
  height: 48px;
}

.why-card p {
  color: var(--text-light);
  opacity: 0.85;
  font-size: 1rem;
}

/* ===== SECTION 3: SIGNATURE DISHES ===== */
.dishes-section {
  padding: 6rem 0;
  border-top: 1px solid var(--divider-gold);
  text-align: center;
}

.dishes-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.dish-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--divider-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}

.dish-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.dish-card-content {
  padding: 1.5rem;
  text-align: left;
}

.dish-card-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.dish-card-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ===== SECTION 4: HOW IT WORKS ===== */
.how-section {
  padding: 6rem 0;
  border-top: 1px solid var(--divider-gold);
}

.how-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.how-step {
  padding: 2rem 1.5rem;
}

.step-number {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: block;
}

.how-step h3 {
  margin-bottom: 0.75rem;
}

.how-step p {
  opacity: 0.85;
  font-size: 1rem;
}

/* ===== SECTION 5: GALLERY ===== */
.gallery-section {
  padding: 6rem 0;
  border-top: 1px solid var(--divider-gold);
  text-align: center;
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SECTION 6: TESTIMONIAL ===== */
.testimonial-section {
  padding: 6rem 0;
  border-top: 1px solid var(--divider-gold);
  text-align: center;
}

.testimonial-quote {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.quote-mark {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.testimonial-quote blockquote {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold-3);
  letter-spacing: 0.1em;
}

/* ===== SECTION 7: BOOKING FORM ===== */
.form-section {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(138, 109, 59, 0.08) 50%, transparent 100%);
  border-top: 1px solid var(--divider-gold);
  border-bottom: 1px solid var(--divider-gold);
}

.form-intro {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.booking-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

/* Honeypot - hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #e74c3c;
}

.form-group label .optional {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--divider-gold);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-3);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 230, 0.35);
}

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

/* Checkbox group */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-3);
  cursor: pointer;
}

/* Form submit button */
.form-submit {
  display: block;
  margin: 0 auto;
}

/* Form messages */
.form-message {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.form-message-success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.4);
  color: #27ae60;
}

.form-message-success p {
  font-size: 1.1rem;
  font-weight: 500;
}

.form-message-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #e74c3c;
}

.form-message-error p {
  font-size: 1rem;
}

/* Invalid field styling */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

/* ===== SECTION 8: FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-logo {
  width: 150px;
  margin: 0 auto 1rem;
}

.footer-tagline {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.footer-contact {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-contact a {
  color: var(--text-light);
  transition: color 0.3s;
}

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

.footer-social {
  margin-bottom: 2rem;
}

.footer-social a {
  color: var(--gold-3);
  font-size: 1rem;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider-gold);
}

/* ===== ANIMATIONS (Progressive Enhancement) ===== */
/* By default, content is visible. JS adds 'js-enabled' class to <html> to activate animations. */
html.js-enabled .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .why-grid,
  .how-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dishes-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-logo {
    width: 200px;
  }

  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  .hero-subhead {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 14px 32px;
    font-size: 0.85rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .why-section,
  .dishes-section,
  .how-section,
  .gallery-section,
  .testimonial-section,
  .form-section {
    padding: 4rem 0;
  }

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

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

  .hero-logo {
    width: 160px;
  }

  .testimonial-quote blockquote {
    font-size: 1.1rem;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}
