:root{
    --primary-color: #48cae4;
    --bg-primary: #05090f;
    --highlight-color: #c1121f;
    --secondary-color: #023e8a;
    --secondary-text: #c1121f;
    --dark-highlight: #780000;
    --darker-highlight: #03045e;
    --box-size: 1420px;
    --padding-xs: 1.2rem;
    --padding-md: 1.8rem;
    --padding-lg: 2.4rem;
    --padding-xl: 3.6rem;
    --padding-xxl: 4.8rem;
    --font-size: 1.2rem;
    --font-size-xs: 1rem;
}
html{
    overflow-x: hidden;
}
body {
    font-family: "Poppins", Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
img{
    max-width: 100%;
}
.container{
    max-width: var(--box-size);
    width: 100%;
    margin: 0 auto;
}
.btn{
    text-decoration: none;
    border-radius: 40px;
    border: 2px solid;
    display: inline-block;
    padding: 10px 20px;
    transition: all .12s linear;
}
.btn-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.btn-primary{
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.btn-primary svg{
    fill: #fff;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus{
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
}
header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline;
}
nav ul li a, .contacts a {
    color: #fff;
    text-decoration: none;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle div {
    width: 30px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
}
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}
.hero-text {
    max-width: 600px;
}
.hero-text h1 span{
    color: var(--primary-color);
}
.hero-img{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.hero-img-bg{
    border-radius: 50%;
    background: var(--primary-color);
    width: 60vh;
    height: 60vh;
    display: block;
    overflow: hidden;
}
@media(max-width: 991px){
    .hero-img-bg{
        width: 320px;
        height: 320px;
    }
}
.hero-img-cntr{
    position: absolute;
    right: -10%;
    display: none;
}
@media(min-width: 1000px){
    .hero {
        flex-direction: row;
        height: 70vh;
    }
    .hero-text{
        width: 50%;
    }
    .hero-text h1{
        font-size: 3.4rem;
    }
    .hero-img{
        width: 50%;
    }
}
section {
    padding: 4rem 2rem;
}
#about{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
    background-color: var(--highlight-color);
}
#about > .container{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
}
.about-text h2{
    font-size: 2rem;
    margin-top: 0;
}
.about-items ul{
    padding-left: 0;
}
.about-items ul li{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}
.about-items ul li h4{
    margin-top: 10px;
}
.sobre-item-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    flex-wrap: wrap;
    flex-grow: 1;
    flex-shrink: 0;
}
@media(min-width: 1000px){
    #about, #about > .container{
        flex-direction: row;
    }
    .about-text{
        width: 50%;
    }
    .about-items{
        width: 50%;
        margin-left: 4rem;
    }
    .about-text h2{
        font-size: 3rem;
    }
}
#services h2{
    font-size: 3rem;
}
#services h2 span{
    color: var(--primary-color);
}
.services, .images {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.services > div:nth-child(odd){
    background-color: var(--primary-color);
}
.services div, .images div {
    margin-bottom: 1rem;
    padding: 2rem;
    box-sizing: border-box;
    color: #fff;
}
@media(min-width: 1000px){
    .services{
        gap: 0;
    }
    .services div {
        flex: 1 1 calc(33.333% - 1rem);
        margin-bottom: 0;
        padding: 2rem;
        box-sizing: border-box;
    }
    .services h3{
        font-size: 2rem;
    }
}

#gallery{
    background-color: var(--bg-primary);
    margin-top: 8rem;
}
#gallery .gallery-img{
    text-align: center;
    margin: -100px auto 0;
}
@media(min-width: 992px){
   #gallery .gallery-img{
        max-width: 30%;
    } 
}
.gallery-container{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    color: var(--primary-color);
}
.gallery-imgs{
    width: 100%;
}
.gallery-text h2{
    color: var(--primary-color);
    font-size: 3rem;
}
.gallery-text p, .gallery-text ul{
    color: #fff;
}
.gallery-imgs{
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, 1fr);
}
.gallery-item{
    height: 200px;
    position: relative;
    overflow: hidden;
}
.gallery-item img{
    position: absolute;
    inset: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media(min-width: 1000px){
    #gallery{
        margin-top: 10rem;
    }
    #gallery .gallery-img{
        margin: -190px auto 0;
    }
    .gallery-container{
        flex-direction: row;
        gap: 3rem;
    }
    .gallery-imgs{
        width: 50%;
    }
    .gallery-text{
        width: 50%;
    }
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
footer .footer-item ul{
    list-style: none;
    padding-left: 0;
}
footer .footer-item ul li a{
    text-decoration: none;
    color: #fff;
}
@media(min-width: 1000px){
    .footer-container{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .footer-item, .footer-item ul li{
        text-align: left;
    }
}
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background: #333;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }
    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        flex-direction: column;
    }
    nav ul li {
        padding: 1rem;
    }
    nav ul li a {
        color: #fff;
        text-decoration: none;
        display: block;
    }
    nav.active {
        display: flex;
    }
    .contacts{
        display: none;
    }
    .blank_space{
        display: none;
    }
}





/* SCROLL */
.js-scroll {
    opacity: 0;
    transition: opacity 500ms;
}

.js-scroll.scrolled {
    opacity: 1;
}

.scrolled.fade-in {
    animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
    animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
    animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
    animation: slide-in-right 1s ease-in-out both;
}
.scrolled.slide-bottom {
    animation: slide-in-bottom 1s ease-in-out both;
}

.scrolled.slide-top {
    animation: slide-in-top 1s ease-in-out both;
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-bottom {
    0% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-top {
    0% {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Galeria Van Fênix */
.galeria-fenix {
    padding: 40px 0;
    background: #f8f9fa;
}

.galeria-fenix .titulo-secao {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 28px;
}

.galeria-grid-fenix {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 15px;
    max-width: var(--box-size);
    margin: 0 auto;
    padding: 0 15px;
}

.galeria-item-fenix {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.galeria-item-fenix:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.galeria-link-fenix {
    display: block;
    height: 200px;
    position: relative;
}

.galeria-imagem-fenix {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Adaptações do Fancybox para o tema do site */
.fancybox__container {
    --fancybox-bg: rgba(44, 62, 80, 0.95);
}

.fancybox__toolbar {
    background: rgba(44, 62, 80, 0.7);
}

.fancybox__nav {
    --f-button-color: #fff;
    --f-button-hover-color: #f39c12;
}