/* =========================================
   DULCE ARTE STUDIO - ESTILOS PRINCIPALES
   Bootstrap 5.3 + Personalización
   ========================================= */

:root {
  --color-primary: #E91E63;
  --color-secondary: #FF9800;
  --color-background: #FFF9FB;
  --color-text: #2D2D2D;
  --color-accent: #8BC34A;
  --color-neutral: #F5F5F5;
  --color-white: #FFFFFF;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius-card: 16px;
  --radius-btn: 50px;
  --transition: all 0.3s ease;
}

/* Base */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-hover);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text) !important;
  margin: 0 0.5rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
  color: var(--color-white);
}

.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background: var(--color-white);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Stats Section */
.stats-section {
  background: var(--color-white);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: 'Playfair Display', serif;
}

.stat-label {
  color: #666;
  font-size: 0.95rem;
}

/* Services Section */
.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-white);
  font-size: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Process Steps */
.process-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: -20px;
  width: 2px;
  background: var(--color-neutral);
}

.process-step:last-child::after {
  display: none;
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-soft);
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Blog Section */
.blog-card {
  margin-bottom: 2rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  color: #555;
  margin-bottom: 1rem;
}

.pagination .page-link {
  color: var(--color-primary);
  border: none;
  margin: 0 0.25rem;
  border-radius: 8px !important;
}

.pagination .page-item.active .page-link {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Contact Form */
.form-control {
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.15);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Footer */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--color-secondary);
}

.footer-title {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--color-text);
  flex: 1;
  min-width: 250px;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-cookie-accept {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-cookie-reject {
  background: var(--color-neutral);
  color: var(--color-text);
}

.btn-cookie-accept:hover {
  background: #c2185b;
  color: var(--color-white);
}

.btn-cookie-reject:hover {
  background: #e0e0e0;
}

/* Legal Pages */
.legal-content {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  margin: 2rem 0;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: #555;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .legal-content {
    padding: 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Print */
@media print {
  .cookie-banner,
  .navbar,
  .btn,
  .no-print {
    display: none !important;
  }
  
  body {
    background: var(--color-white);
    color: var(--color-text);
  }
}