/**
 * Hero Custom CSS - Studio Vogt Theme
 * Estilos customizados para hero section e front-page seguindo padrões Bulma
 */

/* CSS para páginas em breve */
.missing-page a {
    opacity: 0.7;
    font-style: italic;
}

.missing-page a:hover {
    opacity: 1;
}

.missing-page a:after {
    content: " (em breve)";
    font-size: 0.8em;
    opacity: 0.6;
}

/* Customizações específicas do tema sobre Bulma */
.hero.is-medium {
    min-height: 300px;
    max-height: 33.33vh; /* Máximo 1/3 da altura da tela */
    height: 33.33vh;
}

/* Navbar no hero */
.hero .navbar {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.5rem 0;
}

.hero .navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero .navbar-brand {
    align-items: center;
}

.hero .navbar-end {
    align-items: center;
}

.navbar-item.has-text-white {
    color: white !important;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-decoration: none !important;
    padding: 0.5rem 0.75rem;
}

.navbar-item.has-text-white:hover {
    color: white !important;
    opacity: 0.8;
    background-color: transparent !important;
}

.navbar-item.has-text-white img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Garantir que o logo seja visível */
.navbar-brand .navbar-item {
    display: flex !important;
    align-items: center;
    padding: 0.5rem 0.75rem;
}

.navbar-brand a {
    color: white !important;
    text-decoration: none !important;
}

/* Estilos específicos para diferentes tipos de logo */
.navbar-brand .custom-logo {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar-brand .custom-logo-link {
    display: flex;
    align-items: center;
}

.hero .title.is-1 {
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Customização para botão ghost com ícone Unicode */
.button.is-ghost {
    color: white !important;
    text-decoration: none !important;
}

.button.is-ghost:hover {
    text-decoration: none !important;
}

.button.is-ghost .icon {
    color: white !important;
}

.button.is-ghost .icon span {
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsivo para hero */
@media (max-width: 768px) {
    .hero.is-medium {
        min-height: 200px;
        max-height: 33.33vh;
        height: 33.33vh;
    }
    
    .hero .navbar .container {
        padding: 0 1rem;
    }
    
    .hero .title.is-1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .navbar-item.has-text-white {
        font-size: 1.2em;
    }
    
    .hamburger-menu {
        font-size: 1.5em !important;
    }
}

@media (max-width: 480px) {
    .hero.is-medium {
        min-height: 150px;
        max-height: 33.33vh;
        height: 33.33vh;
    }
    
    .hero .navbar .container {
        padding: 0 0.75rem;
    }
    
    .hero .title.is-1 {
        font-size: 1.5rem;
    }
    
    .navbar-item.has-text-white {
        font-size: 1.1em;
    }
}

/* Para telas muito pequenas, garantir altura mínima legível */
@media (max-height: 500px) {
    .hero.is-medium {
        height: 150px;
        min-height: 150px;
        max-height: 150px;
    }
    
    .hero .navbar {
        padding: 0.25rem 0;
    }
}
