@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wdth,wght@75..125,100..900&display=swap');
* {
    font-family: "Encode Sans", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    transition: background-color 0.3s ease;
    z-index: 1000;
    align-items: center;
}

header .logo img {
    width: 150px;
    transition: opacity 0.3s;
}

header.white-background .logo img {
    content: url('assets/img/logo/touchpoint-marketing-pr-color.png');
}

header.transparent {
    background-color: transparent;
}

header.white-background {
    background-color: white;
}

header nav ul {
    display: flex;
    list-style-type: none;
}

header nav ul li {
    margin-left: 20px;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 700;
    border: solid 2px #FFF;
    margin: 0px 10px;
}

header.white-background nav ul li {
    border: solid 1px #01232F;
    color: #01232f;
    padding: 5px 10px;
    font-size: 0.8rem;
}

header nav ul a,
header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

header.white-background nav ul li a {
    color: #333;
}

header nav ul li:hover {
    color: #01232F;
    background: #fff;
}

#contenido {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    background: url('assets/img/home/bgk-hero-marketing-pr.png') no-repeat center center;
    background-size: cover;
    padding-top: 80px;
}

.contenido-texto {
    margin-bottom: 20px;
}

.contenido-texto h1 {
    font-size: 11rem;
    color: white;
    margin-bottom: 10px;
}

.subtitulo {
    font-family: Arial, sans-serif;
    font-size: 6rem;
    color: transparent;
    margin-bottom: 0px;
    line-height: 5rem;
}

.contenido-boton {
    width: 100%;
    color: #ffffff;
    max-width: 1200px;
    text-align: left;
}

.contenido-boton p {
    font-size: 1.3rem;
    max-width: 470px;
}

button, .contacto-nav {
    padding: 12px 30px;
    background-color: #ffffff;
    color: #01232F;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
    font-weight: 700;
    border: solid 2px #FFF;
}
button a, .contacto-nav a {
    color: #01232F;
    text-decoration: none;
}

button:hover a,
.contacto-nav:hover a {
    color: #fff;
    text-decoration: none;
}
button:hover,
.contacto-nav:hover {
    background-color: transparent;
    border: solid 2px;
    color: #ffff;
}
.contacto-nav{
    font-size: 1rem;
    margin:0;
}

/* Responsividad */
@media (max-width: 1200px) {
    .contenido-texto h1 {
        font-size: 8rem;
    }

    .subtitulo {
        font-size: 4rem;
    }

    .contenido-boton p {
        font-size: 1.1rem;
    }
    .contenido-boton {
        padding: 0 20px;
    }

    button {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
@media screen and (min-width: 480px) {
    .subtitulo {
        -webkit-text-stroke: 2px white;
        text-stroke: 2px white;
    }
    
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        text-align: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .contenido-texto h1 {
        font-size: 6rem;
    }

    .subtitulo {
        font-size: 3.5rem;
        line-height: 2rem;
    }

    .contenido-boton p {
        font-size: 1rem;
    }

    button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    header nav ul li,
    .contacto-nav {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .contenido-texto h1 {
        font-size: 3rem;
    }

    .subtitulo {
        font-size: 2rem;
        line-height: 1rem;
        color: #ffffff;
    }

    .contenido-boton p {
        font-size: 0.9rem;
    }

    button {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 305px) {
    header {
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        gap: 20px;
    }
    .contacto-nav{
        padding: 5px 7px;
        font-size: 14px;
    }
}
@media screen and (min-height: 300px) and (max-height: 600px) {
    header.transparent,
    header.white-background {
        position: relative;
        background-color: #01232F;
    }
    #contenido {
        padding-top: 140px;
        display: block;
        min-height: 400px;
        background-size: cover;
        height: auto;
    }
    .contenido-boton {
        padding: 30px 20px;
    }
}

/* Efecto de cambio de color del header al hacer scroll */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
