/* Estilos para la sección de Branding */
.emp-main-container {
    width: 100%;
    height: 450px;
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

.emp-background-image {
    width: 100%;
    height: 100%;
    background-image: url('../../../utils/img/1223-img-proyecto-nagofre.jpg'); /* Reemplaza con la ruta correcta */
    background-size: cover;
    background-position: center;
    position: relative;
}

.emp-branding-overlay {
    position: absolute;
    left: 10%;
    bottom: 0%;
    background-color: white;
    padding: 10px;
    width: 70vh;
    height: 20vh;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: left; /* Asegura la alineación a la izquierda */
}

.emp-branding-title {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
    margin-left: 20px;
    font-weight: 500;
    text-align: left;
}

.emp-company-name {
    font-size: 80px;
    font-weight: 300;
    color: #222;
    line-height: 1;
    margin: 0;
    text-align: left;
    margin-left: 20px;
}

.info-emp-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px;
    margin: 50px auto;
}

.info-left-content {
    flex: 1;
    max-width: 45%;
}

.info-right-content {
    flex: 1;
    max-width: 45%;
    margin-top: 20px;
}


.info-right-content hr {
    border: 0px solid #ddd;
    margin: 20px 0;
    margin-top: 55px;
}

.info-right-content p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.info-left-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.info-left-content hr {
    border: 1px solid #ddd;
    margin: 20px 0;
    width: 20px;
}

.info-left-content p {
    line-height: 1.6;
    color: #333;
}

.exp-container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.exp-left-section, .exp-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-left-section img {
    max-width: 80%;
    height: 50vh;
}

.exp-right-section img {
    height: 100vh;
}

.exp-text {
    margin-top: 50px;
}

.zoom-effect {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zoom-effect:hover {
    transform: scale(1.1);
}

/* Contenedor principal */
.emp-web-container {
    position: relative;
    min-height: 80vh;
    margin: 4rem 0;
    overflow: hidden;
}
/* Contenedor principal */
.emp-web-container {
    position: relative;
    min-height: 80vh;
    margin: 4rem 0;
    overflow: hidden;
}

/* Sección de fondo con imagen */
.emp-web-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.emp-web-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

/* Contenido con botón - MODIFICADO PARA INFERIOR IZQUIERDA */
.emp-web-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: flex-start; /* Alineación a la izquierda */
    align-items: flex-end; /* Alineación en la parte inferior */
    padding: 0 0 4rem 4rem; /* Espaciado inferior y izquierdo */
    box-sizing: border-box;
}

.emp-web-button-container {
    text-align: left; /* Alineación texto a la izquierda */
}

.emp-web-button {
    background: transparent;
    border: 1px solid #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #222;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    margin: 0; /* Elimina márgenes automáticos */
}

.emp-web-button:hover {
    background: #222;
    color: #fff;
    border: 1px solid #000;
}

/* Efecto de hover sofisticado */
.emp-web-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.emp-web-button:hover::after {
    width: 150px;
    height: 150px;
}

/* Contenedor principal */
.pro-emp-related-projects {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Encabezado de sección */
.pro-emp-section-header h2 {
    font-size: 2.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    margin-bottom: 3.5rem;
    color: #333;
    text-align: center;
}

/* Grid de proyectos */
.pro-emp-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}

/* Tarjetas de proyecto */
.pro-emp-project-card {
    border-top: 1px solid #e1e1e1;
    padding-top: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pro-emp-project-card:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

/* Título del proyecto */
.pro-emp-project-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 1rem 0 0.5rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    line-height: 1.3;
}

/* Metadatos del proyecto */
.pro-emp-project-meta {
    font-size: 0.9rem;
    color: #777;
    letter-spacing: 0.05rem;
}

.pro-emp-project-date {
    display: block;
    margin-top: 0.3rem;
}
/* Contenedor principal */
.pro-emp-related-projects {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Encabezado de sección */
.pro-emp-section-header h2 {
    font-size: 2.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    margin-bottom: 3.5rem;
    color: #333;
    text-align: center;
}

/* Grid de proyectos */
.pro-emp-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

/* Tarjetas de proyecto */
.pro-emp-project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

.pro-emp-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Contenedor de imagen */
.pro-emp-project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.pro-emp-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.pro-emp-project-card:hover .pro-emp-project-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Contenido textual */
.pro-emp-project-card > h3,
.pro-emp-project-card > .pro-emp-project-meta {
    padding: 0 1.5rem;
}

.pro-emp-project-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 1.5rem 0 0.5rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    line-height: 1.3;
}

