/*
Theme Name: Rooka
Theme URI: https://rooka.cl
Author: Rooka
Description: Tema personalizado para Rooka
Version: 1.0
*/
.mobile-menu {
    z-index: 2147483647 !important;
    background: #11111159 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #11111159;
    z-index: 1;
    pointer-events: none;
}

.mobile-menu > * {
    position: relative;
    z-index: 2;
}

.mobile-menu {
    z-index: 999999 !important;
}

body.admin-bar .mobile-menu {
    z-index: 999999 !important;
}

.mobile-menu * {
    box-sizing: border-box;
}

body.mobile-menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

.mobile-menu::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #11111159;
    opacity: 1 !important;
    z-index: -1;
    pointer-events: none;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

body.page-template-page-acerca,
body.page-template-template-acerca {
    margin-top: 0;
    padding-top: 0;
}

*, *:before, *:after {
    box-sizing: inherit;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    animation: fadeInDown 1s ease;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.site-header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 25px 40px;
    /* background: rgba(255, 255, 255, 0.85); */
  
}

.logo {
    width: 150px;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
    max-width: 150px;
}

.logo a {
    transition: transform 0.35s ease-in-out, filter 0.35s ease-in-out;
    display: block;
}

.logo a:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    color: white;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #1A3F8A;
}

.main-nav a.active {
    color: #ffffff;
    border-bottom: 2px solid white;
    padding-bottom: 3px;
}

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.header-background {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0c0d0d;
    opacity: 0.4;
    inset: 0%;
}


.inner-page-header {
    height: 300px !important;
    background-color: #1A3F8A;
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100%;
    display: block;
    position: relative;
}

.inner-page-header .header-overlay {
    position: absolute;
    background-color: transparent; /* Cambiamos a transparente para que se vea el video de fondo */
    width: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    height: 100%;
}

.inner-page-header .header-inner {
    padding: 20px 40px;
    height: auto;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: transparent; /* Quitamos el fondo, ya que el header tiene su propio color */
}

.inner-page-header .main-nav a {
    color: white;
}

.inner-page-header .main-nav a:hover {
    color: #fff;
    opacity: 0.8;
}

.inner-page-header .header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.inner-page-header .header-overlay {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acerca-header-title {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Añadimos sombra para mayor legibilidad */
}

.admin-bar .site-header.inner-page-header {
    margin-top: 0;
}

.admin-bar .acerca-page {
    margin-top: 0;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header.inner-page-header {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .header-inner { flex-direction: row; gap: 8px; padding: 15px 20px; }
    .main-nav ul { gap: 20px; }
    .logo img { height: 32px; }
}

@media (max-width: 600px) {
    .header-inner { padding: 10px 15px; }
    .main-nav a { font-size: 16px; }
    .logo img { height: 26px; }
}