:root {
  --soft-peach: #FFF5EE;
  --light-pink: #ffc9c3;
  --coral-pink: #FF8C94;
  --warm-peach: #F4A261;
  --sky-blue: #87CEEB;
  --dark-brown: #4A3C31;
  --muted-purple: #6B5B73;
  --white: #FFFFFF;
  --black: #000000;
}

/* ========== Global ========== */
body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, var(--soft-peach), var(--light-pink));
  color: var(--dark-brown);
  margin: 0;
  overflow-x: hidden;
}

.amatic { font-family: 'Amatic SC', cursive; }

.bg-pattern {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path fill="%23FFE4E1" opacity="0.2" d="M50 50a20 20 0 1 0 40 0 20 20 0 0 0-40 0zm100 0a20 20 0 1 0 40 0 20 20 0 0 0-40 0zm-100 100a20 20 0 1 0 40 0 20 20 0 0 0-40 0zm100 100a20 20 0 1 0 40 0 20 20 0 0 0-40 0z"/><path fill="%23FF8C94" opacity="0.1" d="M25 25l150 150m0-150L25 175" stroke-width="2" stroke="%23FF8C94"/></svg>');
  background-size: 200px;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero img {
  transform: scale(1);
  transition: transform 0.5s ease;
}

.hero:hover img {
  transform: scale(1.05);
}

/* ========== Gallery ========== */
.gallery-container {
  background: linear-gradient(45deg, var(--coral-pink), var(--warm-peach), var(--sky-blue));
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  position: relative;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.glass-effect,
.profile-card,
.contact-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

/* ========== Illustration Grid ========== */
.illustration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 6rem;
}

.artwork-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.3);
}

.artwork-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.artwork-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.artwork-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.artwork-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.artwork-card:hover .artwork-image img {
  transform: scale(1.1) rotate(2deg);
}

.artwork-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255,140,148,0.8), rgba(244,162,97,0.8));
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-card:hover .artwork-overlay {
  opacity: 1;
}

.view-btn {
  background: var(--white);
  color: var(--dark-brown);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.artwork-card:hover .view-btn {
  transform: translateY(0);
}

.artwork-content {
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
}

/* ========== Filter Buttons ========== */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(255,255,255,0.9);
  color: var(--dark-brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ========== About Section ========== */
.about-section {
  background: linear-gradient(135deg, var(--dark-brown), var(--muted-purple));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s infinite linear;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.profile-card {
  border-radius: 30px;
  padding: 3rem;
  z-index: 1;
  position: relative;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.3);
  transition: transform 0.5s ease;
  position: relative;
}

.profile-image::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--coral-pink), var(--warm-peach), var(--sky-blue));
  z-index: -1;
  animation: profileGlow 3s ease-in-out infinite alternate;
}

@keyframes profileGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* ========== Contact Section ========== */
.contact-section {
  background: linear-gradient(135deg, var(--sky-blue), var(--coral-pink));
  position: relative;
}

.contact-card {
  border-radius: 25px;
  padding: 3rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: var(--warm-peach);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  background: rgba(255,255,255,0.9);
  color: var(--dark-brown);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.social-icon {
  width: 24px;
  height: 24px;
  fill: var(--dark-brown);
  transition: fill 0.3s ease;
}

/* ========== Animation Utilities ========== */
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ========== Section Cards ========== */
.section-card {
  transition: all 0.3s ease;
}

.section-card:hover {
  transform: translateY(-8px);
}

.section-image-container {
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.section-card:hover .section-image-container {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}


.card-highlight {
  background: rgba(255, 255, 255, 0.15); /* fondo blanco translúcido */
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

