/*
Theme Name: Storefront Child
Theme URI: https://susanitaurban.com
Description: Tema hijo de Storefront para Susanita Urban
Author: Tu Nombre
Author URI: https://susanitaurban.com
Template: storefront
Version: 1.0.0
Text Domain: storefront-child
*//* ============================================= */
/*               DEFINICIONES DE FUENTES         */
/* ============================================= */
@font-face {
  font-family: 'Nanum Gothic';
  src: url('assets/fonts/NanumGothic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nanum Gothic';
  src: url('assets/fonts/NanumGothic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nanum Gothic';
  src: url('assets/fonts/NanumGothic-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* ============================================= */
/*               VARIABLES CSS                   */
/* ============================================= */
:root {
  --primary-color: #2107b4;
  --primary-dark: #19077c;
  --text-dark: #3b2f24;
  --text-medium: #5c4b3a;
  --text-light: #666;
  --bg-light: #f9f8f6;
  --white: #fff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-susana:50%;
  --transition: all 0.3s ease;
  --footer-bg: #082C38;
  --footer-link: #FCD8B4;
  --footer-link-hover: #C19976;
  --sobre-mi-opacity: 0.15;
}

/* ============================================= */
/*               RESET Y ESTILOS BASE            */
/* ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  padding-top: 90px; /* Ajusta según la altura real del header */
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  top: 8em;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('./assets/img/fondo.png') center/cover no-repeat;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* a:hover {
  color: var(--primary-color);
} */

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.padding{
  padding: 0.5em;
}

/* ============================================= */
/*               LAYOUT GENERAL                  */
/* ============================================= */
.container {
  margin-top: 10em;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 2rem 0; */
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* ============================================= */
/*               HEADER                          */
/* ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ============================================= */
/*               HERO SECTION                   */
/* ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  color: var(--white);
  margin-top: 68px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 3rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
  margin: 1rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--bg-light);
}

.producto-del-mes {
  background-color: var(--text-light);
  border: 4px solid var(--bg-light);
  padding: 10px;
  margin: 15px 0;
  border-radius: 8px;
  font-size: 0.9rem;
}

.producto-del-mes img {
  display: block;
  width: 100px;
  height: auto;
  margin: 10px auto 0 auto;
  border-radius: 6px;
}

/* ============================================= */
/*               SECCIÓN SOBRE MÍ               */
/* ============================================= */
.sobre-mi-glass {
  background: rgba(255, 255, 255, var(--sobre-mi-opacity));
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  padding: 3rem 2rem;
  max-width: 1200px;
}
.sobre-mi-glass2 {
  background: rgba(230, 230, 230, 0.637); /* Gris claro con alta opacidad */
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  padding: 3rem 2rem;
  max-width: 1200px;
}
.bio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bio-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.bio-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.bio-img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.bio-img:hover {
  transform: scale(1.03);
}

.ganchillo {
  color: var(--footer-bg);
  text-shadow: var(--bg-light);
}
.resaltado{
  color: #f9f8f6;
  text-shadow: var(--footer-bg);
}
/* ============================================= */
/*               SECCIÓN GANCHILLO              */
/* ============================================= */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.column-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.process-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease;
}

.process-img:hover {
  transform: scale(1.03);
}

/* ============================================= */
/*               SECCIÓN DOG LOVER              */
/* ============================================= */
#dog-lover {
  padding: 5rem 0;
  background-color: #58c1d6c5;
  position: relative;
}

#dog-lover .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

#dog-lover .section-title {
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

#dog-lover .section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

#dog-lover .section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

#dog-lover .divider-line {
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
}

#dog-lover .divider-icon {
  margin: 0 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

#dog-lover .section-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--bg-light);
  margin-bottom: 0;
}

/* ============================================= */
/*               CARRUSELES                     */
/* ============================================= */
.carousel-section {
  margin-bottom: 4rem;
}

.carousel-section h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.carousel-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 85%;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.carousel-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(59, 47, 36, 0.8);
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 7.9rem;
  margin-top: 1.5rem;
}

.carousel-prev,
.carousel-next {

  font-size: 2rem;
  padding: 1.5em;
  cursor: pointer;
  color: var(--bg-light);
  display: flex;
  background-color: transparent;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}


 

.carousel-prev:hover,
.carousel-next:hover {
  background: transparent;
  transform: scale(1.15);
}

/* Opcional: añadir un efecto de sombra interior para que se vea "más profundo" */
.carousel-prev:active,
.carousel-next:active {
  transform: scale(1.05);
}


/* ============================================= */
/*               SECCIÓN PERSONALIZACIÓN        */
/* ============================================= */
/* Centrar solo el encabezado de personalización */
#personaliza .section-header {
  text-align: center;
  max-width: 800px; /* Opcional: para limitar el ancho y mejorar legibilidad */
  margin: 0 auto; /* Centra horizontalmente */
  padding: 0 1rem; /* Asegura espacio en móviles */
}

#personaliza .section-title {
  margin-bottom: 1rem;
}

#personaliza .section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
}

