/**
* Template Name: Avilon (customizado Peregrinos.ar)
*/

/*--------------------------------------------------------------
# Paleta de colores Peregrinos.ar
--------------------------------------------------------------
  - Celeste cielo:    #7ec8e3  (celeste suave)
  - Azul profundo:    #1e4f8a  (azul mariano)
  - Azul medio:       #2a6fb0  (para degradés)
  - Rosado devoción:  #e8a0bf  (rosado suave)
  - Rosado fuerte:    #c96b8c  (para acentos)
  - Blanco:           #ffffff
  - Fondo crema:      #f4f9ff  (blanco azulado muy suave)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #f4f9ff; /* blanco azulado muy suave */
  color: #1a1a1a;      /* texto casi negro para buena lectura */
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: #1e4f8a; /* azul mariano */
  text-decoration: none;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #c96b8c; /* rosado fuerte al pasar el mouse */
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin: 0 0 20px 0;
  padding: 0;
  color: #1e4f8a; /* títulos en azul mariano */
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 90px;
  transition: all 0.5s;
  z-index: 997;
  background: #ffffff; /* blanco puro */
  box-shadow: 0 2px 10px rgba(30, 79, 138, 0.1); /* sombra azulada suave */
}

#header.header-scrolled {
  background: #ffffff;
  height: 70px;
  transition: all 0.5s;
  box-shadow: 0 4px 15px rgba(30, 79, 138, 0.2);
}

/* Logo */
#header #logo h1 a {
  color: #1e4f8a; /* azul mariano */
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(126, 200, 227, 0.4); /* relieve celeste */
}

/* Navbar */
.navbar a,
.navbar a:focus {
  color: #1e4f8a; /* azul mariano */
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover>a {
  color: #c96b8c; /* rosado fuerte al pasar el mouse */
  font-weight: 700;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  /* Degradé celeste → azul → rosado */
  background: linear-gradient(135deg, #7ec8e3 0%, #2a6fb0 50%, #c96b8c 100%);
  position: relative;
  color: #fff;
  overflow: hidden;
}

#hero h2,
#hero p {
  color: #fff;
}

#hero .hero-text {
  position: absolute;
  left: 0;
  top: 60px;
  right: 0;
  height: calc(50% - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 0 20px;
  color: #fff;
}

#hero .hero-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(30, 79, 138, 0.6); /* sombra azul */
}

#hero .hero-text p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  max-width: 700px;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(30, 79, 138, 0.5);
}


#hero .product-screens {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  text-align: center;
  width: 100%;
  height: 50%;
}

#hero .product-screens .product-screen-1 {
  position: absolute;
  z-index: 30;
  left: calc(50% + 54px);
  bottom: 0;
  top: 30px;
}

#hero .product-screens .product-screen-2 {
  position: absolute;
  z-index: 20;
  left: calc(50% - 154px);
  bottom: 0;
  top: 90px;
}

#hero .product-screens .product-screen-3 {
  position: absolute;
  z-index: 10;
  left: calc(50% - 374px);
  bottom: 0;
  top: 150px;
}

@media (max-width: 767px) {
  #hero .product-screens .product-screen-1 {
    position: static;
    padding-top: 30px;
  }
  #hero .product-screens .product-screen-2,
  #hero .product-screens .product-screen-3 {
    display: none;
  }
}

/* Imágenes Hero (sin borde negro, solo sombra) */
#hero .product-screens img {
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(30, 79, 138, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hero .product-screens img:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 35px rgba(201, 107, 140, 0.6);
}

/* Imágenes Galería (con borde blanco + sombra azulada) */
#gallery .gallery-item img {
  border: 3px solid #ffffff;
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(30, 79, 138, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery .gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 35px rgba(201, 107, 140, 0.6);
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#about {
  padding: 60px 0;
  background: linear-gradient(135deg, #f4f9ff 0%, #e8f4fb 100%);
  color: #1a1a1a;
}

#about h3,
#about h5 {
  color: #1e4f8a; /* azul mariano */
}

