@import url(variaveis.css);
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spicy+Rice&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

#banner, #banner-filmes {
    height: 615px;
    padding: 0;
    margin: 0;
    font-family: 'Dancing Script', sans-serif;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

#banner h1, #banner-filmes h1 {
    display: flex;
    justify-content: center;
    position: relative;
    color: #ffffff;
    text-align: center;
    top: 1rem;
    z-index: 9999;
    padding: 0;
    margin: 0;
    font-size: 3rem;
    font-weight: 400;
    text-shadow: 1px 1px 1px #000000;
    background-color: #0000001a;
    border-radius: 0.1rem;
    top: 15%;
    left: 0;
    right: 0;
}

#banner, #banner-filmes {
    max-width: 1920px;
    height: 615px;
}

#banner .carousel, #banner-filmes .carousel {
    max-width: 100%;
    height: 615px;
    object-fit: cover;
    margin: 0;
    padding: 0;
    position: relative;
}

#banner .carousel > ul, #banner-filmes .carousel > ul {
    list-style: none;
}

#banner .slide, #banner-filmes .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;
}

#banner .carousel .imagem_carousel, #banner-filmes .carousel .imagem_carousel {
    width: 1920px;
    height: 615px;
    display: block;
    position: absolute;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

#banner .carousel .slide[data-ativo], #banner-filmes .carousel .slide[data-ativo] {
    opacity: 1;
    z-index: 1;
    transition-delay: 0ms;
}

#banner .botao-carousel, #banner-filmes .botao-carousel {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    font-size: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: .25rem;
    padding: 0 .5rem;
    background-color: rgba(0, 0, 0, .1);
}

#banner .carousel .botao-carousel:hover, #banner-filmes .carousel .botao-carousel:hover {
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, .2);
}

.botao-carousel.anterior {
    left: 1rem;
}

.botao-carousel.proximo {
    right: 1rem;
}

.cards {
    width: 1858px;
    height: 830px;
    margin: 1rem;
    display: flex;
    justify-content: center;
    background-color: #FAEBD7;
    border-radius: 0.5rem;
}

.cards .card-01,
.cards .card-02,
.cards .card-03,
.cards .card-04 {
    width: 432px;
    height: 807px;
    margin: 1rem;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.cards .card-01 h1,
.cards .card-02 h1,
.cards .card-03 h1,
.cards .card-04 h1 {
    font-size: x-large;
    color: #868383;
    text-shadow: 1px 1px 1px #000000;
    letter-spacing: .1rem;
    margin: .3rem 0 0 0;
}

.cards .card-01 h2,
.cards .card-02 h2,
.cards .card-03 h2,
.cards .card-04 h2 {
    font-weight: 300;
}

.cards .card-01 .card_image,
.cards .card-02 .card_image,
.cards .card-03 .card_image,
.cards .card-04 .card_image {
    width: 432px;
    height: 720px;
}

.cards .card-01 .card_image img, 
.cards .card-02 .card_image img,
.cards .card-03 .card_image img, 
.cards .card-04 .card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .5rem;
    animation: fade-in linear;
    animation-timeline: view();
    animation-range: entry;
}

.parallax {
    height: 100vh;
    overflow-x: hidden;
    perspective: 10px;
    margin: 0;
    padding: 0;
}

.parallax header {
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    z-index: -1;
}

.parallax .fundo,
.parallax .frente {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: -1;
}

.parallax .citacao {
    font-size: 4rem;
    color: #FFFFFF;
    text-shadow: 0 0 2px #000000;
}

.ver-mais {
    max-width: 1920px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5rem;
    
}

.ver-mais button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 50px;
    border: 2px solid #FFFFFF;
    border-radius: 1rem;
    color: #000000;
    background: #1d1d1d;
    transition: border 0.3s ease-in-out;
}

.ver-mais button a {
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    color: #FFFFFF;
}

@keyframes fade-in {
    from { scale: .8; opacity: 0; } 
    to { scale: 1; opacity: 1; }
}

@keyframes slide-fade-in {
    from {
        opacity: 0;
        transform: translateY(5vh);
    }
}

.imagens-scroll {
    max-width: 1920px;
    position: relative;
    overflow-x: hidden;
}

