/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #EEB0B3;
  --primary-dark: #c28487;
  --secondary-color: #365099;
  --secondary-dark: #2c4280;
  --accent-color: #F1D3D3;
  --accent-dark:  #263355;
  --text-color: #333;
  --light-text: #fff;
  --background-color: #fff;
  --light-bg: #f9f4f5;
  --dark-bg: #2c2c2c;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

@font-face {
  font-family: "Playfair Display";
  src: url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap");
}

@font-face {
  font-family: "Montserrat";
  src: url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  padding: 0 15px;
}

.page-header .container {
  margin: 0 auto;
  margin-top: 10%;
  width: 90%;
  max-width: 1200px;
  padding: 0 15px;
  text-align: center;
}

.page-header .container h1 {
  font-family: "Playfair Display", serif;
  font-size: 50px;
  color:var(--accent-dark);
}

.page-header .container p {
color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--accent-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  margin-top: 10px;
  color: var(--light-text);
}

.btn-outline:hover {
  background-color: var(--light-text);
  color: var(--accent-color);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.btn-link {
  color: var(--accent-color);
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.btn-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.btn-link:hover {
  color: var(--accent-dark);
}

.btn-link:hover i {
  transform: translateX(5px);
}

.text-center {
  margin-top: 50px;
  text-align: center;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  padding: 15px 0;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 7%;
}

.slider-container {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content {
  text-align: center;
  color: var(--light-text);
  max-width: 800px;
  padding: 0 20px;
  z-index: 3;
}

.slide-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.prev-slide,
.next-slide {
  background: var(--accent-color);
  color: var(--light-text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 15px;
}

.prev-slide:hover,
.next-slide:hover {
  background: var(--accent-dark );
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--light-text);
  transform: scale(1.2);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.feature h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

/* Services Preview Section */
.services-preview {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: var(--background-color);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
  position: relative;
}

.service-icon {
  position: absolute;
  top: -25px;
  left: 25px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.service-content h3 {
  margin-top: 10px;
  margin-bottom: 15px;
  color: var(--accent-color);
  font-family: "Playfair Display", serif;
}

.service-content p {
  margin-bottom: 20px;
}

/* Before-After Section */
.before-after {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.before-after-slider {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.before-after-container {
  position: relative;
  overflow: hidden;
}

.before-after-item {
  display: none;
  animation: fadeIn 0.5s ease;
}

.before-after-item.active {
  display: block;
}

.before-after-images {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.before,
.after {
  flex: 1;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.before img,
.after img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--light-text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.transformation-details {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.transformation-details h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

.services-applied {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.services-applied li {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.before-after-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.prev-transformation,
.next-transformation {
  background: var(--accent-color);
  color: var(--light-text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 15px;
}

.prev-transformation:hover,
.next-transformation:hover {
  background: var(--accent-dark);
}

.transformation-dots {
  display: flex;
  gap: 10px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  text-align: center;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial {
  padding: 20px;
}

.testimonial-content {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.3;
  line-height: 1;
  font-family: "Playfair Display", serif;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.client-info h4 {
  color: var(--accent-color);
  margin-bottom: 5px;
  font-family: "Playfair Display", serif;
}

.rating {
  color: var(--secondary-color);
  margin-top: 5px;
}

.slider-controls {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev-btn,
.next-btn {
  background: var(--accent-color);
  color: var(--light-text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 15px;
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--accent-dark);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

/* Blog Preview Section */
.blog-preview {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: var(--background-color);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-content {
  padding: 25px;
}

.blog-date {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.blog-content h3 {
  margin-bottom: 15px;
  color: var(--accent-color);
  font-family: "Playfair Display", serif;
}

.blog-content p {
  margin-bottom: 20px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--light-text);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.cta-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo img{
  width: 50px;
  position: relative;
}
.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
}

.footer-desc {
  margin-top: 15px;
  color: #aaa;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.newsletter h4 {
  margin-top: 30px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 30px 0 0 30px;
  outline: none;
}

.newsletter-form .btn {
  border-radius: 0 30px 30px 0;
  padding: 10px 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .slide-content h2 {
    font-size: 2.8rem;
  }

  .before-after-images {
    flex-direction: column;
  }

  .before,
  .after {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--background-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .slide-content h2 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .newsletter-form {
    max-width: 300px;
    margin: 15px auto 0;
  }
}


