/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink:        #e8c4c4;
  --pink-light:  #f2dede;
  --pink-card:   #ecdcdc;
  --pink-btn:    #f0d4d4;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-muted:  #888;
  --text-label:  #b07070;
  --white:       #ffffff;
  --nav-bg:      #f7f5f5;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 2px 16px rgba(0,0,0,.08);
  --transition:  .2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Parkinsans', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
  letter-spacing: .02em;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 72px;
  background: var(--nav-bg);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.navbar__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.navbar__logo-text {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: .05em;
  color: var(--text-dark);
}

.navbar__nav {
  display: flex;
  gap: 2.5rem;
}

.navbar__nav a {
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: .04em;
  transition: color var(--transition);
}

.navbar__nav a:hover {
  color: var(--text-label);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* picture wrapper must not create a box — the img handles all positioning */
.hero picture {
  display: contents;
}

/* Zoom in ~18% anchored toward the cake on the right, vertical top-bias so raspberries stay visible */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 32%;
  transform: scale(1.18);
  transform-origin: 55% 32%;
}

/* Subtle vignette only — the photo's natural grey background does the heavy lifting for legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 90% at 50% 50%, rgba(0,0,0,.08) 0%, rgba(0,0,0,.52) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.22) 0%, rgba(0,0,0,.00) 35%, rgba(0,0,0,.38) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  text-align: center;
  max-width: 680px;
  width: 100%;
}

/* Small uppercase descriptor above the title */
.hero__tag {
  display: block;
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.6rem;
}

.hero__title {
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: .04em;
  text-shadow: 0 2px 32px rgba(0,0,0,.4);
}

/* Decorative rule between title and tagline */
.hero__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: 1.5rem auto 1.3rem;
  width: fit-content;
}

.hero__rule-line {
  display: block;
  width: 52px;
  height: 1px;
  background: rgba(255,255,255,.35);
}

.hero__rule-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink-btn);
  box-shadow: 0 0 8px rgba(240,212,212,.6);
}

.hero__subtitle {
  font-size: clamp(.92rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  font-weight: 300;
  letter-spacing: .06em;
  font-style: italic;
}

/* CTA button row */
.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.btn--hero-primary {
  background: var(--pink-btn);
  color: var(--text-dark);
  padding: .9rem 2.2rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .8rem;
}

.btn--hero-secondary {
  background: transparent;
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.45);
  padding: .9rem 2.2rem;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .8rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn--hero-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  filter: none;
  transform: translateY(-2px);
}

/* Animated mouse-scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
  transition: opacity .3s;
}

.hero__scroll:hover {
  opacity: .6;
}

.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.65);
  border-radius: 2px;
  animation: scrollDot 2.2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0);    opacity: 1;   }
  60%       { transform: translateY(12px); opacity: 0.15; }
}

/* ===== GALLERY ===== */
.gallery {
  padding: 5rem 2.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0eded;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

/* zoom only on devices that truly support hover — excludes touchscreens */
@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.05);
  }
}

.gallery__item--hidden {
  display: none;
}

.gallery__item--mobile-hidden {
  display: none; /* hidden on mobile by default; JS shows it on expand */
}

.gallery__more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2.2rem;
  border-radius: 50px;
  font-family: 'Parkinsans', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: filter var(--transition), transform var(--transition);
}

.btn:hover {
  filter: brightness(.93);
  transform: translateY(-2px);
}

.btn--soft {
  background: var(--pink-btn);
  color: var(--text-dark);
}

.btn--submit {
  width: 100%;
  justify-content: center;
  background: var(--text-dark);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .06em;
  margin-top: .5rem;
}

/* ===== SECTION DIVIDER ===== */
.section-divider-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.section-divider-inner::before,
.section-divider-inner::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--pink);
}

.section-divider-dots {
  display: flex;
  gap: 6px;
  margin: 0 1rem;
}

.section-divider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}

/* ===== ABOUT ===== */
.about {
  padding: 4rem 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}

/* object-position top = visually crops the bottom portion */
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about__text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--pink);
  padding: 5rem 2.5rem 6rem;
}

.contact .section-title {
  color: var(--text-dark);
}

.contact__subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 1rem;
  font-weight: 300;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
  letter-spacing: .02em;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto 3rem;
}

/* filled icons (Instagram/Facebook) match the stroke icon colour */
.contact__card svg[fill="currentColor"] {
  color: var(--text-dark);
}

.contact__card {
  background: var(--pink-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  box-shadow: var(--shadow);
}

.contact__card svg {
  color: var(--text-dark);
  margin-bottom: .25rem;
}

.contact__card-label {
  font-size: .85rem;
  color: var(--text-label);
  font-weight: 400;
  letter-spacing: .04em;
}

.contact__card-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
}

