/* Estilos para vídeo fullscreen */
.full-screen-intro {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(-50vw + 50%);
    margin-top: -20px;
    margin-bottom: 60px;
    background: #000;
}

.full-screen-intro video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.media-wapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.youtube-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    z-index: -1;
}

.youtube-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .youtube-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
    }
}

/* Overlay opcional para conteúdo sobre o vídeo */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.video-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
}


/* Estilos do Footer */
footer {
    background: linear-gradient(135deg, #f0f0f0 0%, #ecf0f1 100%);
    color: #ecf0f1;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    pointer-events: none;
}

.footer {
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
}

.footer-info {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(236, 240, 241, 0.1);
    padding-bottom: 40px;
}

/* Logo e Imagens */
.footer .img-responsive {
    max-height: 80px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.footer .img-responsive:hover {
    transform: translateY(-3px);
    filter: brightness(1.3) contrast(1.2);
}

/* Redes Sociais */
.social {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    gap: 15px;
}

.social li {
    margin: 0;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(52, 152, 219, 0.1);
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    color: #3498db;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social a:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.social .fa-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social .fa-facebook:hover {
    background: #333333;
}

.social .fa-vimeo-square:hover {
    background: #333333;
}

/* Títulos das Seções */
.footer h4 {
    color: #333333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* Links */
.link, .link-small {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link li, .link-small li {
    margin-bottom: 12px;
}

.link a, .link-small a {
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.6;
}

.link a:hover, .link-small a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.link-small .fa {
    margin-right: 10px;
    color: #3498db;
    width: 20px;
    text-align: center;
}

.link-small small {
    color: #95a5a6;
    font-size: 11px;
    margin-left: 5px;
}

/* Seção de Contatos */
.footer p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Copyright */
.copyright {
    background: rgba(44, 62, 80, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(236, 240, 241, 0.1);
    padding: 30px 0;
}

.copyright p {
    margin: 0;
    text-align: center;
    color: #95a5a6;
    font-size: 14px;
    line-height: 1.8;
}

.copyright a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #2ecc71;
}

.copyright b {
    font-weight: 600;
}

/* Seções Organizadas do Footer */
.footer-brand, .footer-section {
    height: 100%;
}

.brand-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.main-logo {
    max-height: 60px !important;
}

.secondary-logo {
    max-height: 50px !important;
}

.brand-description p {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.social-section h5 {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Seção de Contactos Melhorada */
.contact-info {
    margin-top: 10px;
}

.address-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #333333;
}

.address-info i {
    color: #333333;
    font-size: 18px;
    margin-top: 3px;
}

.address-info p {
    margin: 0;
    color: #333333;
    line-height: 1.5;
}

.link-small li {
    margin-bottom: 15px;
}

.link-small a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.link-small a:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(0);
}

.link-small i {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.link-small span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.link-small small {
    color: #7f8c8d;
    font-size: 12px;
    margin-left: 0;
}

/* Ícones nos Títulos */
.footer h4 i {
    margin-right: 8px;
}

/* Links com Ícones */
.link a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.link a:hover i {
    color: #333333;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .brand-logos {
        align-items: center;
    }
    
    .social {
        justify-content: center;
        margin-top: 25px;
    }
    
    .footer h4 {
        font-size: 18px;
        text-align: center;
    }
    
    .address-info {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .link-small a {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .copyright {
        padding: 25px 0;
    }
    
    .copyright p {
        font-size: 13px;
    }
}