/*
Theme Name: MiFotomaton
Theme URI: https://www.mifotomaton.es/
Author: MiFotomatón
Description: Tema propio MiFotomatón
Version: 1.0
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height:1.6;
    color:#333;
    background:#fff;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* CONTENEDOR */

.mt-container{
    width:1180px;
    max-width:95%;
    margin:0 auto;
}

/* HEADER */

.mt-header{
    background:#4b4b4b;
    position:relative;
    z-index:9999;
}

.mt-header-inner{
    height:95px;
    display:flex;
    align-items:center;
}

/* LOGO */

.mt-logo{
    width:180px;
    flex-shrink:0;
    margin-right:40px;
}

.mt-logo img{
    width:100%;
    height:auto;
    filter:brightness(0) invert(1);
}

/* MENU */

.mt-nav{
    flex:1;
}

.mt-menu{
    display:flex;
    align-items:center;
    gap:22px;
}

.mt-menu > li{
    position:relative;
}

.mt-menu > li > a{
    color:#fff;
    font-size:15px;
    text-transform:uppercase;
    font-weight:400;
    transition:0.2s;
}

.mt-menu > li > a:hover{
    color:#ffffff;
    text-decoration:underline;
}

/* SUBMENUS */

.mt-menu .sub-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:240px;
    background:#fff;
    padding:10px 0;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    z-index:99999;
}

.mt-menu li:hover > .sub-menu{
    display:block;
}

.mt-menu .sub-menu li{
    width:100%;
}

.mt-menu .sub-menu a{
    display:block;
    padding:10px 15px;
    color:#333;
    font-size:14px;
}

.mt-menu .sub-menu a:hover{
    background:#f5f5f5;
}

/* TELEFONO */

.mt-phone{
    color:#fff;
    font-size:15px;
    white-space:nowrap;
    margin-left:30px;
}

/* CONTENIDO */

.site-main{
    min-height:500px;
}

/* FOOTER */

.site-footer{
    background:#222;
    color:#fff;
    padding:50px 0;
}

.site-footer a{
    color:#fff;
}

.site-footer p{
    margin:0;
}

/* RESPONSIVE */

@media(max-width:1024px){

    .mt-header-inner{
        flex-wrap:wrap;
        justify-content:center;
        height:auto;
        padding:15px 0;
    }

    .mt-logo{
        width:160px;
        margin-right:0;
        margin-bottom:15px;
    }

    .mt-nav{
        width:100%;
    }

    .mt-menu{
        justify-content:center;
        flex-wrap:wrap;
        gap:15px;
    }

    .mt-phone{
        margin-top:15px;
        margin-left:0;
    }

}

@media(max-width:768px){

    .mt-menu{
        flex-direction:column;
        gap:10px;
    }

    .mt-menu > li > a{
        font-size:14px;
    }

}