/* Arte Koala — estilos compartidos de las páginas de galería por familia
   (index.html tiene su propio <style> embebido, igual que la web original) */

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

:root {
  --cream: #fdf9f3;
  --warm:  #f5eadc;
  --blush: #f0cfc3;
  --sage:  #7aab96;
  --teal:  #4a8f7e;
  --gold:  #d4a843;
  --text:  #3a2e26;
  --muted: #8a7060;
  --sombra: rgba(122, 171, 150, 0.15);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
}

h1, h2, h3, .logo {
  font-family: 'Playfair Display', serif;
}

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

/* Header — idéntico a la cabecera de index.html */

header.site-header {
  background: linear-gradient(180deg, var(--warm), var(--cream));
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
  border-bottom: 1.5px solid var(--blush);
}

.logo-ring {
  width: 170px;
  height: 170px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--blush);
  box-shadow: 0 8px 40px #d4a84322, 0 2px 12px #7aab9620;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-ring img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

header.site-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0.4rem;
}

header.site-header h1 .arte  { color: var(--gold); font-style: italic; }
header.site-header h1 .koala { color: #3d8a91; }

.subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.desc {
  max-width: 380px;
  margin: 0 auto 1.8rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.6rem;
  margin-top: 0.6rem;
}

nav.main-nav a {
  background: #ffffffaa;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border: 1.5px solid var(--blush);
  transition: all 0.2s ease;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

/* Páginas de galería por familia */

.gallery-header {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
}

.gallery-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.3rem;
}

.gallery-header p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  padding: 1.5rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--blush);
  box-shadow: 0 6px 16px var(--sombra);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.breadcrumb {
  text-align: center;
  font-size: 0.85rem;
  padding: 0.8rem 0 0;
  color: var(--teal);
  font-weight: 600;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(58, 46, 38, 0.9);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Contacto & Redes — idéntico al de index.html */

.divider {
  width: 55px; height: 2px;
  background: linear-gradient(90deg, var(--blush), var(--sage));
  border-radius: 2px;
  margin: 2.5rem auto 2.5rem;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  text-align: center;
}

.contact-label {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  background: white;
  border: 1.5px solid var(--blush);
  text-decoration: none;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 4px 18px #7aab9615;
}

.email-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #7aab9630;
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}

.social-row { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; justify-content: center; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.45rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-btn.instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  color: white;
  box-shadow: 0 4px 18px #ee2a7b25;
}

.social-btn.tiktok {
  background: #111;
  color: white;
  box-shadow: 0 4px 18px #00000025;
}

.social-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,0,0,0.18); }

.paws {
  margin: 2rem 0 0.5rem;
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  opacity: 0.2;
}

footer {
  text-align: center;
  padding: 1.4rem 1rem 2rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
