
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-bg: #fffafb;
  --color-primary: #ffb6d9;
  --color-primary-dark: #ff8fc4;
  --color-text: #333;
  --color-heading: #cc2e8b;
  --color-accent: #ffdbed;
  --font-main: 'Segoe UI', sans-serif;

  --header-height: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding: 1rem;
}

/* Encabezados */
h1,
h2,
h3 {
  color: var(--color-heading);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2rem;
  text-align: center;
  margin-top: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

/* Párrafos y listas */
p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Secciones */
section {
  background: var(--color-accent);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(255, 182, 217, 0.2);

  scroll-margin-top: var(--header-height);
}

/* Enlaces */
a {
  color: var(--color-heading);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (min-width: 768px) {
  body {
    padding: 2rem 4rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/* LOGO */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  /* adjust based on your logo proportions */
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-heading);
}

/* HEADER */
.site-header {
  background-color: var(--color-accent);
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 6px rgba(255, 182, 217, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;

  max-height: 60vh;
  /* ← limits vertical space */
  overflow-y: auto;
  /* ← enables scroll if needed */
}

.nav a {
  text-decoration: none;
  color: var(--color-heading);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: background 0.3s;
}

.nav a:hover {
  background-color: var(--color-primary-dark);
  color: white;
}

/* Burger button */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.nav-toggle-label span {
  display: block;
  height: 3px;
  background: var(--color-heading);
  border-radius: 2px;
}

/* Mobile nav hidden by default */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 80px);
  /* subtract header height */
  background: var(--color-accent);
  overflow-y: auto;
  z-index: 999;
}

.nav a {
  background-color: var(--color-accent);
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
}

/* Show menu when checkbox is checked */
.nav-toggle:checked+.nav-toggle-label+.nav {
  display: flex;
}

/* Desktop layout */
@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav {
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    margin-top: 0;
  }

  .nav a {
    background: none;
    padding: 0.4rem 0.6rem;
  }
}

/* FOOTER */
.site-footer {
  background-color: var(--color-accent);
  color: var(--color-heading);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-quote {
  font-style: italic;
  font-size: 1.1rem;
}

.footer-contact p,
.footer-copy {
  margin: 0.2rem 0;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  color: #ff8fc4;
}

.footer-socials a {
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-socials a,
.footer-contact p,
.footer-copy,
.footer-quote {
  color: var(--color-heading);
  /* fuerte pero aún rosado */
  font-weight: 500;
}

.footer-socials a:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .logo-img {
    height: 32px;
  }

  .brand-name {
    font-size: 1.3rem;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.product {
  border: 1px solid #ccc;
  padding: 0.5rem;
  border-radius: 8px;
  background: #fafafa;
  position: relative;
}

.product img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.product p {
  margin-top: 0.5rem;
  text-align: center;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel img,
.carousel video {
  width: 100%;
  border-radius: 6px;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 2;
}

.carousel .prev { left: 5px; }
.carousel .next { right: 5px; }