/* ============================================================
   Lupino Kinderkleider Boutique — Stylesheet
   ============================================================ */

/* Google Fonts: Playfair Display (headings) + Inter (body) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cream:       #faf8f8;
  --warm-white:  #ffffff;
  --sand:        #ede8eb;
  --pink:        #e8007a;
  --pink-light:  #f040a8;
  --pink-dark:   #b50062;
  --dark:        #1e1e1e;
  --dark-mid:    #3d3d3d;
  --dark-light:  #606060;
  --text:        #1e1e1e;
  --text-muted:  #606060;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
}

/* ── Utility ───────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--warm-white);
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-mid);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pink);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--pink);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__lang {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--sand);
  padding: 5px 12px;
  border-radius: 2px;
  color: var(--dark-light);
  transition: border-color var(--transition), color var(--transition);
}

.nav__lang:hover {
  border-color: var(--pink);
  color: var(--pink);
}

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

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--sand);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    box-shadow: var(--shadow);
  }

  .nav__links.open { display: flex; }

  .nav__links a {
    padding: 14px 24px;
    width: 100%;
  }

  .nav__links a::after { display: none; }
}

/* Hamburger open state */
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero__bg {
  /* PLACEHOLDER: replace with background-image: url('../assets/images/hero.jpg') */
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 40%, #b5006a 100%);
  opacity: 0.92;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: var(--cream);
}

.hero__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__title em {
  font-style: italic;
  color: var(--pink-light);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(250,246,241,0.8);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn--primary {
  background: var(--pink);
  color: #fff;
  border: 1px solid var(--pink);
}

.btn--primary:hover {
  background: var(--pink-light);
  border-color: var(--pink-light);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250,246,241,0.5);
  margin-left: 16px;
}

.btn--outline:hover {
  border-color: var(--cream);
}

/* ── About Section ─────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--warm-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image {
  aspect-ratio: 4/5;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

/* PLACEHOLDER styling for about image */
.about__image::after {
  content: 'Foto folgt';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

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

.about__text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about__text p:last-of-type { margin-bottom: 32px; }

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--dark-mid);
}

.about__badge strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--dark);
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__image { aspect-ratio: 16/9; }
}

/* ── Products Section ──────────────────────────────────────── */
.products {
  padding: 100px 0;
  background: var(--cream);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.15);
}

.product-card__img {
  aspect-ratio: 3/4;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

/* PLACEHOLDER styling */
.product-card__img::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 20px 22px 24px;
}

.product-card__tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.products__raima {
  margin-top: 60px;
  padding: 40px;
  background: var(--dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.products__raima-text h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

.products__raima-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 480px;
}

@media (max-width: 900px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .products__grid { grid-template-columns: 1fr; }
  .products__raima { flex-direction: column; }
}

/* ── Contact Section ───────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--warm-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark);
  margin: 28px 0 10px;
}

.contact__info h3:first-of-type { margin-top: 0; }

.contact__info p,
.contact__info address {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.8;
}

.contact__info a {
  color: var(--pink);
  transition: color var(--transition);
}

.contact__info a:hover { color: var(--dark); }

.contact__hours table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact__hours td {
  padding: 5px 0;
}

.contact__hours td:first-child {
  font-weight: 500;
  color: var(--dark-mid);
  width: 160px;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map  { height: 300px; }
}

/* ── Gallery Section ───────────────────────────────────────── */
.gallery {
  padding: 100px 0;
  background: var(--cream);
}

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

.gallery__item {
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--sand);
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery__item:nth-child(4n+1) { aspect-ratio: 3/4; }
.gallery__item:nth-child(4n+3) { aspect-ratio: 4/3; }

/* PLACEHOLDER */
.gallery__item::before {
  content: attr(data-index);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  z-index: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition);
}

.gallery__item:hover .gallery__item__overlay {
  background: rgba(0,0,0,0.25);
}

.gallery__item__overlay svg {
  opacity: 0;
  color: #fff;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__item__overlay svg {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item { aspect-ratio: 1 !important; }
}

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

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 13, 8, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(250,246,241,0.8);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.lightbox__close:hover { color: #fff; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,246,241,0.12);
  border: 1px solid rgba(250,246,241,0.25);
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(250,246,241,0.25); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 16px;
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__col h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 16px;
  font-weight: 400;
}

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

.footer__col a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--pink-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

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

/* ── Divider / spacing helpers ─────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--pink);
  margin: 24px 0 32px;
}
