/* European Pastries v4 — v3 layout, cache-proofed (2026-11-27).
   Same design as v3. Changes: stylesheet renamed to style-v4.css so
   browsers fetch it fresh (v3 kept the style.css name and Hariz's
   phone/computer kept serving a stale pre-v3 stylesheet: logo at
   natural 513x480, gold wordmark, gigantic gallery, horizontal scroll).
   Plus an inline critical-CSS block in index.html, so the page stays
   correct even if the external sheet is stale or missing.
   v3 layout below, unchanged. */
/* European Pastries v3 — full rebuild from scratch.
   Strict, uniform, professional. One centered column (max 1100px),
   every image has exactly one fixed size for its slot, aligned grids,
   no horizontal scroll at any width. Pure white, gold accent.
   Gallery photos are SMALL uniform squares on the page; a photo only
   gets big when tapped, in the lightbox pop-up. */

/* ---- Base ---- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #ffffff;
  color: #222222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
button { font: inherit; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 720px; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  line-height: 1.25;
  margin: 0 0 16px;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; text-align: center; }
h3 { font-size: 20px; }

p { margin: 0 0 16px; }
a { color: #8a6d2b; }
a:hover { color: #6b531f; }

.section { padding: 56px 0; border-top: 1px solid #f0f0f0; }
.section-intro { text-align: center; color: #555555; max-width: 640px; margin: 0 auto 28px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: #8a6d2b; color: #ffffff; }
.btn-primary:hover { background: #6b531f; color: #ffffff; }
.btn-secondary { background: #ffffff; color: #1a1a1a; border-color: #cccccc; }
.btn-secondary:hover { border-color: #8a6d2b; color: #8a6d2b; }

/* ---- Header: slim, sticky. Logo = full script PNG, natural shape ---- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: bold;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}
/* Full transparent logo, natural aspect ratio — no circle crop, no cover */
.logo-img { height: 44px; width: auto; display: block; flex: 0 0 auto; max-width: 120px; }
.logo-text { overflow: hidden; text-overflow: ellipsis; }
.btn-call {
  padding: 9px 14px;
  font-size: 14px;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #cccccc;
  white-space: nowrap;
  margin-left: auto;
  flex: 0 0 auto;
}
.btn-call:hover { border-color: #8a6d2b; color: #8a6d2b; }
.main-nav {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  border-top: 1px solid #f0f0f0;
}
.main-nav a {
  flex: 1 1 0;
  text-align: center;
  color: #333333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 4px;
}
.main-nav a:hover { color: #8a6d2b; }

/* ---- Hero: the ONLY big photo on the page ---- */
.hero { padding: 32px 0 56px; border-top: 0; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-image { width: 100%; max-width: 520px; }
.hero-image img { width: 100%; height: auto; display: block; border-radius: 12px; }
.hero-text { text-align: center; max-width: 640px; }
.hero-sub { font-size: 18px; color: #444444; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero-actions .btn { width: 100%; }

/* ---- About ---- */
.about { text-align: center; }
.about p { font-size: 18px; color: #444444; }

/* ---- Services: 5 photo cards + 1 gold CTA card, all the same size ---- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
.service-card {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}
/* Every service photo is exactly the same size: uniform 4:3, cropped */
.service-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-body { padding: 20px; flex: 1 1 auto; display: flex; flex-direction: column; }
.service-body h3 { margin-bottom: 8px; }
.service-body p { color: #555555; margin: 0; }
.service-cta { background: #8a6d2b; border-color: #8a6d2b; }
.service-cta h3, .service-cta p { color: #ffffff; }
.service-cta .btn { margin-top: auto; padding-top: 18px; background: #ffffff; color: #8a6d2b; align-self: flex-start; }
.service-cta .btn:hover { background: #f5efe0; color: #6b531f; }
.service-cta .service-body p { margin-bottom: 18px; }

/* ---- Gallery: small uniform square thumbnails, even grid ---- */
.instagram-follow { text-align: center; font-size: 18px; font-weight: 600; margin-bottom: 28px; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ig-item { margin: 0; min-width: 0; }
/* Every thumbnail is exactly the same square, whatever the source shape */
.ig-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.ig-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-thumb:focus-visible { outline: 3px solid #8a6d2b; outline-offset: 2px; }
.ig-play {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 12px;
  line-height: 28px;
  text-align: center;
  padding-left: 2px;
}
.gallery-note { text-align: center; color: #555555; margin-top: 32px; }

/* ---- Lightbox pop-up: the only place a gallery photo shows big ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox-figure img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.lightbox-figure figcaption { color: #ffffff; font-size: 16px; margin-top: 14px; }
.lightbox-link { margin: 10px 0 0; }
.lightbox-link a { color: #e8c87a; font-size: 16px; font-weight: 600; }
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
}
.lightbox-prev { left: 6px; }
.lightbox-next { right: 6px; }

/* ---- Forms ---- */
.contact-lines { text-align: center; font-size: 18px; }
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 14px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background: #ffffff;
  color: #222222;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid #8a6d2b;
  border-color: #8a6d2b;
}
.form button { width: 100%; }
.form-note { font-size: 14px; color: #666666; margin: 0; }
.form-success {
  background: #f0f7ec;
  border: 1px solid #9cc184;
  color: #2f5b1e;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid #eeeeee;
  padding: 40px 0 32px;
  text-align: center;
  color: #555555;
}
.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
/* Full transparent logo, natural shape — no circle crop */
.footer-logo { height: 40px; width: auto; }
.footer-contact { font-size: 16px; }
.footer-copy { font-size: 14px; color: #888888; margin-top: 24px; }

/* ---- Tablets: 4-column gallery, 2-column services, hero buttons side by side ---- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .section { padding: 64px 0; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .form button { width: auto; align-self: flex-start; }
}

/* ---- Desktop: header nav inline, hero side by side, 6-column gallery ---- */
@media (min-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .section { padding: 72px 0; }
  .header-inner { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .logo { font-size: 22px; }
  .logo-img { height: 48px; }
  .main-nav { order: 0; flex: 0 1 auto; border-top: 0; margin-left: auto; }
  .main-nav a { flex: none; padding: 6px 12px; }
  .btn-call { margin-left: 12px; }
  .hero { padding: 56px 0 72px; }
  .hero-inner { flex-direction: row; align-items: center; gap: 56px; }
  .hero-image { flex: 1 1 50%; max-width: none; }
  .hero-text { flex: 1 1 50%; text-align: left; max-width: none; }
  .hero-actions { justify-content: flex-start; }
  .hero-sub { font-size: 19px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
}
