/* CSS Global para Header Transparente em Todas as Páginas */

/* Hero Section com Imagem de Fundo */
.hero-section {
    position: relative;
    height: 50vh; /* Aumentado de 60vh para 70vh */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/assets/images/background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 0; /* Removido margin-top negativo */
    padding-top: 120px; /* Ajustado para 120px */
}

.hero-content {
    max-width: 1200px;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Estilos para o logotipo na seção hero */
.hero-logo {
    width: 700px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.hero-btn-primary {
    background: #e74c3c;
    color: white;
    border: none;
}

.hero-btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    color: white;
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.9);
    color: #e74c3c;
    border: 2px solid #e74c3c;
    padding: 10px 22px;
}

.hero-btn-secondary:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
}

/* Overlay de triângulos na base da hero */
.hero-section {
    position: relative;
}

.hero-overlay-triangles {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%; /* ocupar todo o comprimento da página */
    bottom: -1px; /* alinhado ao fundo, ligeiro overlap para evitar gap */
    top: auto;
    height: 80px; /* altura fixa */
    pointer-events: none;
    z-index: 1; /* abaixo do conteúdo, acima do background */
    background: transparent;
    transform: none; /* não deslocar horizontalmente */
}

.hero-overlay-triangles::before,
.hero-overlay-triangles::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 100%;
    background: var(--hero-overlay-color, #000);
}

/* Triângulo esquerdo: alto à esquerda, ponta baixa ao centro */
.hero-overlay-triangles::before {
    left: 0;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* Triângulo direito: alto à direita, ponta baixa ao centro */
.hero-overlay-triangles::after {
    right: 0;
    left: auto;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Header transparente - MENOR TRANSPARÊNCIA */
.header {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.9); /* Removido !important para permitir temas */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adicionado sombra sutil */
}

.header.scrolled {
    background: rgba(255,255,255,0.95); /* Removido !important para permitir temas */
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15); /* Sombra mais pronunciada */
}

/* MANTER COR ORIGINAL DO TEXTO DOS MENUS */
.header .header-content {
    color: inherit !important; /* Manter cor original */
}

/*.header .nav-list a {
    color: inherit !important; 
}

.header .nav-list a:hover {
    color: #667eea !important; 
}*/

/* Ajustes para o conteúdo */
.main-content {
    margin-top: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh; /* Aumentado de 50vh para 70vh */
        padding-top: 140px; /* Aumentado de 100px para 140px */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        width: 500px;
        max-width: 90%;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-btn {
        width: auto; /* Removido width: 100% */
        max-width: 220px; /* Reduzido de 280px para 220px */
        justify-content: center;
        padding: 10px 20px; /* Reduzido padding */
        font-size: 0.9rem; /* Reduzido font-size */
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 45vh; /* Aumentado de 45vh para 65vh */
        padding-top: 130px; /* Aumentado de 90px para 130px */
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 350px;
        max-width: 85%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 0.6rem;
    }
    
    .hero-btn {
        max-width: 180px; /* Reduzido de 240px para 180px */
        padding: 8px 16px; /* Reduzido padding */
        font-size: 0.85rem; /* Reduzido font-size */
    }
}

/* Para ecrãs muito pequenos */
@media (max-width: 360px) {
    .hero-logo {
        width: 280px;
        max-width: 80%;
    }
} 