/*CSS PROYECTO FINAL*/

/*GENERALES*/
@font-face {
    font-family: sulpbold;
    src: url(../fuentes/SulphurPoint-Bold.ttf);
}

@font-face {
    font-family: sulpregular;
    src: url(../fuentes/SulphurPoint-Regular.ttf);
}

h2 {
    font-family: sulpbold, sans-serif;
    font-weight: bolder;
    font-size: 34px;
}

p {
    font-family: sulpregular, sans-serif;
}

body {
    background-color: #f8e3ee;
}

/*NAVBAR*/

.navbar-brand img {
    width: 100px;
}

.active {
    background-color: #8C446C;
    color: white !important;
}

.nav-link {
    padding: 35px 20px !important;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    background-color: #8C446C;
    color: white !important;
}

.nav-item {
    border-right: solid rgba(19, 19, 19, 0.32) 2px;
    display: flex;
    align-items: stretch;
}

.borde-derecho-nav {
    border-right: solid rgba(19, 19, 19, 0.32) 2px;
}

/*HERO VIDEO*/

.hero-video {
    background-color: #FBEAF3;
    padding: 0;
}

.hero-video video {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 90px;
}

/*MENU PORTAFOLIO*/
.card-menu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.4s ease;
}

.card-menu:hover img {
    transform: scale(1.08);
}

.menu-portafolio {
    padding: 60px 0;
}

.card-menu {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 30px;

    display: block;
    text-decoration: none;
    color: inherit;
}

.card-menu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-menu::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(140, 68, 108, 0.35);
}

.card-menu h2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 14px;
    background-color: rgba(140, 68, 108, 0.404);
    color: white;
    text-align: center;
    font-weight: bold;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.freelance {
    height: 260px;
}

.proyectos {
    height: 612px;
}

.sobre-mi {
    height: 220px;
}

.fotografia {
    height: 550px;
}

.contacto {
    background-color: #F8D9A7;
    border-radius: 15px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 4px 0 rgba(140, 68, 108, 0.35);
    display: block;
    text-decoration: none;
    transition: all .3s ease;
}

.contacto:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.contacto h2 {
    margin: 0;
    font-weight: bold;
    color: black;
}

