/* Custom CSS for Boeri & Azuaga */

/* CSS Variables */
:root {
  --primary-color: #6c0e19;
  --secondary-color: #29335c;
  --tertiary-color: #c6ad9b;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #333333;
  --text-color: #444444;
}

/* Typography */
body {
  font-family: "Reddit Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Serif", serif;
  font-weight: 600;
  line-height: 1.3;
}

/* Navigation */
.navbar {
  background: rgba(108, 14, 25, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: var(--primary-color);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: "Noto Serif", serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container img {
  height: 50px;
  width: 120px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--tertiary-color) !important;
}

.btn-outline-light {
  border-color: var(--tertiary-color);
  color: var(--tertiary-color);
}

.btn-outline-light:hover {
  background-color: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: var(--secondary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #1e2749;
  border-color: #1e2749;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(41, 51, 92, 0.3);
}

/* Hero Section - Usando imagen local */
.hero-section {
  height: 700px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  background-image: url("images/foto1.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(108, 14, 25, 0.85) 0%, rgba(41, 51, 92, 0.85) 100%);
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content {
  color: var(--white);
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: none; /* Eliminar el botón en todas las resoluciones */
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #8b1220;
  border-color: #8b1220;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 14, 25, 0.3);
}

/* Service Sections */
.service-section {
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.service-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-section.bg-light {
  background-color: var(--light-gray);
}

.service-content {
  padding: 2rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  font-size: 1rem;
}

.service-features i {
  color: var(--secondary-color);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.service-image {
  position: relative;
  padding: 2rem 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.service-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.service-image:hover img {
  transform: translateY(-5px);
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
  padding: 5rem 0;
}

.contact-section .section-title {
  color: var(--primary-color);
}

.contact-section .section-title::after {
  background-color: var(--secondary-color);
  left: 50%;
  transform: translateX(-50%);
}

.contact-info {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
  text-align: center;
}

.contact-item:last-child {
  margin-bottom: 0;
}

/* Estilo para contact-item clickeable */
.contact-item-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.contact-item-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
}

.contact-item-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.contact-details {
  width: 100%;
  text-align: center;
}

.contact-details h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: "Noto Serif", serif;
}

.contact-details p {
  color: var(--text-color);
  margin: 0;
  font-size: 1.1rem;
}

.contact-image {
  position: relative;
  height: 100%;
}

.contact-image img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 60px;
  width: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-title {
  font-family: "Noto Serif", serif;
  color: var(--tertiary-color);
  margin-bottom: 1rem;
}

.footer-text {
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-contact,
.footer-schedule {
  list-style: none;
  padding: 0;
}

.footer-contact li,
.footer-schedule li {
  padding: 0.25rem 0;
  opacity: 0.9;
}

.footer-contact i {
  color: var(--tertiary-color);
  margin-right: 0.5rem;
  width: 20px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

.footer-copyright {
  opacity: 0.7;
  margin: 0;
  margin-bottom: 0.5rem;
}

.footer-design {
  opacity: 0.6;
  font-size: 0.9rem;
  margin: 0;
}

.footer-design a {
  color: var(--tertiary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-design a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #fff;
  transform: scale(1.1);
}

.whatsapp-float i {
  margin-top: 0;
}

/* Animación de pulso para WhatsApp */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .service-content {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .service-section {
    padding: 4rem 0;
  }

  .service-content,
  .service-image {
    padding: 1rem;
  }

  .contact-info {
    padding: 2rem;
    margin-bottom: 3rem;
  }

  .contact-image img {
    min-height: 300px;
  }

  #barrios {
    margin-bottom: 2rem;
  }

  /* Ajuste para WhatsApp en móviles */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
}

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

.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Show sections by default for preview */
.service-section {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.text-tertiary {
  color: var(--tertiary-color) !important;
}

.bg-tertiary {
  background-color: var(--tertiary-color) !important;
}
