
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif;
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
}
.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.menu li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: 1.5rem;
}
.split-screen {
    display: flex;
    height: calc(100vh - 60px);
}
.left, .right {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
}
.left {
    background-image: url('assets/main-slider-construccion.jpeg');
}
.right {
    background-image: url('assets/main-slider-medical2.jpg');
}
.overlay {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
}
.btn-outline, .btn-filled {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: bold;
}
.btn-outline {
    border: 2px solid white;
    color: white;
}
.btn-filled {
    background-color: #007BFF;
    color: white;
}
/* Reset y base */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Encabezado */
header {
    background: white;
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    max-width: 200px;
    /*height: auto;*/
}

/* Menú */
.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.menu li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

/* Pantalla dividida */
.split-screen {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 120px); /* Altura total menos header */
}

.left, .right {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.left {
    background-image: url('assets/main-slider-construccion.jpeg');
}

.right {
    background-image: url('assets/main-slider-medical2.jpg');
}

/* Overlay en cada sección */
.overlay {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
}

/* Botones */
.btn-outline, .btn-filled {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: black;
}

.btn-filled {
    background-color: #007BFF;
    color: white;
}

.btn-filled:hover {
    background-color: #0056b3;
}

/* Responsivo */
@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
        height: auto;
    }

    .overlay {
        position: static;
        padding: 2rem;
        text-align: center;
    }

    .menu {
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        max-width: 150px;
    }
}

#header {
  height: 70px;
  transition: all 0.5s;
  transition: all 0.5s;
  padding: 10px 0;
  background: #f7be00;
  z-index: 997;
}

#header.header-scrolled {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 33px;
  margin: 0;
  padding: 10px 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: #101820;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}