

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: 'Segoe UI', sans-serif;
}

body{
background:#f4f6f9;
color:#333;
line-height:1.6;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* HEADER */

header{
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 0;
}

.logo img{
height:120px;
}

nav ul{
display:flex;
list-style:none;
gap:30px;
}

nav a{
text-decoration:none;
color:#333;
font-weight:600;
transition:0.3s;
}

nav a:hover{
color:#0a7cff;
}

/* HERO */

.hero{

height:90vh;
background:url('../img/hero.jpg') center/cover no-repeat;
position:relative;
display:flex;
align-items:center;
justify-content:center;
text-align:center;

}

.hero-overlay{

position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(255,255,255,0.6);

}

.hero-content{
position:absolute;
top:45%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
Color: Black;
}


.hero h1{
font-size:3rem;
margin-bottom:20px;
}

.hero p{
font-size:1.2rem;
margin-bottom:30px;
}

.btn{
display:inline-block;
padding:12px 25px;
background:#0a7cff;
color:white;
border-radius:6px;
text-decoration:none;
transition:0.3s;
}

.btn:hover{
background:#055ec4;
}

/* SERVICIOS */

.services{
padding:80px 0;
}

.services h2{
text-align:center;
margin-bottom:50px;
font-size:2.5rem;
}

.service-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.card:hover{
transform:translateY(-5px);
}

.card h3{
margin-bottom:15px;
color:#0a7cff;
}

/* SECCION INFO */

.info{
padding:80px 0;
background:white;
}

.info h2{
margin-bottom:20px;
}

/* FOOTER */

footer{
background:#111;
color:#ccc;
padding:40px 0;
margin-top:40px;
}

footer p{
text-align:center;
}

.hero{
height:62vh;
background:url('../img/hero2.jpg') center/contain;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
position:relative;
overflow:hidden;
background-repeat: no-repeat;        /* evita que se repita */
}

/* Título sección nuestros drones */

.nuestros-drones h1,
.nuestros-drones h2{
text-align: center;
}

.drone{
position:absolute;
width:230px;
animation:fly 7s ease-in-out infinite;
}

.drone-left{
left:5%;
top:20%;
}

.drone-right{
right:5%;
top:20%;
animation-delay:1s;
}

.drone-center{
left:45%;
top:63%;
animation-delay:0s;
}

@keyframes fly{

0%{transform:translateY(0px)}
50%{transform:translateY(-30px)}
100%{transform:translateY(0px)}
}

/* DEMO FUMIGACIÓN */

.fumigacion-demo{
text-align:center;
padding:80px 20px;
}

/* CAMPO */

.campo{
position:relative;
width:100%;
max-width:900px;
margin:auto;
height:400px;

background:repeating-linear-gradient(
90deg,
#6fbf4b,
#6fbf4b 40px,
#5aaa3f 40px,
#5aaa3f 80px
);

border-radius:10px;
overflow:hidden;
}

/* DRON */

.drone-fumigacion{

position:absolute;
top:80px;
left:-200px;

width:220px;

animation:vueloDron 12s linear infinite;

z-index:3;
}

/* ANIMACIÓN VUELO */

@keyframes vueloDron{

0%{
left:-200px;
}

100%{
left:100%;
}

}

/* SPRAY */

.spray{

position:absolute;

top:150px;
left:0;

width:100%;
height:120px;

background:radial-gradient(
rgba(255,255,255,0.6),
rgba(255,255,255,0)
);

opacity:0.5;

animation:sprayMove 12s linear infinite;

}



#map{
height:400px;
margin-top:40px;
border-radius:10px;
}

/* REDES SOCIALES */

.social{
margin-top:20px;
display:flex;
justify-content:center;
gap:20px;
}

.social a{
display:inline-flex;
align-items:center;
justify-content:center;
width:40px;
height:40px;
border-radius:50%;
background:#0f3a60;
color:white;
transition:0.3s;
}

.social a:hover{
background:#1b5c95;
transform:scale(1.1);
}

.social svg{
width:20px;
height:20px;
fill:white;
}

/* TOPBAR */

.topbar{
background:#000;
color:white;
padding:8px 20px;
display:flex;
justify-content:space-between;
font-size:14px;



}

.topbar a{
color:white;
text-decoration:none;
margin-left:15px;
}


/* REDES FOOTER */

.social{
margin-top:15px;
display:flex;
gap:15px;
justify-content:center;
}

.social a{
color:#0f3a60;
text-decoration:none;
font-weight:bold;
}


/* BOTONES FLOTANTES */

.floating-buttons{
position:fixed;
bottom:25px;
right:25px;
display:flex;
flex-direction:column;
gap:15px;
z-index:999;
}

.whatsapp{
background:#25D366;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:24px;
text-decoration:none;
}

.phone{
background:#0f3a60;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:24px;
text-decoration:none;
}

.whatsapp:hover{
transform:scale(1.1);
}

.phone:hover{
transform:scale(1.1);
}

/* Fondo página agricultura */

body.fondo-agricola{
    background-image: url("agricola.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* HERO NUESTROS DRONES */

.hero-drones{
display:flex;
align-items:center;
justify-content:center;
text-align:center;
}

.hero-content{
text-align:center;
margin:auto;
max-width:900px;
}

.hero-content h1{
text-align:center;
font-size:46px;
margin-bottom:15px;
}

.hero-content p{
text-align:center;
font-size:25px;
}

.hero-servicios{
text-align:center;
padding:80px 20px;
}

.servicio{
max-width:1200px;
margin:auto;
padding:60px 20px;
text-align:center;
}

.servicio h2{
font-size:34px;
margin-bottom:20px;
}

.servicio p{
max-width:800px;
margin:auto;
margin-bottom:40px;
font-size:18px;
}

.galeria-servicios{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.galeria-servicios img{
width:100%;
border-radius:10px;
transition:transform 0.3s;
}

.galeria-servicios img:hover{
transform:scale(1.05);
}

/* CONTACTO */

.contacto-intro{
text-align:center;
margin-bottom:50px;
font-size:18px;
}

.contacto-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-bottom:60px;
}

.contacto-card{
background:white;
padding:35px;
border-radius:12px;
text-align:center;
box-shadow:0 6px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.contacto-card:hover{
transform:translateY(-6px);
}

.contacto-card i{
font-size:42px;
margin-bottom:15px;
color:#0a7cff;
}

.contacto-card h3{
margin-bottom:10px;
font-size:22px;
}

.contacto-btn{
display:inline-block;
margin-top:15px;
padding:12px 20px;
background:#0a7cff;
color:white;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.contacto-btn:hover{
background:#055ec4;
}

/* colores especiales */

.telefono i{
color:#0f3a60;
}

.email i{
color:#d44638;
}

.whatsapp i{
color:#25D366;
}

/* FOOTER PROFESIONAL */

.footer{
background:#0f3a60;
color:white;
margin-top:60px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:40px;
padding:50px 20px;
}

.footer-col h3{
margin-bottom:15px;
}

.footer-col h4{
margin-bottom:15px;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col li{
margin-bottom:8px;
}

.footer-col a{
color:white;
text-decoration:none;
opacity:0.9;
}

.footer-col a:hover{
opacity:1;
text-decoration:underline;
}

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.2);
text-align:center;
padding:20px;
font-size:14px;
}