* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", Helvetica, Arial, sans-serif;
}

/*HEADER*/
.header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; 
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 5px 20px; 
    background: rgba(255,255,255,0.3);
}
.header.scroll {
    background: rgba(255,255,255,1);	
}
header nav{
    display: none;
}
.header .menu ul {
    display: flex;
    list-style: none;
}
.header .menu ul li {
    margin: 0 10px;
    padding: 5px 7px;
    background-color: rgba(0, 158, 73, 1);
    border-radius: 10px;
}
.header .menu ul li a{
    text-decoration: none;
    color: white;
    padding: 5px 7px;
}
.header .isologotipo img {
    height: 80px; 
}


/*BANNER*/
.banner-tittle{
    z-index: 2;
    position: relative;
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin: 0;
}
.banner-container{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; 
}
.banner-container img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}
.banner-container img.active{
    opacity: 1;
}

/*SECTION CONTENT*/
section#content{ 
    background: #F5F5F5;
    background-position: center top;
	width: 100%;
    padding-top: 5%;
    padding-bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#content aside{ 
	width: 80%;
	background: white;
	border-radius: 20px;
	font-size: 12px;
	margin-top: 5%;
	display: flex;
	flex-direction: column;
	align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

aside div.opciones{
	display: none;
}
aside div.title-mobile h3{
    color: #1B2C70;
    font-weight: 600;
    font-size: 28px;
    padding: 20px 10px;}

aside div.desc{
	width: 95%;
}

aside div.desc .marca-irritech {
    width: auto;
    height: 50px;
    margin: 20px 20px 0 0;
    float: right;
    display: none;
}

aside div.desc h2{
    color: #456094;
    font-size: 24px;
    font-weight: 300;
    margin-top: 0px;
    padding: 20px 10px;
}
aside div.desc p {
    font-size: 16px;
    margin: 0;
    padding: 10px 10px 0;    
}
div.desc div.grid-container{
    display: grid;
    grid-template-columns: auto auto auto auto;
}
aside div.desc ul {
    padding: 10px;
    margin: 0;
}
aside div.desc ul li {
    list-style-position: inside;
    margin: 0;
    padding: 0 0 5px;
    font-size: 16px;
}

aside div.imagenes{
	padding: 30px 10px 0;
    text-align: center;
}
aside div.imagenes img{
    height: 150px;
    width: auto;
    border-radius: 5px;
    margin-right: 5px;
}
aside button{
	background: linear-gradient(180deg, #456094 0%, #151E2E 100%);
	width: 50%;
	border-radius: 10px;
	color: white;
	border: none;
	margin-bottom: 5%;
	position: relative;
	margin: 10px 0;
	padding: 10px;
	display: block;
	left: 20px;
	top: 85%;
}

/*CONTROL DE OPCIONES CON DISPLAYS*/

aside div.desc,
aside div.img{
	display: block;
}
aside div.activo{
	display: block;
}

section#contacto{
	width: 100%;
	height: 50%;
    background: url('assets/background.jpg') no-repeat rgba(0, 112, 192, 1);
    background-position: center top;
    display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 5%;
	padding-bottom: 5%;
}
section#contacto h3{
	margin-top: 5%;
	font-size: 48px;
	font-weight: 600;
	color: #1B2C70;
	text-align: center;
}
section#contacto form{
	width: 80%;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
section#contacto input,
section#contacto select,
section#contacto textarea{
	height: 50px;
	border-radius: 10px;
	border: none;
	color: #666;
	font-size: 18px;
	margin: 0.5%;
	padding-left: 10px;
}

section#contacto form textarea#mensaje{
	height: 100px;
}

section#contacto form input#nombre,
section#contacto form input#empresa,
section#contacto form input#telefono,
section#contacto form input#email,
section#contacto form select#producto,
section#contacto form input#motivo,
section#contacto form textarea#mensaje
{
	width: 99%;
}
section#contacto form input#button{
	background: #1B2C70;
	color: white;
	width: 50%;
}
.mensaje-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none; /* Oculto por defecto */
}
.mensaje-status.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.mensaje-status.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/*FOOTER*/
footer{ 
	background: white;
	width: 100%;
	padding: 1% 2% 0px 2%;
	display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    color: #666;
}
footer *{ 
	align-items: center;
	justify-content: center;
}
footer a{ 
	color: #666;
    text-decoration: none;
}
footer div#datos-contacto,
footer div#informar,
footer div#logo{ 
	width: 90%;
	display: flex;
	flex-direction: column;
    align-items: center;
    font-size: medium;
}
div#datos-contacto *{ 
	margin: 5px 2px;
    display: flex;
}
div#ubicacion,
div#llamar,
div#redes
{ 
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
}
div#ubicacion a{ 
	display: flex;
	flex-direction: row;
}
footer figure{ 
	margin: 0px;
}


/*MEDIA QUERYS*/
@media screen and (min-width: 767px){ 
    header nav{
        display: flex;
    }
	footer{
        flex-direction: row;
    }
    footer a:hover{
    	font-weight: bold;
    }
    footer div#datos-contacto,
    footer div#informar{
    	width: 30%;
        align-items: flex-end;
    }
    footer div#logo{
        width: 30%;
    }
    div#informar{
    	text-align: center;
    }
    div#datos-contacto{
    	justify-content: flex-start;
    }

    div#datos-contacto *{
    	margin: 5px 2px;
     	justify-content: normal;
	}
    div#ubicacion,
    div#llamar,
    div#redes
    {
    	width: 100%;
    	display: flex;
    	flex-direction: row;
    }
    div#ubicacion a{
    	display: flex;
    	flex-direction: row;
    }
    footer figure{
    	margin: 0px;
    }

}