.imagens-marquee {
    margin-inline: auto;
    height: 450px;
    margin: 5rem 0 5rem 0;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0)
    );
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.marquee {
    width: 315px;
    height: 450px;
    border-radius: 6px;
    position: absolute;
    left: max(calc(315px * 9), 1920px);
    animation: scrollleft 30s linear infinite;
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.marquee img {
    width: 315px;
    height: 450px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease-out;
}

/* Pause animation when parent is hovered */
.imagens-marquee:hover .marquee {
    animation-play-state: paused;
    transform: scale(1.02);
}

.imagens-marquee:hover .marquee img {
    transform: scale(1.05);
}

.item1 {
    animation-delay: calc(30s / 9 * (9 - 1) * -1);
}

.item2 {
    animation-delay: calc(30s / 9 * (9 - 2) * -1);
}

.item3 {
    animation-delay: calc(30s / 9 * (9 - 3) * -1);
}

.item4 {
    animation-delay: calc(30s / 9 * (9 - 4) * -1);
}

.item5 {
    animation-delay: calc(30s / 9 * (9 - 5) * -1);
}

.item6 {
    animation-delay: calc(30s / 9 * (9 - 6) * -1);
}

.item7 {
    animation-delay: calc(30s / 9 * (9 - 7) * -1);
}

.item8 {
    animation-delay: calc(30s / 9 * (9 - 8) * -1);
}

.item9 {
    animation-delay: calc(30s / 9 * (9 - 9) * -1);
}

@keyframes scrollleft {
    to {
        left: -315px;
    }
}

@media (max-width: 430px) {
    #navbar nav h1 .logo,
    #navbar nav h1 .logo a {
        width: 1rem;
        font-size: 1.5rem;
        padding: 0;
        margin: 0;
    } 

    .card_image {
    }

    .cards {
        width: 100%;
        height: auto;
        margin: 1rem 0;
        padding: 1rem 0;
        display: block;
    }

    .cards .card-01,
    .cards .card-02,
    .cards .card-03,
    .cards .card-04 {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .cards .card-01 h1,
    .cards .card-02 h1,
    .cards .card-03 h1,
    .cards .card-04 h1 {
        font-size: large;
        margin: 0;
    }

    .cards .card_image {
        width: 80%;
        height: auto;
    }

    #banner h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    #banner .carousel .imagem_carousel {
        width: 100%;
        height: 100%;
    }

    .imagens-scroll .imagens-marquee img {
        width: 85%;
    }

    .botao-carousel {
        padding: 0;
        display: flex;
    }

    .ver-mais button {
        width: 100%;
        height: 50px;
        font-size: 1rem;
    }

}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* High contrast mode support */
@media (forced-colors: active) {
    .scroll-to-top {
        border: 2px solid currentColor;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition: none;
    }
}

