/* ============================================
   Bel Clift Market — Styles
   Charcoal + Coral | Cormorant Garamond + Lato
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lato', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #2D2D2D;
  background-color: #FDFBF9;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #2D2D2D;
  color: #E8735A;
  border-radius: 4px;
  z-index: 9999;
}

.sr-only-visually {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #2D2D2D;
}

/* ---------- Color Palette ---------- */
:root {
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --coral: #E8735A;
  --coral-dark: #D4604A;
  --coral-light: #F29882;
  --cream: #FDFBF9;
  --cream-dark: #F5F0EB;
  --warm-gray: #8A8580;
  --warm-gray-light: #B5B0AA;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 45, 45, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(45, 45, 45, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--charcoal);
  color: var(--coral);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-mark {
  background: var(--coral);
  color: var(--charcoal);
  transform: rotate(-3deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ---------- Nav ---------- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-right: -8px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(45, 45, 45, 0.06);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 8px 24px rgba(45, 45, 45, 0.08);
}

.nav-menu.open {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-menu li {
  border-bottom: 1px solid rgba(45, 45, 45, 0.06);
}

.nav-menu li:last-child {
  border-bottom: none;
}

.nav-link {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--coral);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 2rem;
  }

  .nav-menu li {
    border-bottom: none;
  }

  .nav-link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.5rem 0;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--coral);
    transition: width 0.3s ease;
}

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

  .header-inner {
    height: 80px;
  }

  .nav-menu {
    top: 80px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 115, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

@media (min-width: 900px) {
  .hero {
    padding-top: 80px;
  }

  .hero-grid {
    gap: 4rem;
    padding: 4rem 0;
  }
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--coral);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--coral);
}

.hero-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(45, 45, 45, 0.12);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-accent {
  position: absolute;
  bottom: -2rem;
  left: -1.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(45, 45, 45, 0.15);
  border: 4px solid var(--cream);
  display: none;
}

.hero-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-accent {
    display: block;
  }

  .hero-image {
    padding-top: 3rem;
  }
}

/* ---------- Section Eyebrow & Headline ---------- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--coral);
  margin-bottom: 1rem;
}

.section-headline {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--warm-gray);
  max-width: 560px;
}

/* ---------- Section Spacing ---------- */
section {
  padding: 5rem 0;
}

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

/* ---------- About ---------- */
.about {
  background: var(--cream);
}

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

.about-image-col img {
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(45, 45, 45, 0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #5A5550;
  margin-bottom: 1.25rem;
}

.about-content p:last-of-type {
  margin-bottom: 2rem;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(45, 45, 45, 0.08);
}

.about-signature-img {
  opacity: 0.7;
}

.about-signature-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ---------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(45, 45, 45, 0.1);
  max-width: 200px;
}

.divider-ornament {
  width: 16px;
  height: 16px;
  color: var(--coral);
  flex-shrink: 0;
}

/* ---------- Products ---------- */
.products {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 45, 45, 0.1);
}

.product-card-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.75rem;
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.product-card-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--warm-gray);
}

/* ---------- Visiting ---------- */
.visiting {
  background: var(--charcoal);
  color: var(--white);
}

.visiting .section-eyebrow {
  color: var(--coral-light);
}

.visiting .section-headline {
  color: var(--white);
}

.visiting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.visiting-content {
  order: 2;
}

.visiting-image-col {
  order: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.visiting-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visiting-details {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.visiting-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.visiting-icon {
  width: 24px;
  height: 24px;
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 2px;
}

.visiting-detail-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral-light);
  margin-bottom: 0.35rem;
}

.visiting-detail-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.visiting-detail-text a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.visiting-detail-text a:hover {
  color: var(--coral-light);
}

.visiting-map {
  overflow: hidden;
  border-radius: 8px;
}

.visiting-map iframe {
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 0.3s ease;
}

.visiting-map:hover iframe {
  filter: grayscale(0) contrast(1);
}

@media (min-width: 768px) {
  .visiting-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }

  .visiting-content {
    order: 1;
  }

  .visiting-image-col {
    order: 2;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--cream-dark);
  text-align: center;
}

.testimonials .section-eyebrow {
  margin-bottom: 0.75rem;
}

.testimonials .section-headline {
  margin-bottom: 3.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 45, 45, 0.08);
}

.testimonial-quote {
  width: 32px;
  height: 24px;
  color: var(--coral);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.testimonial-footer {
  border-top: 1px solid rgba(45, 45, 45, 0.06);
  padding-top: 1rem;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.contact-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--coral);
  flex-shrink: 0;
}

.contact-info-item a {
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--coral);
}

/* ---------- Form ---------- */
.contact-form {
  background: var(--cream);
  border-radius: 8px;
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(45, 45, 45, 0.12);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 115, 90, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(232, 115, 90, 0.08);
  border: 1px solid rgba(232, 115, 90, 0.2);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--coral-dark);
  margin-top: 1rem;
}

.form-success svg {
  width: 20px;
  height: 20px;
  color: var(--coral);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.logo-footer .logo-mark {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-sans) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral-light) !important;
  margin-bottom: 1.25rem;
}

.footer-nav ul li,
.footer-hours ul li {
  margin-bottom: 0.6rem;
}

.footer-nav a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--coral-light);
}

.footer-hours .footer-day {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-hours .footer-time {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.footer-contact a {
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--coral-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-credit {
  font-size: 0.75rem !important;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 900;
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--coral);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
