body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section com Background Responsivo */
.hero-section {
    min-height: 100vh;
    background-repeat: no-repeat, no-repeat;
    position: relative;
    padding-bottom: 80px;
    /* Espaço para a parte visível do footer */
}

/* Pseudo-elemento para imagem secundária com transparência */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Background vertical para mobile - Dupla camada */
@media (max-width: 1500px) and (orientation: portrait) {
    .hero-section {
        background-image: url('../background/bg_1280x720.jpeg');
        background-size: auto 100%;
        background-position: center center;
    }

    .hero-section::before {
        background-image: url('../background/bg_1280x720.jpeg');
        background-size: 100% 100%;
    }
}

/* Background horizontal para mobile - Dupla camada */
@media (max-width: 1500px) and (orientation: landscape) {
    .hero-section {
        background-image: url('../background/bg_1350x1600.jpeg');
        background-size: auto 100%;
        background-position: center center;
    }

    .hero-section::before {
        background-image: url('../background/bg_1350x1600.jpeg');
        background-size: 100% 100%;
    }
}

/* Background horizontal para mobile - Dupla camada */
@media (max-width: 1500px) and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        background-image: url('../background/bg_1000x1800.jpeg');
        background-size: auto 100%;
        background-position: center center;
    }

    .hero-section::before {
        background-image: url('../background/bg_1000x1800.jpeg');
        background-size: 100% 100%;
    }
}

/* Background horizontal para desktop - Dupla camada */
@media (min-width: 1501px) {
    .hero-section {
        background-image: url('../background/bg_1350x1600.jpeg');
        background-size: 100% auto;
        background-position: center center;
    }

    .hero-section::before {
        background-image: url('../background/bg_1350x1600.jpeg');
        background-size: 100% 100%;
    }
}



/* Footer Styling */
.footer {
    background-color: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 40px 0 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(90%);
    transition: transform 0.4s ease-in-out;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.footer.expanded {
    transform: translateY(0);
    cursor: default;
    max-height: 95vh;
    overflow-y: auto;
}

/* Scrollbar customizada para o footer */
.footer::-webkit-scrollbar {
    width: 8px;
}

.footer::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.footer::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.footer::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.footer-indicator {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #4CAF50;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
}

.footer.expanded .footer-indicator {
    animation: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p,
.footer a {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.8;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-icon {
    margin-right: 10px;
    color: #4CAF50;
    width: 20px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.logo-footer {
    max-width: 200px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

/* Responsividade */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer h5 {
        margin-top: 30px;
    }

    .footer h5:first-child {
        margin-top: 0;
    }
}