@import url('../fonts/bebas-neue-regular.ttf');


:root {
    --olive-leaf: #606c38ff;
    --black-forest: #283618ff;
    --cornsilk: #fefae0ff;
    --sunlit-clay: #dda15eff;
    --copperwood: #bc6c25ff;
    --cont-max-width: 1000px;
    --mt-20: 20px;
    --text-color: rgb(0, 0, 0);
    --bg-color: rgb(242, 242, 242);
    --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('../img/corten_1.jpg');
    color: #fff;
    line-height: 1.6;
}

a{
    text-decoration: none;
    color: inherit;
}
/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #111;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* hamburguesa */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.logo img {
    width: 60%;
}

h3{
    text-align: center;
    margin-bottom: 20px;
}


/* HERO */

.hero {
    height: 100vh;
    top: 0;
    background: url("../img/fondo_hero_1.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
}

.hero span {
    color: #c56a2d;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #c56a2d;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* SECTIONS */

section {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

/* VENTAJAS */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 6px;
}

.feature h3 {
    margin-bottom: 10px;
}

/* PROYECTOS */

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.projects img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* SERVICIOS */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service {
    background: #2a2a2a;
    padding: 30px;
    text-align: center;
}

/* FOOTER */

footer {
    background: #111;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

/* MOBILE */

@media (max-width:768px) {

    .logo img {
        width: 90%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: 0.4s;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .nav-links.active {
        max-height: 300px;
    }

}