/*FOOTER*/
.footer-redes {
    background-color: #8C63B0;
    padding: 20px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-texto {
    color: white;
    margin: 0;
    font-size: 16px;
}

.footer-iconos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-iconos img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.footer-iconos a {
    width: 50px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
}



/*SECCION SOBRE MI*/

.seccion-sobre-mi {
    padding: 170px 0 60px;
}

.foto-sobre-mi {
    width: 100%;
    max-height: 1000px;
    object-fit: cover;
}

.seccion-sobre-mi h1 {
    background-color: #8C446C;
    color: white;
    padding: 13px 15px;
    font-size: 30px;
}

.seccion-sobre-mi p {
    font-size: 24px;
    line-height: 1.4;
}

.frase-diseno {
    background-color: #8C446C;
    color: white;
    text-align: center;
    border-radius: 12px;
    padding: 25px;
    margin: 45px auto;
    max-width: 760px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
}

.frase-diseno h2 {
    margin: 0;
    font-size: 30px;
}

.frase-diseno p {
    margin: 8px 0 0;
    text-align: right;
}

.experiencia-laboral {
    margin-top: 40px;
}

.experiencia-laboral h2 {
    background-color: #8C446C;
    color: white;
    padding: 13px 12px;
    font-size: 30px;
}

.logo-sobre-mi {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROYECTOS DESTACADOS FREELANCE */

html,
body {
    overflow-x: hidden;
}

.proyectos-detalle {
    padding: 240px 0 100px;
}

.proyecto-item {
    margin-bottom: 100px;
}

.proyecto-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.descripcion-proyecto {
    background-color: #8C446C;
    color: white;
    padding: 30px;
    border-radius: 15px;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.descripcion-proyecto p {
    margin: 0;
    line-height: 1.6;
    font-size: 20px;
}

/* CONTROL INDIVIDUAL DE IMÁGENES */

.img-luis {
    width: 70%;
    display: block;
    margin: 0 auto;
}

.img-braulio {
    width: 70%;
    display: block;
    margin: 0 auto;
}

.mochila-img {
    width: 60%;
    display: block;
    margin-left: 100px;
}

.img-neo {
    width: 70%;
    display: block;
    margin: 0 auto;
}

.img-bexoo {
    width: 70%;
    display: block;
    margin: 0 auto;
}

.img-jabon {
    width: 70%;
    display: block;
    margin: 0 auto;
}


/*GALERIA PROYECTOS*/

.galeria-proyectos {
    padding: 220px 0 80px;
}

.proyecto-card {
    margin-bottom: 35px;
}

.proyecto-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.img-cuadrada {
    aspect-ratio: 1 / 1;
}

.img-horizontal {
    aspect-ratio: 16 / 9;
}

.img-vertical {
    aspect-ratio: 3 / 4;
}

.img-panoramica {
    aspect-ratio: 16 / 9;
}

.boton-proyecto {
    background-color: #8C446C;
    color: white;
    display: inline-block;
    padding: 8px 20px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    font-family: sulpbold, sans-serif;
}

.boton-proyecto:hover {
    background-color: #6f3455;
    color: white;
}

/* GALERIA FOTOGRAFIA */

.galeria-fotografia {
    padding: 220px 0 80px;
}

.masonry {
    columns: 3;
    column-gap: 25px;
}

.foto-card {
    break-inside: avoid;
    margin-bottom: 25px;
}

.foto-imagen {
    overflow: hidden;
}

.foto-imagen img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease, filter .4s ease;
}

.foto-card:hover .foto-imagen img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.foto-card p {
    margin: 8px 0 0;
    font-size: 16px;
    color: black;
}

/*CONTACTO*/

.contacto-portada {
    padding-top: 150px;
}

.contacto-portada img {
    width: 100%;
    height: auto;
    display: block;
}

.contacto-formulario {
    padding: 50px 0 90px;
}

.contacto-formulario .container {
    max-width: 850px;
}

.contacto-formulario h1 {
    text-align: center;
    font-family: sulpbold, sans-serif;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 45px;
}

.contacto-formulario label {
    display: block;
    font-family: sulpregular, sans-serif;
    margin-bottom: 8px;
}

.contacto-formulario input,
.contacto-formulario textarea {
    width: 100%;
    border: none;
    background-color: #F8D9A7;
    padding: 10px;
    margin-bottom: 35px;
    font-family: sulpregular, sans-serif;
}

.contacto-formulario textarea {
    height: 150px;
    resize: none;
}

.contacto-formulario button {
    background-color: #F8D9A7;
    border: none;
    border-radius: 20px;
    padding: 10px 35px;
    font-family: sulpregular, sans-serif;
    box-shadow: 0 4px 0 rgba(140, 68, 108, 0.35);
}

/*DETALLE PROYECTO*/

.detalle-proyecto {
    padding: 220px 0 80px;
}

.img-detalle {
    width: 100%;
    display: block;
}

/*IMAGEN PRINCIPAL GIN TONIC*/
.img-gin-principal {
    width: 75% !important;
    margin: 0 auto;
    display: block;
}

/*IMAGEN PRINCIPAL MEZCAL QUETZALLI*/
.img-mezcal {
    width: 45% !important;
    margin: 0 auto;
    display: block;
}

/*IMAGEN PRINCIPAL NARVIK*/
.img-narvik {
    width: 65% !important;
    margin: 0 auto;
    display: block;
}

.objetivo-proyecto {
    margin: 60px 0;
}

.objetivo-proyecto h2 {
    background-color: #8C446C;
    color: white;
    display: inline-block;
    padding: 12px 25px;
    font-size: 24px;
    margin-bottom: 30px;
}

.objetivo-proyecto p {
    font-size: 22px;
    line-height: 1.4;
}

/*CARRUSEL OWL*/

.carrusel-patrones {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.carrusel-inhalador .item {
    transition: .4s;
}

.carrusel-inhalador .item img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.carrusel-inhalador .owl-item {
    transform: scale(0.85);
    opacity: 0.7;
    transition: .4s;
}

.carrusel-inhalador .owl-item.center {
    transform: scale(1.05);
    opacity: 1;
}

.carrusel-inhalador .owl-nav button {
    font-size: 60px !important;
    color: #8C446C !important;
}

/*QUETZALLI*/
.imagen-secundaria-proyecto {
    text-align: center;
    margin: 70px 0;
}

.imagen-secundaria-proyecto img {
    width: 45%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

/*DELIGAT*/
.img-deli-principal {
    width: 40%;
    display: block;
    margin: 0 auto;
}

/*TENOCHTITLAN*/
.img-tenoch-principal {
    width: 75%;
    display: block;
    margin: 0 auto;
}

.img-tenochtitlan-principal {
    width: 65%;
    display: block;
    margin: 0 auto;
}

.carrusel-tenochtitlan .item {
    transition: .4s;
}

.carrusel-tenochtitlan .item img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.carrusel-tenochtitlan .owl-item {
    transform: scale(0.85);
    opacity: 0.7;
    transition: .4s;
}

.carrusel-tenochtitlan .owl-item.center {
    transform: scale(1.05);
    opacity: 1;
}

.carrusel-tenochtitlan .owl-nav button {
    font-size: 60px !important;
    color: #f8e3ee !important;
}

/*VINNA*/
.img-vinna-principal {
    width: 65%;
    display: block;
    margin: 0 auto;
}

.carrusel-vinna .item {
    transition: .4s;
}

.carrusel-vinna .item img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.carrusel-vinna .owl-item {
    transform: scale(0.85);
    opacity: 0.7;
    transition: .4s;
}

.carrusel-vinna .owl-item.center {
    transform: scale(1.05);
    opacity: 1;
}

.carrusel-vinna .owl-nav button {
    font-size: 60px !important;
    color: #f8e3ee !important;
}


/*MEDIA QUERIES*/
@media (max-width:997.98px) {

    .nav-item {
        border-top: solid rgba(19, 19, 19, 0.32) 2px;
        border-left: none;
    }

    .borde-derecho-nav {
        border-bottom: solid rgba(19, 19, 19, 0.32) 2px;
        border-right: none;
    }
}

@media (max-width: 991.98px) {
    .masonry {
        columns: 2;
    }
}

@media (max-width: 575.98px) {
    .masonry {
        columns: 1;
    }
}

/*Responsive galeria de foto*/
@media (max-width: 768px) {

    .proyectos-detalle {
        padding: 140px 0 60px;
    }

    .proyecto-item {
        margin-bottom: 60px;
    }

    .descripcion-proyecto {
        min-height: auto;
        padding: 25px;
    }

    .descripcion-proyecto p {
        font-size: 18px;
    }

    .img-luis,
    .img-braulio,
    .mochila-img,
    .img-neo,
    .img-bexoo,
    .img-jabon {
        width: 100%;
        margin: 0 auto;
    }

}

/* FOOTER RESPONSIVE */

@media (max-width: 768px) {

    .footer-redes {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
        gap: 18px;
    }

    .footer-texto {
        font-size: 10px;
        line-height: 1.5;
        margin: 0;
    }

    .footer-iconos {
        justify-content: center;
        gap: 15px;
    }

    .footer-iconos a {
        width: 40px;
        height: 40px;
    }

    .footer-iconos img {
        width: 28px;
        height: 28px;
    }

}
