/* CSS Stylesheet for Dra. Diana Álvarez - Psicología Clínica */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff4081;
  --secondary-color: #2c2c2c;
  --bg-light: #fff5f7;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffe5ec 100%);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Section */
header {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doctor-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.services-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  font-weight: 400;
}

/* Profile Image */
.profile-section {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(255, 64, 129, 0.3);
  border: 5px solid var(--white);
}

/* Specialties Section - Compacta */
.specialties {
  background: var(--white);
  padding: 25px 20px;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.specialties h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.specialty-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.specialty-tag {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffe5ec 100%);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  display: inline-block;
}

.specialty-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 64, 129, 0.2);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b9d 100%);
  padding: 50px 30px 40px;
  border-radius: 20px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 15px 40px rgba(255, 64, 129, 0.4);
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: white;
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
  margin-right: 12px;
  font-size: 1.5rem;
}

.whatsapp-btn:hover {
  background: #20bd5a;
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.phone-number {
  display: block;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* Social Media Section - Al final */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 16px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.social-btn i {
  font-size: 1.3rem;
  margin-right: 10px;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.social-btn:hover::before {
  width: 300px;
  height: 300px;
}

.facebook {
  background: #1877f2;
  color: white;
}

.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.tiktok {
  background: var(--secondary-color);
  color: white;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  color: var(--text-light);
  margin-top: 40px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }

  .doctor-name {
    font-size: 2rem;
  }

  .services-subtitle {
    font-size: 1rem;
  }

  .profile-image {
    width: 250px;
    height: 250px;
  }

  .social-buttons {
    flex-direction: column;
    align-items: center;
  }

  .social-btn {
    width: 100%;
    max-width: 280px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .whatsapp-btn {
    padding: 18px 35px;
    font-size: 1.1rem;
  }

  .phone-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  header {
    padding: 30px 15px;
  }

  .doctor-name {
    font-size: 1.7rem;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

  .specialties,
  .cta-section {
    padding: 25px 20px;
  }

  .specialty-tag {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}
