/**
 * Ucristo Construction Company - Main Stylesheet
 * Version: 1.0.0
 */

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
    --primary-color: #121212;
    --primary-color-rgb: 18, 18, 18;
    --primary-color-light: #222222;
    --primary-color-dark: #000000;
    --secondary-color: #292929;
    --secondary-color-light: #3d3d3d;
    --secondary-color-dark: #1a1a1a;
    --dark-color: #000000;
    --white-color: #fff;
    --black-color: #000;
    --light-color: #f2f2f2;
    --gray-color: #b0b0b0;
    --gray-color-light: #e0e0e0;
    --gray-color-dark: #696969;
    --border-color: #444444;
    --accent-color: #505050;
    --accent-color-rgb: 80, 80, 80;
    
    --gradient-primary: linear-gradient(to right, #000000, #333333);
    --gradient-secondary: linear-gradient(135deg, #111111 0%, #2a2a2a 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #222222 100%);
    --gradient-light: linear-gradient(135deg, #333333, #555555);
    
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --btn-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Open Sans', sans-serif;
    color: #e0e0e0;
    line-height: 1.7;
    background-color: var(--primary-color);
    overflow-x: hidden;
}

/* Estilos especiais quando a página é rolada */
body.scrolled .header {
    background-color: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white-color);
}

p {
    margin-bottom: 15px;
    color: var(--gray-color-light);
}

a {
    color: var(--gray-color-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--white-color);
    text-decoration: none;
}

.section-padding {
    padding: 120px 0 100px;
}

/* Ajuste específico para a primeira seção para evitar que o conteúdo fique escondido pelo header */
#inicio {
    padding-top: 0;
}

/* Garantir que as seções tenham altura mínima para melhor navegação */
section[id] {
    min-height: 100vh;
    position: relative;
    scroll-margin-top: 90px; /* Propriedade moderna para ajustar o scroll considerando o header fixo */
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--accent-color);
}

.section-header.text-center h2::after {
    left: 25%;
}

.section-header.text-white h2 {
    color: var(--white-color);
}

.section-header.text-white h2::after {
    background-color: var(--white-color);
}

.section-header.text-white p {
    color: rgba(255, 255, 255, 0.8);
}

.bg-light {
    background-color: var(--primary-color-light) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    box-shadow: var(--btn-shadow);
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: 1px solid transparent;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    color: var(--white-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gray-color);
    color: var(--white-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white-color);
    transform: translateY(-3px);
    color: var(--white-color);
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    padding: 20px 0;
    transition: var(--transition);
    position: fixed;
    width: 100%;
    z-index: 1000;
    /* Fundo totalmente transparente quando no topo */
    background-color: rgba(18, 18, 18, 0.2);
    /* Sombra leve e borda inferior sutil para melhorar visibilidade */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
}

.header-scrolled {
    background-color: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--white-color);
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--white-color);
    transform: scale(1.05);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
}