#about p {
  color: #1a1a1a;
}

/* Tarjetas de servicios (About) */
.service-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(30, 79, 138, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #7ec8e3; /* detalle celeste */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(30, 79, 138, 0.2);
  border-top: 4px solid #c96b8c; /* cambia a rosado al hover */
}

.service-icon {
  font-size: 3rem;
  color: #2a6fb0; /* azul medio */
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.3) rotate(10deg);
  color: #c96b8c; /* rosado fuerte al hover */
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
#call-to-action {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Degradé azul → rosado */
  background: linear-gradient(135deg, #1e4f8a 0%, #2a6fb0 50%, #c96b8c 100%);
  color: #fff;
}

#call-to-action .cta-title,
#call-to-action .cta-text {
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/*--------------------------------------------------------------
# Otras Secciones
--------------------------------------------------------------*/
#gallery,
#contact,
#pricing,
#faq,
#team,
#clients {
  background: #f4f9ff; /* blanco azulado */
  color: #1a1a1a;
}

#gallery h3,
#gallery p {
  color: #1e4f8a;
}

#contact h3,
#contact p {
  color: #1e4f8a;
}

/* Tarjetas de contacto */
.contact-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(30, 79, 138, 0.1);
  border-top: 4px solid #7ec8e3;
}

.contact-card h4 {
  color: #1e4f8a;
}

.contact-card p {
  color: #1a1a1a;
}

/* Formulario */
.php-email-form input,
.php-email-form textarea {
  border: 1px solid #7ec8e3;
  border-radius: 10px;
  padding: 10px 15px;
}

.php-email-form input:focus,
.php-email-form textarea:focus {
  border-color: #2a6fb0;
  box-shadow: 0 0 8px rgba(42, 111, 176, 0.3);
  outline: none;
}

.php-email-form button {
  background: linear-gradient(135deg, #2a6fb0, #1e4f8a);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  transition: all 0.3s;
  font-weight: 600;
}

.php-email-form button:hover {
  background: linear-gradient(135deg, #c96b8c, #e8a0bf);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(201, 107, 140, 0.4);
}

/* Redes sociales */
.social-links a {
  color: #2a6fb0;
  font-size: 1.5rem;
  margin-right: 10px;
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: #c96b8c;
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Sección Divider / Títulos
--------------------------------------------------------------*/
.section-title {
  font-weight: 700;
  font-size: 2rem;
  color: #1e4f8a; /* azul mariano */
}

.section-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7ec8e3, #c96b8c); /* degradé celeste a rosado */
  margin: 15px auto;
  border-radius: 3px;
}

.section-description {
  font-size: 1.1rem;
  color: #4a4a4a;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #1e4f8a; /* azul mariano */
  padding: 30px 0;
  color: #ffffff;
  font-size: 14px;
}

#footer .credits {
  font-size: 13px;
  color: #cfe4f5; /* celeste muy claro */
}

#footer .footer-links a {
  color: #ffffff;
}

#footer .footer-links a:hover {
  color: #e8a0bf; /* rosado claro */
}

#footer a {
  color: #e8a0bf;
}

#footer a:hover {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Botón Back to Top
--------------------------------------------------------------*/
.back-to-top {
  background: linear-gradient(135deg, #2a6fb0, #1e4f8a);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #c96b8c, #e8a0bf);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(201, 107, 140, 0.4);
}

/*--------------------------------------------------------------
# WhatsApp Flotante
--------------------------------------------------------------*/
#whatsapp-float {
  background-color: #25D366; /* se mantiene el verde de WhatsApp */
  box-shadow: 0 4px 12px rgba(30, 79, 138, 0.4);
}

#whatsapp-float:hover {
  box-shadow: 0 6px 16px rgba(201, 107, 140, 0.5);
}