#personaliza .divider-line {
  width: 60px; /* Ajusta según necesites */
  height: 2px;
  background: #082C38; /* Color que coincida con tu diseño */
  opacity: 0.3;
}

#personaliza .divider-icon {
  margin: 0 15px;
  font-size: 1.5rem;
}

#personaliza .section-header p {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
.bg-blush {
  background-color: #fcd8b4;
}

.section-intro {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.5em;
  font-weight: 400;
}

.personaliza-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centra las columnas */
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.personaliza-text {
  flex: 1 1 300px;
  text-align: center; /* Centrado interno */
}

.personaliza-text h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  color: #082C38;
}

.personaliza-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1em;
}

.btn-personaliza {
  background-color: #C19976;
  color: var(--primary-color);
  padding: 0.8em 1.4em;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-personaliza:hover {
  background-color: #a47c5d;
}

.personaliza-img {
  flex: 1 1 300px;
   text-align: center; /* Centra la imagen */
}

.personaliza-img img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Centrado y espaciado del texto */
.personaliza-text {
  text-align: center; /* Centra todo el contenido */
}

/* Espaciado para el título */
.personaliza-text h3 {
  margin-bottom: 1em; /* Reemplaza el primer <br> */
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  color: #082C38;
}

/* Estilo mejorado para line-break */
.line-break {
  display: block;
  margin: 1em 0; /* 1em arriba y abajo (reemplaza <br>) */
}

/* Espacio adicional antes del botón */
.personaliza-text p:last-of-type {
  margin-bottom: 1.5em; /* Reemplaza el segundo <br> */
}

/* Ajuste para el botón */
.btn-personaliza {
  margin-top: 0; /* Elimina espacio extra */
  /* Mantén tus otros estilos de botón... */
  background-color: #C19976;
  color: var(--primary-color);
  padding: 0.8em 1.4em;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* ============================================= */
/*               SECCIÓN PRODUCTOS              */
/* ============================================= */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.producto-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.producto-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.producto-card:hover .producto-img {
  transform: scale(1.05);
}

.producto-info {
  padding: 1.5rem;
}

.producto-nombre {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.producto-descripcion {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.producto-precio {
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.btn-comprar {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: var(--transition);
}

.btn-comprar:hover {
  background-color: var(--primary-dark);
}

/* ============================================= */
/*               SECCIÓN HECHO A MANO           */
/* ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-susana);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.handmade-quote {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 2rem;
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-medium);
  border-left: 4px solid var(--primary-color);
  background: rgba(185, 136, 95, 0.05);
}

/* ============================================= */
/*               SECCIÓN FILOSOFÍA              */
/* ============================================= */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.philosophy-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.philosophy-emoji {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.philosophy-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.philosophy-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* ============================================= */
/*               FOOTER                         */
/* ============================================= */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3, .footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.social-links {
  list-style: none;
}

.social-links li {
  margin-bottom: 0.5rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
}

.footer-legal {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Agradecimientos específicos */
.footer {
  background: var(--footer-bg);
  color: var(--white);
}

.footer a {
  color: var(--footer-link);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--footer-link-hover);
}

.team-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ============================================= */
/*               COMPONENTES REUTILIZABLES       */
/* ============================================= */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* ============================================= */
/*               BOTÓN WHATSAPP                 */
/* ============================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 5em;
  height: 5em;
  border-radius: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
  animation: pulse 3s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
}

.whatsapp-btn img {
  width: 6em;
  height: 6em;
}

@keyframes pulse {  
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ============================================= */
/*               MEDIA QUERIES                   */
/* ============================================= */
@media (max-width: 768px) {
  /* Estilos generales */
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  /* Navegación */
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  /* Hero */
  .hero-content {
    padding: 2rem 1.5rem;
  }
  
  /* Grids */
  .philosophy-grid,
  .productos-grid {
    grid-template-columns: 1fr;
  }
  
  /* Secciones con dos columnas */
  .bio-content,
  .two-columns {
    grid-template-columns: 1fr;
  }
  
  .bio-image,
  .column-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  /* Citas */
  .handmade-quote {
    padding: 1.5rem;
    font-size: 1.1rem;
  }
  
  /* Dog Lover */
  #dog-lover {
    padding: 3rem 0;
  }
  
  #dog-lover .section-title {
    font-size: 2rem;
  }
  
  #dog-lover .section-intro {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
  }

  /* Sobre mí */
  .sobre-mi-glass {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  /* Carrusel */
  .carousel-slide {
    flex: 0 0 45%;
  }
  
  .carousel-image {
    height: 400px;
  }
  .personaliza-text, 
  .personaliza-img {
    flex: 1 1 100%; /* Apila en móviles */
  }
  
  .personaliza-text {
    order: -1; /* Texto arriba en móviles */
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  /* Carrusel */
  .carousel-slide {
    flex: 0 0 30%;
  }
}
/* Estructura básica del menú */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333; /* Ajusta el color según tu tema */
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d94f5c; /* Color hover (rojo suave) */
}

/* Opcional: Ocultar texto en móviles */
@media (max-width: 768px) {
    .menu-text {
        display: none;
    }
    .nav-links {
        gap: 1.2rem;
    }
}