.header-scrolled .navbar-brand {
    color: var(--white-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link {
    color: var(--white-color);
    font-weight: 500;
    padding: 12px 18px;
    position: relative;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.header-scrolled .navbar-nav .nav-link {
    color: var(--white-color);
}

.header-scrolled .navbar-nav .nav-link:hover,
.header-scrolled .navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.header-scrolled .navbar-nav .nav-link::after {
    background-color: var(--accent-color);
}

.header-scrolled .navbar-nav .nav-link:hover::after,
.header-scrolled .navbar-nav .nav-link.active::after {
    width: 60%;
    background-color: var(--accent-color);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background-color: var(--white-color);
    display: block;
    position: relative;
    transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--white-color);
    left: 0;
    transition: var(--transition);
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

.header-scrolled .navbar-toggler-icon,
.header-scrolled .navbar-toggler-icon::before,
.header-scrolled .navbar-toggler-icon::after {
    background-color: var(--white-color);
}

.navbar-collapse {
    transition: var(--transition);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(26, 26, 26, 0.95);
        border-radius: 10px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: var(--box-shadow);
    }

    .header:not(.header-scrolled) .navbar-collapse {
        background-color: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-attachment: fixed;
    z-index: 1;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    opacity: 0.7;
    z-index: -2;
}

.hero-content {
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.hero-text {
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    position: relative;
    padding-bottom: 15px;
    animation: slideLeft 1s ease forwards;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: slideRight 1s ease forwards 0.3s;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray-color-light);
    max-width: 600px;
    animation: fadeIn 1s ease forwards 0.7s;
    opacity: 0;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: scaleUp 1s ease forwards 1s;
    position: relative;
    z-index: 2;
}

.hero-logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.hero-logo img {
    max-width: 100%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.hero-logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.hero-buttons .btn {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    box-shadow: var(--btn-shadow);
}

.hero-buttons .btn-primary:hover {
    background: var(--dark-color);
}

.hero-buttons .btn-outline {
    border: 2px solid var(--gray-color);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white-color);
}

.hero-buttons .btn i {
    margin-left: 8px;
}

.hero-buttons .btn:hover i {
    animation: bounce 1s infinite;
}

/* Media query for responsive hero section */
@media (max-width: 991px) {
    .hero-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-text p {
        margin: 30px auto 40px;
        font-size: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-logo {
        margin: 0 auto;
        padding: 0;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
    position: relative;
    background-color: var(--primary-color);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    z-index: 0;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    opacity: 1;
    transition: all 0.5s ease;
}

.about-image.animated {
    transform: translateY(0);
    opacity: 1;
}

.about-image .shape-bg {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: none !important;
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
    border-radius: var(--border-radius-lg);
    filter: grayscale(20%);
}

.about-image:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 20px;
}

.stat-item {
    flex: 1;
    min-width: calc(50% - 20px);
    background: var(--primary-color-light);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.stat-item.animated {
    transform: translateY(0);
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--white-color);
    margin-bottom: 5px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.feature-box {
    background-color: var(--primary-color-light);
    padding: 35px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.feature-box .icon {
    color: var(--white-color);
    font-size: 40px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    z-index: 2;
}

.feature-box .icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--white-color);
}

.feature-box p {
    color: var(--gray-color-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Diferente tempo para cada box - simplificado */
.feature-box:nth-child(1),
.feature-box:nth-child(2),
.feature-box:nth-child(3),
.feature-box:nth-child(4) {
    animation: none !important;
    transform: none !important;
}

/* Regra específica para garantir que elementos estáticos não sejam animados */
.static-element,
.static-element * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    animation-fill-mode: both !important;
    pointer-events: none !important;
}

@media (max-width: 991px) {
    .features-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .features-row {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section {
    position: relative;
    background-color: var(--primary-color-light);
    overflow: hidden;
    z-index: 1;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color-light);
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%233d3d3d" fill-opacity="0.1" d="M0,160L60,154.7C120,149,240,139,360,154.7C480,171,600,213,720,213.3C840,213,960,171,1080,149.3C1200,128,1320,128,1380,128L1440,128L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    opacity: 0.3;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 30%, rgba(80, 80, 80, 0.05) 0%, transparent 50%);
    z-index: -2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--primary-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 1;
}

.service-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    background: var(--primary-color-light);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    transform: rotateY(180deg);
}

.service-card .icon i {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    color: var(--white-color);
    font-size: 30px;
}

.service-card:hover .icon i {
    transform: rotateY(360deg);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gray-color);
    transition: all 0.3s ease;
}

.service-card:hover h3::after {
    width: 60px;
    background: var(--white-color);
}

.service-card p {
    font-size: 15px;
    color: var(--gray-color);
    margin-bottom: 20px;
    flex: 1;
}

.service-card .service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-color-light);
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-card .service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white-color);
    transition: all 0.3s ease;
}

.service-card .service-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--white-color);
}

.service-card:hover .service-link::after {
    width: 100%;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
    background-color: #2b2b2b;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
    margin-top: 0;
    scroll-margin-top: 90px;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.07), transparent 60%);
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 5;
}

.testimonials-slider {
    padding-top: 50px;
    margin: 0 auto;
    position: relative;
}

/* Posicionamento das setas de navegação */
.slick-custom-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.slick-custom-arrows button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slick-custom-arrows button:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.3);
}

.slick-custom-arrows button:active {
    transform: translateY(0);
}

/* Ajuste nos itens do slider */
.testimonials-slider .slick-slide {
    height: auto;
    margin: 0 15px;
    opacity: 0.85;
    transition: all 0.4s ease;
}

.testimonials-slider .slick-track {
    display: flex;
    gap: 10px;
}

.testimonial-item {
    background-color: #2a2a2a;
    padding: 35px 30px;
    border-radius: 10px;
    min-height: 350px;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex !important;
    flex-direction: column;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-item:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(51, 51, 51, 0.5);
    background-color: #444444;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 120px;
    font-family: 'Georgia', serif;
    line-height: 1;
    color: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.rating {
    margin-bottom: 20px;
    color: #ffc107;
    font-size: 16px;
    display: flex;
    gap: 5px;
}

.rating i {
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.testimonial-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.testimonial-author .info {
    flex: 1;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #555555;
}

.testimonial-author p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.more-testimonials {
    text-align: center;
    margin-top: 60px;
}

.more-testimonials .btn {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.more-testimonials .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.5);
}

.more-testimonials .btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(var(--primary-color-rgb), 0.4);
}

@media (max-width: 768px) {
    .slick-custom-arrows {
        position: static;
        transform: none;
        margin-top: 30px;
        padding: 0;
        justify-content: center;
        gap: 20px;
    }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.1;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 0;
}