@media (min-width: 940px){ 
    #about{
      flex-direction: column;
      padding: 120px 20px 40px;
    }
    aside div.desc h2{
        color: #456094;
        font-size: 36px;
        font-weight: 300;
        margin-top: 0px;
    }
    aside div.desc p{
        font-size: 16px;
        margin-top: 20px;
    }

    .banner-tittle{
        z-index: 2;
        position: relative;
        color: white;
        font-size: 5.5rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin: 0;
    }
}

@media screen and (min-width: 1150px){
    section#content aside{ 
        height: 610px;
        font-size: 16px;
        
        display: flex;
        flex-direction: row;
    }
    section#content aside:nth-of-type(1){
        margin-top: -1%;
    }

    aside div.title-mobile{
        display: none;
    }
    aside div.opciones{
    	display: block;
        background: #1B2C7033;
        width: 25%;
        border-radius: 20px;
        padding: 3%;
        height: inherit;
    }
    aside div.opciones h3{
        color: #1B2C70;
        font-weight: 600;
    }
    aside div.opciones nav ul{
        margin-top: 15%;
        padding-left: 0px;
    }
    aside div.opciones nav ul li{
        list-style: none;
        margin-top: 5%;
        cursor: pointer;
        color: #333333;
        font-size: larger;
    }
    aside div.opciones nav ul li:hover,
    aside div.opciones nav ul li:focus{
        font-weight: bolder;
    }

    aside div.desc{
        width: 45%;
        padding: 3%;
    }

    aside div.desc .marca-irritech {
        width: auto;
        height: 50px;
        margin: 20px 20px 0 0;
        float: right;
        display: block;
    }
    
    aside div.img{
        width: 30%;
    }
    aside div.img button{
        height: 10%;
		width: 80%;
        cursor: pointer;
    }
    section#contacto form input#nombre,
    section#contacto form input#empresa,
    section#contacto form input#telefono,
    section#contacto form input#email
    {
        width: 49%;
    }


    /*FONDOS EQUIPOS DE RIEGO*/
    aside#equipos-de-riego div#img-pivote-central-fijo{
        background: url('assets/img-pivote-central-fijo.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#equipos-de-riego div#img-pivote-central-movil{
        background: url('assets/img-pivote-central-movil.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#equipos-de-riego div#img-avance-frontal-lineal{
        background: url('assets/img-avance-frontal-lineal.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#equipos-de-riego div#img-avance-frontal-pivotable{
        background: url('assets/img-avance-frontal-pivotable.jpg');
        background-position: center top;
        background-size: cover;
    }


    /*FONDOS REPUESTOS*/
    aside#repuestos div#img-maza-fija-estandar{
        background: url('assets/img-maza-fija-estandar.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#repuestos div#img-maza-fija-movil{
        background: url('assets/img-maza-fija-movil.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#repuestos div#img-motoreductores{
        background: url('assets/img-motoreductores.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#repuestos div#img-aspersion{
        background: url('assets/img-aspersion.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#repuestos div#img-tubos{
        background: url('assets/img-tubos.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#repuestos div#img-angulos{
        background: url('assets/img-angulos.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#repuestos div#img-tensores{
        background: url('assets/img-tensores.jpg');
        background-position: center top;
        background-size: cover;
    }


    /*FONDOS ELÉCTRICOS*/
    aside#electricos div#img-panel-de-control{
        background: url('assets/img-panel-de-control.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#electricos div#img-cajas-de-torre{
        background: url('assets/img-cajas-de-torre.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#electricos div#img-cables{
        background: url('assets/img-cables.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#electricos div#img-colectores{
        background: url('assets/img-colectores.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#electricos div#img-control-a-distancia{
        background: url('assets/img-control-a-distancia.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#electricos div#img-contactores{
        background: url('assets/img-contactores.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#electricos div#img-microswitches{
        background: url('assets/img-microswitches.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#electricos div#img-miscelaneos{
        background: url('assets/img-miscelaneos.jpg');
        background-position: center top;
        background-size: cover;
    }


    /*FONDOS ELÉCTRICOS*/
    aside#accesorios div#img-accesorios-waterscreen{
        background: url('assets/img-accesorios-waterscreen.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#accesorios div#img-accesorios-tubos-z{
        background: url('assets/img-accesorios-tubos-z.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#accesorios div#img-accesorios-valvulas-de-aire{
        background: url('assets/img-accesorios-valvulas-de-aire.jpg');
        background-position: center top;
        background-size: cover;
    }
    aside#accesorios div#img-accesorios-sistemas-antirrobo{
        background: url('assets/img-accesorios-sistemas-antirrobo.jpg');
        background-position: center top;
        background-size: cover;
    }


    /*CONTROL DE OPCIONES CON DISPLAYS*/

    aside div.desc,
    aside div.img{
        display: none;
        height: inherit;
    }
    aside div.activo{
        display: block;
        width: 80%;
    }

    section#contacto form{ 
        width: 75%;
    }
    
    section#contacto form input#button{ 
        width: 130%;
        cursor: pointer;
    }
}