.contact__card-value:hover {
  color: var(--text-label);
}

.contact__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .6rem;
  padding: .45rem 1rem;
  border-radius: 50px;
  background: var(--pink);
  color: var(--text-dark);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background var(--transition), transform var(--transition);
}

.contact__whatsapp:hover {
  background: var(--pink-btn);
  transform: translateY(-1px);
}

/* ===== CONTACT FORM ===== */
.contact__form-wrap {
  background: var(--pink-light);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.contact__form-title {
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
  letter-spacing: .03em;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

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

.form-group label {
  font-size: .88rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: .03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Parkinsans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--text-label);
}

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

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-mid);
  pointer-events: none;
}

.select-wrap select {
  cursor: pointer;
  padding-right: 2.5rem;
}

.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 1.15rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}

.form-sending {
  opacity: .6;
  pointer-events: none;
}

/* ===== GDPR CHECKBOX ===== */
.gdpr-group {
  margin-top: .25rem;
}

.gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}

.gdpr-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: .15rem;
  accent-color: var(--text-label);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.gdpr-label a {
  color: var(--text-label);
  text-decoration: underline;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--text-dark);
  color: rgba(255,255,255,.85);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -2px 20px rgba(0,0,0,.18);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.6;
  flex: 1;
  min-width: 220px;
}

.cookie-banner__text a {
  color: var(--pink);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Parkinsans', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}

.cookie-btn:hover {
  filter: brightness(.9);
  transform: translateY(-1px);
}

.cookie-btn--accept {
  background: var(--pink-btn);
  color: var(--text-dark);
}

.cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 1.25rem;
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .04em;
}

/* Desktop: items 7-9 are always visible */
@media (min-width: 641px) {
  .gallery__item--mobile-hidden {
    display: block;
  }

  /* gallery-22 and any other mobile-only items never appear on desktop */
  .gallery__item--mobile-only {
    display: none !important;
  }
}


/* ===== RESPONSIVE – TABLET (≤900px) ===== */
@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__photo {
    aspect-ratio: 3/2;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero__content {
    max-width: 520px;
  }
}

/* ===== RESPONSIVE – MOBILE (≤640px) ===== */
@media (max-width: 640px) {
  /* Navbar */
  .navbar {
    padding: 0 1.25rem;
    height: 64px;
  }

  .navbar__logo img {
    height: 46px;
  }

  .navbar__nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 1.25rem 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 99;
  }

  .navbar__nav.open {
    display: flex;
  }

  .navbar__nav a {
    font-size: 1.1rem;
    padding: .25rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .navbar__burger {
    display: flex;
  }

  /* Hero: compact banner on mobile */
  .hero {
    height: 50svh;
    min-height: 280px;
    justify-content: center;
  }

  /* Uniform dark overlay on mobile — no directional gradient needed on narrow screen */
  .hero__overlay {
    background: rgba(5, 2, 2, 0.62);
  }

  .hero__bg {
    object-position: 60% 0%;
    transform: scale(1.18);
    transform-origin: center 0%;
  }

  .hero__content {
    padding: 0 1.25rem;
    max-width: 100%;
    text-align: center;
  }

  .hero__rule {
    justify-content: center;
    margin: .9rem auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__tag {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero__rule {
    margin: 1rem auto;
  }

  .hero__subtitle {
    font-size: .88rem;
    letter-spacing: .04em;
  }

  .hero__cta {
    margin-top: 1.4rem;
    gap: .65rem;
  }

  .btn--hero-primary {
    padding: .7rem 1.5rem;
    font-size: .72rem;
  }

  .btn--hero-secondary {
    display: none;
  }

  /* Hide scroll mouse indicator on short mobile hero */
  .hero__scroll {
    display: none;
  }

  .hero__title {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  /* Gallery: single column */
  .gallery {
    padding: 3.5rem 1rem 3rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }

  .gallery__item {
    aspect-ratio: 1/1;
  }

  /* About */
  .about {
    padding: 3rem 1.25rem 4rem;
  }

  .about__photo {
    aspect-ratio: 4/3;
  }

  .about__text p {
    font-size: 1rem;
  }

  /* Section dividers */
  .section-divider-inner {
    margin: 2rem auto;
    padding: 0 1.25rem;
  }

  /* Contact */
  .contact {
    padding: 3.5rem 1.25rem 4.5rem;
  }

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

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

  .contact__form-wrap {
    padding: 1.5rem 1.25rem 1.5rem;
    border-radius: var(--radius);
  }

  .contact__form-title {
    font-size: 1.3rem;
  }
}

/* ===== ULTRAWIDE (≥2560px) — keep cake fully visible ===== */
@media (min-width: 2560px) {
  .hero__bg {
    object-position: 90% 10%;
  }
}
