/* ======== CONFIGURACIÓN GENERAL Y VARIABLES ======== */
:root{
	--primary-color: #2E7D32; /* Verde principal */
	--secondary-color: #4CAF50; /* Verde más claro */
	--dark-color: #333;
	--light-color: #f4f4f4;
	--white-color: #fff;
	--font-family: 'Poppins', sans-serif;
	--box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	--border-radius: 8px;
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html{
	scroll-behavior: smooth;
}
body{
	font-family: var(--font-family);
	line-height: 1.6;
	color: var(--dark-color);
}
.clearfix{
	clear: both;
	display: block;
	height: 0;
	width: 0;
}
.container{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.container-md{
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
}
.section-padding{
	padding: 80px 0;
}
.section-title{
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: var(--primary-color);
}
.section-intro{
	text-align: center;
	max-width: 600px;
	margin: 0 auto 50px auto;
	color: #666;
}
.bg-light{
	background-color: var(--light-color);
}
.btn{
	display: inline-block;
	background-color: var(--secondary-color);
	color: var(--white-color);
	padding: 12px 25px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn:hover{
	background-color: var(--primary-color);
	transform: translateY(-3px);
}
/* ======== HEADER Y NAVEGACIÓN ======== */
.header{
	background-color: rgba(255, 255, 255, 1);
	backdrop-filter: blur(10px);
	padding: 15px 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: background-color 0.3s ease;
}
.header .container{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo{
	background: url(../images/fumicen.png) top left no-repeat;
	background-size: cover;
	height: 60px;
	width: 313px;
}
.nav-links{
	list-style: none;
	display: flex;
}
.nav-links li{
	margin-left: 20px;
}
.nav-links a{
	text-decoration: none;
	color: var(--dark-color);
	font-weight: 600;
	position: relative;
	padding-bottom: 5px;
}
.nav-links a::after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}
.nav-links a:hover::after{
	width: 100%;
}
.hamburger{
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-color);
	cursor: pointer;
}
/* ======== CARRUSEL DE INICIO ======== */
.hero-carousel{
	height: 100vh;
	width: 100%;
	position: relative;
	color: var(--white-color);
}
.slide{
	height: 100vh;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.slide::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}
.slide-content{
	padding: 20px;
	position: relative;
	z-index: 2;
}
.slide-content h1{
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, .7), 1px -1px 0 rgba(0, 0, 0, .7), -1px 1px 0 rgba(0, 0, 0, .7), 1px 1px 0 rgba(0, 0, 0, .7);
}
.slide-content p{
	font-size: 1.2rem;
	margin-bottom: 30px;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, .7), 1px -1px 0 rgba(0, 0, 0, .7), -1px 1px 0 rgba(0, 0, 0, .7), 1px 1px 0 rgba(0, 0, 0, .7);
}
.slick-dots{
	bottom: 25px;
}
.slick-dots li button:before{
	font-size: 12px;
	color: var(--white-color);
	opacity: 0.75;
}
.slick-dots li.slick-active button:before{
	opacity: 1;
	color: var(--secondary-color);
}
/* ======== SECCIÓN NOSOTROS ======== */
.features-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 50px;
}
.feature-item{
	text-align: center;
	padding: 30px;
	background: var(--white-color);
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}
.feature-item i{
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}
.feature-item h3{
	font-size: 1.5rem;
	margin-bottom: 10px;
}
/* ======== SECCIÓN PROCESO ======== */
.process-steps{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	position: relative;
}
.step{
	text-align: center;
}
.step-icon{
	width: 60px;
	height: 60px;
	background-color: var(--primary-color);
	color: var(--white-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0 auto 20px auto;
	border: 3px solid var(--secondary-color);
}
/* ======== SECCIONES DE SERVICIOS (Jardinería y Desinfección) ======== */
.service-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.service-card{
	background: var(--white-color);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover{
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.service-card img{
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.service-content{
	padding: 25px;
}
.service-content h3{
	margin-bottom: 10px;
	color: var(--primary-color);
}
#certs_logos{
	text-align: center
}
#certs_logos img{
	height: 120px;
	margin: 5px;
	width: auto;
}
.plague{
	margin-bottom: 10px;
	text-align: center;
}
.plague img{
	border-radius: 10px;
	display: block;
	height: auto;
	margin: 0 auto 10px auto;
	width: 300px;
}
/* ======== SECCIÓN CONTACTO ======== */
.contact-wrapper{
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 50px;
	margin-top: 50px;
}
.contact-form form{
	display: flex;
	flex-direction: column;
}
.contact-form input,
.contact-form textarea{
	width: 100%;
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-family: var(--font-family);
	font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus{
	outline: none;
	border-color: var(--primary-color);
}
.contact-info p{
	margin-bottom: 15px;
	font-size: 1.1rem;
}
.contact-info i{
	color: var(--primary-color);
	margin-right: 15px;
	width: 20px;
	text-align: center;
}
.social-icons{
	margin-top: 20px;
}
.social-icons a{
	color: var(--dark-color);
	font-size: 1.5rem;
	margin-right: 15px;
	text-decoration: none;
	transition: color 0.3s ease;
}
.social-icons a:hover{
	color: var(--primary-color);
}
/* ======== FOOTER ======== */
.footer{
	background-color: var(--dark-color);
	color: var(--light-color);
	text-align: center;
	padding-top: 50px;
}
#map{
	height: 400px;
	width: 100%;
	margin-bottom: 20px;
	border-radius: var(--border-radius);
	z-index: 50;
}
/* ======== BOTÓN WHATSAPP ======== */
.whatsapp-flotante{
	position: fixed;
	bottom: 30px;
	right: 30px;
	background-color: #25D366;
	color: var(--white-color);
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
	text-decoration: none;
	z-index: 100;
	transition: transform 0.3s ease;
}
.whatsapp-flotante:hover{
	transform: scale(1.1);
}
/* Grid de la galería */
.gallery{
	text-align: center;
}
.gallery-grid{
	display: inline-block;
	/*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
	/*gap: 20px;*/
	/*margin-top: 30px;*/
	margin: 10px;
}
/* Estilo de los enlaces (las tarjetas) */
.gallery-grid a{
	display: block;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	background: #fff; /* Fondo blanco por si la imagen tarda en cargar */
}
/* Efecto Hover */
.gallery-grid a:hover{
	transform: translateY(-5px);
	box-shadow: 0 12px 20px rgba(0,0,0,0.2);
	z-index: 1;
}
/* Imágenes */
.gallery-grid img{
	width: 100%;
	height: 200px; /* Altura fija para que todas se vean alineadas */
	object-fit: cover; /* Recorta la imagen para llenar el espacio sin deformarla */
	display: block;
	transition: transform 0.5s ease;
}
/* Efecto opcional: Zoom suave en la imagen interna al pasar el mouse */
.gallery-grid a:hover img{
	transform: scale(1.1);
}

@media (max-width: 768px){
	.section-title{
		font-size: 2rem;
	}
	.slide-content h1{
		font-size: 2.5rem;
	}
}
@media (min-width: 768px){
	.plague{
		float: left;
		width: 50%;
	}
}
@media (max-width: 1080px){
	.nav-links{
		display: none;
		flex-direction: column;
		width: 100%;
		background-color: var(--white-color);
		position: absolute;
		top: 90px;
		left: 0;
		padding: 20px 0;
		box-shadow: 0 5px 10px rgba(0,0,0,0.1);
	}
	.nav-links.active{
		display: flex;
	}
	.nav-links li{
		margin: 15px 0;
		text-align: center;
	}
	.hamburger{
		display: block;
	}
	.contact-wrapper{
		grid-template-columns: 1fr;
	}
}