/* Accessibility Styles */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (forced-colors: active) {
    .carousel button,
    .scroll-to-top,
    .button {
        border: 2px solid currentColor;
    }
    
    img {
        border: 1px solid currentColor;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .imagens-marquee {
        animation: none !important;
    }
}

/* Original button styles with accessibility improvements */
.ver-mais button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ver-mais button:hover,
.ver-mais button:focus {
    transform: scale(1.05);
}

.ver-mais button:active {
    transform: scale(0.98);
}

.ver-mais button a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.ver-mais button a:hover,
.ver-mais button a:focus {
    background-color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ver-mais button a:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Carousel button improvements */
.carousel button {
    background: transparent;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel button:hover,
.carousel button:focus {
    background-color: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.carousel button:active {
    transform: scale(0.95);
}

/* Focus styles */
a:focus,
button:focus {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}

/* Marquee styles */
.imagens-marquee {
    will-change: transform;
    transition: animation-play-state 0.3s ease;
}

.imagens-marquee.paused {
    animation-play-state: paused;
}

/* Card improvements */
.cards section {
    position: relative;
}

.cards a {
    text-decoration: none;
    color: inherit;
}

.cards img {
    width: 100%;
    height: auto;
    display: block;
}

/* Button styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover,
.button:focus {
    background-color: #333;
}

/* View Transitions */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slide-from-right {
    from { transform: translateX(30px); }
    to { transform: translateX(0); }
}

@keyframes slide-to-left {
    from { transform: translateX(0); }
    to { transform: translateX(-30px); }
}

::view-transition-old(root) {
    animation: 300ms cubic-bezier(0.4, 0, 0.2, 1) both fade-out,
              300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left;
}

::view-transition-new(root) {
    animation: 300ms cubic-bezier(0.4, 0, 0.2, 1) 90ms both fade-in,
              300ms cubic-bezier(0.4, 0, 0.2, 1) 90ms both slide-from-right;
}

/* Band link hover effect */
.band-link {
    display: block;
    position: relative;
    transition: transform 0.3s ease;
}

.band-link:hover {
    transform: scale(1.02);
}

.band-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.band-link:hover::after {
    opacity: 1;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #1d1d1d;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 6px;
    border: 2px solid #1d1d1d;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #333 #1d1d1d;
}

/* Hide scrollbar for carousel but keep functionality */
#banner::-webkit-scrollbar, #banner-filmes::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Hide scrollbar for marquee but keep functionality */
.imagens-marquee::-webkit-scrollbar {
    display: none;
}

/* Footer styles */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    background: #181818;
    color: #f6f6f8;
    border-top: 1px solid #333;
    font-family: 'Dosis', sans-serif;
}
.footer-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 250px;
    flex: 1 1 250px;
}
.footer-contact-form label {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.footer-contact-form input,
.footer-contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #333;
    border-radius: 0.3rem;
    background: #222;
    color: #f6f6f8;
    font-size: 1rem;
    resize: vertical;
}
.footer-contact-form textarea {
    min-height: 60px;
    max-height: 200px;
}
.footer-contact-form button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.3rem;
    background: #333;
    color: #f6f6f8;
    font-size: 1rem;
    cursor: not-allowed;
    opacity: 0.7;
}
.footer-contacts {
    flex: 1 1 180px;
}
.footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}
.footer-contacts li {
    margin-bottom: 0.5rem;
    color: #aaa;
    font-size: 0.95rem;
}
.footer-content > p {
    flex-basis: 100%;
    text-align: center;
    margin-top: 2rem;
    color: #aaa;
    font-size: 0.95rem;
}
@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .footer-contact-form, .footer-contacts {
        min-width: 0;
        width: 100%;
    }
    .footer-content > p {
        margin-top: 1rem;
    }
}

@media (max-width: 900px) {
  .cards {
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    align-items: center;
  }
  .cards .card-01,
  .cards .card-02,
  .cards .card-03,
  .cards .card-04 {
    width: 90%;
    height: auto;
    margin: 1rem auto;
  }
  .cards .card_image {
    width: 100%;
    height: auto;
  }
  .cards .card_image img {
    width: 100%;
    height: auto;
  }
  #banner, #banner-filmes {
    height: 320px;
    max-width: 100vw;
  }
  #banner .carousel, #banner-filmes .carousel {
    height: 320px;
  }
  #banner .carousel .imagem_carousel, #banner-filmes .carousel .imagem_carousel {
    width: 100vw;
    height: 320px;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
  }
  .imagens-scroll {
    max-width: 100vw;
    overflow-x: auto;
  }
  .imagens-marquee {
    height: 220px;
    margin: 2rem 0;
  }
  .marquee, .marquee img {
    width: 180px;
    height: 220px;
  }
  .ver-mais {
    margin: 2rem 0;
  }
}
@media (max-width: 600px) {
  .cards {
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
  }
  .cards .card-01,
  .cards .card-02,
  .cards .card-03,
  .cards .card-04 {
    width: 100%;
    height: auto;
    margin: 0.5rem 0;
    padding: 0 0.5rem;
  }
  .cards .card_image {
    width: 100%;
    height: auto;
  }
  .cards .card_image img {
    width: 100%;
    height: auto;
  }
  #banner, #banner-filmes {
    height: 180px;
    max-width: 100vw;
  }
  #banner .carousel, #banner-filmes .carousel {
    height: 180px;
  }
  #banner .carousel .imagem_carousel, #banner-filmes .carousel .imagem_carousel {
    width: 100vw;
    height: 180px;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
  }
  .imagens-scroll {
    max-width: 100vw;
    overflow-x: auto;
  }
  .imagens-marquee {
    height: 120px;
    margin: 1rem 0;
  }
  .marquee, .marquee img {
    width: 90px;
    height: 120px;
  }
  .ver-mais {
    margin: 1rem 0;
  }
  .cards .card-01 h1,
  .cards .card-02 h1,
  .cards .card-03 h1,
  .cards .card-04 h1 {
    font-size: 1rem;
  }
}