.pro-emp-project-meta {
    font-size: 0.9rem;
    color: #777;
    letter-spacing: 0.05rem;
    padding-bottom: 1.5rem;
}

.pro-emp-project-date {
    display: block;
    margin-top: 0.3rem;
}
@media screen and (max-width: 1600px) {
    .info-right-content hr {
        border: 0px solid #ddd;
        margin: 20px 0;
        margin-top: 40px;
    }
    .emp-branding-overlay{
        width: 80vh;
        height: 18vh;
    }
}

@media screen and (max-width: 992px) {
    /* Sección de Branding */
    .emp-main-container {
        height: 350px;
    }
    
    .emp-branding-overlay{
        width: 60vh;
        height: 18vh;
    }
    
    .emp-company-name {
        font-size: 60px;
    }
    
    /* Sección de información */
    .info-emp-section {
        padding: 30px;
        margin: 30px auto;
        flex-direction: column;
    }
    
    .info-left-content, .info-right-content {
        max-width: 100%;
        margin-top: 20px;
    }
    
    /* Sección de experiencia */
    .exp-container {
        flex-direction: column;
    }
    
    .exp-left-section, .exp-right-section {
        margin-bottom: 30px;
    }
    
    .exp-left-section img {
        height: 40vh;
    }
    
    .exp-right-section img {
        height: 70vh;
    }
    
    /* Proyectos relacionados */
    .pro-emp-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles y pantallas pequeñas (menor a 768px) */
@media screen and (max-width: 768px) {
    /* Sección de Branding */
    .emp-main-container {
        height: 300px;
    }
    
    .emp-branding-overlay {
        width: 45%;
        height: auto;
        padding: 15px;
        left: 10%;
    }
    
    .emp-branding-title {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .emp-company-name {
        font-size: 40px;
    }
    
    /* Sección web con botón */
    .emp-web-content {
        padding: 0 0 2rem 2rem;
    }
    
    .emp-web-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    /* Proyectos relacionados */
    .pro-emp-section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .pro-emp-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pro-emp-project-image {
        height: 180px;
    }
}

/* Móviles muy pequeños (menor a 480px) */
@media screen and (max-width: 480px) {
    /* Sección de Branding */
    .emp-main-container {
        height: 250px;
    }
    
    .emp-branding-overlay {
        width: 90%;
        left: 5%;
    }
    
    .emp-company-name {
        font-size: 32px;
        margin-left: 10px;
    }
    
    .emp-branding-title {
        margin-left: 10px;
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    /* Sección de información */
    .info-emp-section {
        padding: 20px;
        margin: 20px auto;
    }
    
    .info-left-content h1 {
        font-size: 1.8em;
    }
    
    /* Sección web con botón */
    .emp-web-content {
        padding: 0 0 1.5rem 1.5rem;
    }
    
    .emp-web-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }
    
    /* Sección de experiencia */
    .exp-left-section img {
        height: 30vh;
        max-width: 90%;
    }
    
    .exp-right-section img {
        height: 50vh;
    }
    
    .exp-text {
        margin-top: 30px;
    }
    
    /* Proyectos relacionados */
    .pro-emp-related-projects {
        padding: 3rem 0;
    }
    
    .pro-emp-section-header h2 {
        font-size: 1.5rem;
    }
    
    .pro-emp-project-title {
        font-size: 1.2rem;
    }
}


/* Fix para dispositivos de orientación landscape */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .emp-main-container {
        height: 200px;
    }
    
    .emp-branding-overlay {
        height: auto;
        width: 40%;
        padding: 10px;
    }
    
    .emp-company-name {
        font-size: 36px;
    }
    
    .exp-left-section img,
    .exp-right-section img {
        height: auto;
        max-height: 80vh;
    }
}