/* == Estilo diseñada por Diego Campos M.(@DCnatdev) == */
/* == CONFIGURACIÓN GENERAL ==*/
body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

.navbar {
  background: #5ec317;
}

.navbar a {
  color: #071701 !important;
}

.navbar a:hover {
  color: #a5ff78 !important;
}

.navbar .nav-link.active {  /* Verde elegante */
  color: #e2ffce !important;
  font-weight: bold;
  border-bottom: 2px solid #a5ff78;
}


/* == LOGO OFICIAL PACA reciclaje | Compra y Venta de Patas para Bins == */
.logo {
  width: 40px;
  height: 40px;
  background-image: url("../PACAimg/logoOficialPACA.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0%;
}


/* == HEADER CAROUSEL == */
header .carousel-item {
  height: 100vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}


/* == SECCIONES GENERALES == */
section {
  padding: 60px 0;
  background-color: #c7d7c7c6;
}

h2.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #47a007;
}


/* == INTRO | QUIENES SOMOS == */
.basic-1 {
	padding-top: 6.5rem;
	padding-bottom: 3rem;
	background-color: #eaebec;
}

.basic-1 .text-container {
	margin-bottom: 3rem;
}

.basic-1 .section-title {
	margin-bottom: 0.5rem;
	color:  #20262c;
}

.basic-1 h2 {
	margin-bottom: 1.375rem;
	color: #47a007;
}

.basic-1 p {
	text-align: justify;
}

.basic-1 .testimonial-author {
	color: #484a46;
}

/* Hover Animation */
.basic-1 .image-container {
	overflow: hidden;
	border-radius: 0.25rem;
}

.basic-1 .image-container img {
	margin: 0;
	border-radius: 0.25rem;
	transition: all 0.3s;
}

.basic-1 .image-container:hover img {
	-moz-transform: scale(1.15);
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
} 
/* end of hover animation */


/* == DESCRIPTION == */
.basic-2 {
	padding-top: 6.5rem;
	padding-bottom: 3rem;
	background-color: #20262c;
}

.basic-2 .text-container {
	color: #e7ffe0;
	margin-bottom: 3rem;
}

.basic-2 .section-title {
	margin-bottom: 0.5rem;
}

.basic-2 h2 {
	margin-bottom: 1.375rem;
  color: #47a007;
}

.basic-2 .testimonial-author {
	color: #edf0eb;
}

/* Hover Animation */
.basic-2 .image-container {
	overflow: hidden;
	border-radius: 0.25rem;
}

.basic-2 .image-container img {
	margin: 0;
	border-radius: 0.25rem;
	transition: all 0.3s;
}

.basic-2 .image-container:hover img {
	-moz-transform: scale(1.15);
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
} 
/* end of hover animation */


/* == ABOUT | NUESTROS SERVICIOS == */
.aboutMid {
  background-color: #eaebec;
	padding-top: 3.5rem;
	padding-bottom: 1.5rem;
}

.aboutMid .section-title{
color: #20262c;
}

.aboutMid h2{
color: #47a007;
}


/* == GALERÍA DE CLIENTES == */
.gallery-item {
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* == SECCIÓN DE CONTACTO == */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.contact-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5ec317 0%, #47a007 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(94, 195, 23, 0.3);
}

.contact-card h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-card p {
  color: #777;
  margin-bottom: 10px;
}

.contact-card a {
  color: #5ec317;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: #47a007;
  text-decoration: underline;
}

.map-container {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* == PIÉ DE PÁGINA == */
footer {
  background: #5ec317;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #a5ff78;
}

.footer-content p {
  margin: 0;
}

/* Media query para móviles */
@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-content p {
    text-align: center;
  }
}


/* == CARRUSEL == */
header .carousel-item { /* Mantener carrusel a pantalla completa */
  position: relative;   /* necesario para que funcione el overlay */
  height: 100vh;
  min-height: 400px;
}

header .carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

header .carousel-item .overlay { /* Overlay con degradado verde */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient( /* Degradado: transparente arriba → verde oscuro abajo */
    to top,
    rgba(3, 3, 16, 0.855),   /* más fuerte abajo */
    rgba(19, 21, 27, 0.556),    /* intermedio */
    rgba(12, 12, 15, 0.275)       /* transparente arriba */
  );
  z-index: 1;
}


header .carousel-caption { /* Aseguramos que el texto quede sobre el overlay */
  z-index: 2;
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

/* Media query para móviles */
@media (max-width: 767px) {
  header .carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }
}
