/*
1. Posicionamiento
2. Modelo de caja (Box model)
3. Tipografia
4. Visuales
5. Otros
*/

/* Estilos Generales */

:root {
	--red: #e11b22;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    display: grid;
	font-family: 'Muli', sans-serif;
	-webkit-font-smoothing: antialiased;
	color: #999;
    overflow-x: hidden;
}

ul {
	list-style: none;
}

h1,
h2,
h3,
h4 {
	color: #fff;
}

a {
	color: #fff;
	text-decoration: none;
}

p {
	margin: 0.5rem 0;
}

img {
	width: 100%;
}

/* Seccion Hero */

.showcase {
    position: relative;
	width: 100vw;
	min-height: 50vh;
    height: auto;
    background: url(../images/hero.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0px 0px 33px 42px rgba(0,0,0,0.5);
    overflow: auto;
    margin-bottom: 15px;
}

.showcase::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	z-index: 1;
	background: rgba(0, 0, 0, 0.6);
}

.showcase-top {
    display: flex;
    justify-content: space-between;
	position: relative;
	z-index: 2;
}

.showcase-top img {
	width: 12rem;
    height: 100%;
}

.showcase-top__social {
    display: flex;
    margin: 10px 5px 0 0 ;
    height: 50px;
    padding-top: 15px;
}

.showcase-top i {
    display: flex;
	padding-bottom: 10px;
    font-size: 2.5rem;
    margin-right: 10px;
    transition: 0.5s ease;
}

.showcase-content {
    display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
    position: relative;
	z-index: 2;
	width: 65%;
	margin: 0 auto;
	text-align: center;
}

.showcase-content div {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.showcase-content div i {
    padding-bottom: 10px;
    font-size: 2.5rem;
    transition: 0.5s ease;
}

.showcase-content div .visit {
    display: inline-block;
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--red);
    transition: 0.5s ease;
}

.showcase-content div p {
    display: none;
}

.showcase-content h1 {
    margin: 0 0 1rem;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.1;
}

.showcase-content h2 {
    width: 30vw;
    margin-bottom: 50px;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.1rem;
}

.showcase-content p {
    margin: 0 0 2rem;
    font-size: 1.9rem;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    color: #fff;
}

.btn {
	display: inline-block;
	background: var(--red);
    opacity: 1;
	color: white;
	padding: 0.4rem 1.3rem;
	font-size: 1.5rem;
	text-align: center;
	border: none;
	cursor: pointer;
	margin-right: 0.5rem;
    margin-bottom: 20px;
	transition: 0.2s ease-in;
	outline: none;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
	border-radius: 5px;
    border: 1px solid var(--red);
}

/* Seccion de Servicios */

.services-title {
    display: flex;
    justify-content: center;
    margin: 5px 0 5px;
    font-size: 1.5rem;
    color: var(--red);
}

.services-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 300px));
    grid-template-areas: 
    "mecanica afinacion"
    "aceite frenos"
    "suspension amortiguador";
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin: 0 auto 40px;
    width: 100vw;
    min-width: 365px;
    height: 450px;
    gap: 5px 5px;
}


.mecanica, 
.afinacion,
.frenos,
.suspension,
.amortiguador,
.aceite {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 150px;
    opacity: 1;
    background-color: linear-gradient(0deg, #00000088 30%, #ffffff44 100%);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 .5rem 3rem -.25em rgba(0,0,0,.3);
}

.mecanica:hover, 
.afinacion:hover, 
.frenos:hover, 
.suspension:hover, 
.amortiguador:hover,
.aceite:hover {
    transition: 0.5s ease;
    font-weight: 700;
}


.services-section .mecanica {
    grid-area: mecanica;
    background-image: url(../images/mantenimiento.jpg);
}

.services-section .afinacion {
    grid-area: afinacion;
    background-image: url(../images/fuel-injection.jpg);
}

.services-section .frenos {
    grid-area: frenos;
    background-image: url(../images/frenos.jpg);
}

.services-section .suspension {
    grid-area: suspension;
    background-image: url(../images/suspension.jpg);
}

.services-section .amortiguador {
    grid-area: amortiguador;
    background-image: url(../images/amortiguador.jpeg);
}

.services-section .aceite {
    grid-area: aceite;
    background-image: url(../images/aceite.jpg);
}

.content {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: 0.5s ease;
    user-select: none;
}

.content:hover {
    align-items: center;
    transition: 0.3s ease;
    box-shadow: inset 0 0 1000px #000000;
}

.content h3 {
    position: absolute;
    z-index: 1;
    font-size: 1.7rem;
    color: white;
    top: 60px;
    transition: top 0.3s ease;
    font-weight: 400;
}

.content:hover h3 {
    top: 40px;
    font-weight: 600;
    color: var(--red);
    transition: top 0.3s ease;
}

.content p {
    position: absolute;
    top: 70px;
    visibility: hidden;
    display: inline-block;
    width: 20rem;
    max-width: 30rem;
    margin: 5px auto;
    padding: 0 10px;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
    transition: 0.1s ease;
}

.content:hover p {
    visibility: visible;
    transition: 0.1s ease;
    width: 20rem;
}

.division {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
    height: 2px;
    margin: 25px auto 10px;
    background-color: lightgrey;
}

.division.top {
    margin-top: 10px;
}

.value-section h2 {
    display: flex;
    justify-content: center;
    margin: 0 25px;
    text-align: center;
    color: var(--red);
}

.value-section p {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: -15px;
    font-size: 1.2rem;
    text-align: center;
}

.value-section--bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
    "left right";
    width: 100vw;
    margin: 40px auto;
    justify-items: center;
}

.left, .right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    padding: 0 10px;
    margin-top: 0;
    text-align: center;
}

.left {
    grid-area: left;
    width: 40vw;
    margin-right: 0;
}

.right {
    grid-area: right;
    width: 40vw;
    margin-left: 0;
}


.value-section--bottom i {
    padding-top: 0;
    padding-bottom: 10px;
    font-size: 4rem;
    color: var(--red);
}

.value-section--bottom h3 {
    font-size: 1.4rem;
    color: black;
}

.value-section--bottom p {
    font-size: 1.2rem;
    width: 75%;
}

/* Seccion de Equipo */

.team-section {
    background-image: url(../images/Pciture\ 5.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-bottom: 10px;
    margin-top: 20px;
}

.team-section h3 {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    font-size: 1.4rem;
    color: var(--red);
}

.team-section--container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 10px auto;
    min-height: 200px;
    height: auto;
}

.team-section--container img {
    display: grid;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 180px;
    margin: 10px;
    box-shadow: 0 .5rem 3rem -.25em rgba(0,0,0,.3);
    border-radius: 5px;
}

.location-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px 0;

}

.location-section i {
    padding-top: 0;
    padding-bottom: 10px;
    font-size: 4rem;
    color: var(--red);
}

.location-section h3 {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: black;
}

.location-section--address {
    width: 120px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: center;
}

.location-section__map {
    display: grid;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    padding: 5px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    box-shadow: 0px 5px 13px 0px #000000;
}

/* Seccion Footer */

.footer {
    display: flex;
    align-items: center;
    width: 100vw;
    height: 150px;
    padding: 10px;
    background: url(../images/hero.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    box-shadow: inset 0px 0px 33px 42px rgba(0,0,0,0.5);
    line-height: 1.8rem;
}

.footer li span {
    font-size: 1.4rem;
    color: white;
}

.footer li p {
    font-size: 1.1rem;
    color: white;
}

.footer li i {
    margin-right: 5px;
    font-size: 1.4rem;
    color: var(--red);
}