.contact-form-container {
    background-color: var(--primary-color-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: all 0.6s ease;
}

.contact-form-container.animated {
    transform: translateY(0);
    opacity: 1;
}

.contact-form-container h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--white-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.form-control {
    height: 52px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    margin-bottom: 20px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(80, 80, 80, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
    color: var(--gray-color);
}

textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    margin-bottom: 40px;
    background-color: var(--primary-color-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: all 0.6s ease;
}

.contact-info.animated {
    transform: translateY(0);
    opacity: 1;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--white-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.contact-info-item .icon {
    font-size: 22px;
    color: var(--white-color);
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    transition: var(--transition);
}

.contact-info-item:hover .icon {
    transform: rotateY(180deg);
}

.contact-info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--white-color);
}

.contact-info-item p {
    margin: 0 0 5px 0;
    color: var(--gray-color-light);
}

.google-map {
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
}

.google-map iframe {
    border-radius: var(--border-radius-lg);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background: var(--gradient-secondary);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 50%);
    z-index: 0;
}

.footer-top {
    padding: 100px 0 60px;
    position: relative;
    z-index: 1;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: var(--white-color);
    font-size: 22px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #333333, #555555);
    border-radius: 3px;
}

.social-links {
    display: flex;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    margin-right: 10px;
    transition: var(--transition);
    border-radius: 50%;
    font-size: 18px;
}

.social-links a:hover {
    background-color: #333333;
    color: var(--white-color);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.footer-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 2px;
    background-color: #333333;
    transition: var(--transition);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: block;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 12px;
    color: #555555;
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-links li:hover::before {
    width: 12px;
    background-color: var(--white-color);
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form input {
    height: 52px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    color: var(--white-color);
    margin-bottom: 15px;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form .submit-btn {
    width: 100%;
    height: 52px;
    border: none;
    background: linear-gradient(to right, #333333, #555555);
    color: var(--white-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--btn-shadow);
}

.newsletter-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 15px;
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #333333, #555555);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    box-shadow: var(--btn-shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(5px);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.slide-right {
    opacity: 0;
    animation: slideRight 0.8s ease forwards;
}

.slide-left {
    opacity: 0;
    animation: slideLeft 0.8s ease forwards;
}

.scale-up {
    opacity: 0;
    animation: scaleUp 0.8s ease forwards;
}

/* Atrasos nas animações */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Partículas para efeito de fundo */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: none !important;
}

.particle:nth-child(even) {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
}

.particle:nth-child(3n) {
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
}

.animate-on-scroll {
    opacity: 1;
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    transform: translateY(0);
}

/* Animações somente funcionam se a classe .use-animations estiver no body */
body.use-animations .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

body.use-animations .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Aplicar o mesmo para outros elementos animados */
body.use-animations .about-image {
    opacity: 0;
    transform: translateY(30px);
}

body.use-animations .about-image.animated {
    opacity: 1;
    transform: translateY(0);
}

body.use-animations .stat-item {
    opacity: 0;
    transform: translateY(30px);
}

body.use-animations .stat-item.animated {
    opacity: 1;
    transform: translateY(0);
}

body.use-animations .service-card {
    opacity: 0;
    transform: translateY(30px);
}

body.use-animations .service-card.animated {
    opacity: 1;
    transform: translateY(0);
}

body.use-animations .contact-form-container,
body.use-animations .contact-info {
    opacity: 0;
    transform: translateY(30px);
}

body.use-animations .contact-form-container.animated,
body.use-animations .contact-info.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Bloqueio RADICAL de animações para feature-box - Aplicado com !important para sobrescrever tudo */
.feature-box,
.feature-box * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    pointer-events: none !important;
    opacity: 1 !important;
}

/* Seletores específicos para ter certeza que sobrescreverão qualquer outra regra */
body .feature-box,
body .feature-box *,
body.use-animations .feature-box,
body.use-animations .feature-box *,
.feature-box.animated,
.feature-box:hover,
.feature-box:hover * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Remove qualquer animação de qualquer keyframe */
@keyframes float {
    0%, 100% {
        transform: none;
    }
}

/* Remover qualquer animação para o navegador Safari */
@supports (-webkit-appearance:none) {
    .feature-box,
    .feature-box * {
        -webkit-animation: none !important;
        -webkit-transition: none !important;
        -webkit-transform: none !important;
    }
}

/* Portfolio Section */
.portfolio {
  background-color: #f8f9fa;
}

.portfolio-filters {
  margin-bottom: 20px;
}

.btn-filter {
  background: transparent;
  border: 1px solid #dee2e6;
  margin: 0 5px 10px;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-filter:hover, .btn-filter.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.portfolio-card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.portfolio-card img {
  height: 220px;
  object-fit: cover;
  transition: all 0.5s;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card .card-body {
  padding: 1.25rem;
}

/* Portfolio Modals */
.portfolio-modal .modal-dialog {
  max-width: 800px;
}

.portfolio-modal .modal-content {
  padding: 20px 0;
  border: none;
}

/* Responsive Styles for Portfolio */
@media (max-width: 767.98px) {
  .portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .btn-filter {
    margin: 0 3px 8px;
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .portfolio-card img {
    height: 180px;
  }
  
  .portfolio-card .card-body {
    padding: 1rem;
  }
  
  .portfolio-card .card-title {
    font-size: 1.1rem;
  }
  
  .portfolio-card .card-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .portfolio-card img {
    height: 160px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
}

