/* ============================================
   Fabulosity Antiques — style.css
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;600&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #111111;
  background-color: #f9f9f9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cardo', serif;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* ---- Utility ---- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background: #111111;
  color: #f9f9f9;
  border: none;
  border-radius: 5px;
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
}

.btn:hover {
  opacity: 0.85;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.site-name {
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
}

.nav-links {
  display: flex;
  gap: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111111;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .btn {
  font-size: 1.1rem;
  padding: 14px 28px;
  background: #f9f9f9;
  color: #111111;
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #f9f9f9;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #f9f9f9;
  border-top: 1px solid #e0e0e0;
  padding: 48px 0 32px;
  margin-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand span {
  font-family: 'Cardo', serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #555;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #111111;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.8rem;
  color: #888;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HOME — Hero
   ============================================ */
.hero {
  padding: 64px 0 48px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #333;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---- Store Photo Section ---- */
.store-photo {
  padding: 0 0 48px;
}

.store-photo-img {
  width: 100%;
  border-radius: 8px;
  background: #d0d0d0;
  min-height: 280px;
  object-fit: cover;
}

/* Placeholder style if image fails to load */
.img-placeholder {
  width: 100%;
  min-height: 280px;
  background: #d0d0d0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9rem;
}

/* ---- Cooking Promo ---- */
.cooking-promo {
  padding: 48px 0;
  text-align: center;
}

.cooking-promo p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* ---- FAQ Section ---- */
.faq-section {
  background: #111111;
  color: #f9f9f9;
  padding: 80px 0;
}

.faq-title {
  font-family: 'Cardo', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.faq-item {
  border-top: 1px solid rgba(249, 249, 249, 0.2);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(249, 249, 249, 0.2);
}

.faq-question {
  font-family: 'Cardo', serif;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 12px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(249, 249, 249, 0.8);
}

/* ============================================
   CATALOGUE
   ============================================ */
.page-header {
  padding: 56px 0 12px;
}

.page-header h1 {
  font-size: 2rem;
}

.page-header p {
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  color: #555;
  margin-top: 8px;
}

.catalogue-section {
  padding: 32px 0 48px;
}

.catalogue-section h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.catalogue-section > p {
  margin-bottom: 24px;
  color: #444;
  font-size: 0.95rem;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

.image-card {
  background: #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
  position: relative;
}

.image-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #d0d0d0;
}

.image-card .card-caption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #555;
}

/* Placeholder for missing images */
.image-card .placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.85rem;
}

.online-exclusive {
  padding: 32px 0 48px;
}

.online-exclusive h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.online-exclusive p {
  font-style: italic;
  color: #666;
}

/* ---- Lightbox ---- */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #f9f9f9;
  font-size: 2.2rem;
  cursor: pointer;
}

/* ============================================
   COOKING THROUGH THE AGES
   ============================================ */
.cooking-section {
  padding: 32px 0 48px;
}

.cooking-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cooking-section > p {
  color: #444;
  margin-bottom: 24px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .recipe-grid {
    grid-template-columns: 1fr;
  }
}

.recipe-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.recipe-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.recipe-card img,
.recipe-card .placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #d0d0d0;
}

.recipe-card .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.85rem;
}

.recipe-card-body {
  padding: 14px 16px;
}

.recipe-card-body a {
  font-family: 'Cardo', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  transition: color 0.2s;
}

.recipe-card-body a:hover {
  color: #555;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  padding: 32px 0 48px;
}

.contact-section p {
  margin-bottom: 12px;
  color: #333;
}

.phone-number {
  font-family: 'Cardo', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  display: inline-block;
}

.phone-number a {
  color: #111111;
  transition: color 0.2s;
}

.phone-number a:hover {
  color: #555;
}

.contact-form {
  max-width: 540px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #111111;
}

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