/* 
==============================================
TENAZ - LANDING PAGE STYLES
==============================================
*/

/* 
==============================================
VARIABLES
==============================================
*/
:root {
    /* Cores principais */
    --primary-color: #1A2A4A;      /* Azul Marinho */
    --secondary-color: #F0B64D;    /* Amarelo/Dourado */
    --accent-color: #4A90E2;       /* Azul Claro */
    --light-bg: #F5F5F5;           /* Cinza Claro */
    --white: #FFFFFF;              /* Branco */
    --dark-text: #333333;          /* Texto Escuro */
    --light-text: #FFFFFF;         /* Texto Claro */
    --gray-text: #6c757d;          /* Texto Cinza */
    
    /* Fontes */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Espaçamentos */
    --section-padding: 5rem 0;
    --card-padding: 1.5rem;
}

/* 
==============================================
RESET & BASE STYLES
==============================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
}

.section-padding {
    padding: var(--section-padding);
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.text-white {
    color: var(--white) !important;
}

/* 
==============================================
BUTTONS
==============================================
*/
.btn {
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: #e0a93d;
    border-color: #e0a93d;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* 
==============================================
HEADER / NAVBAR
==============================================
*/
header {
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    font-family: var(--heading-font);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--secondary-color);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.navbar-dark .navbar-toggler {
    border-color: transparent;
}

.navbar-dark .navbar-toggler:focus {
    box-shadow: none;
}

/* Navbar scroll effect */
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 
==============================================
HERO SECTION
==============================================
*/
#hero {
    background: linear-gradient(rgba(26, 42, 74, 0.7), rgba(26, 42, 74, 0.9)), url('../img/WhatsApp Image 2025-03-26 at 13.19.04.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: var(--white);
    position: relative;
    padding-top: 6rem;
}

/* 
==============================================
MAP CONTAINER
==============================================
*/
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

#hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* 
==============================================
ABOUT SECTION
==============================================
*/
#sobre .lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* 
==============================================
SERVICES SECTION
==============================================
*/
.service-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .card-body {
    padding: var(--card-padding);
}

.service-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.service-card .card-text {
    color: var(--gray-text);
}

.service-card .btn {
    margin-top: auto;
}

/* 
==============================================
NEWS SECTION
==============================================
*/
.news-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.news-card .card-title {
    font-weight: 600;
}

.news-card .card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* 
==============================================
TESTIMONIALS SECTION
==============================================
*/
.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-family: serif;
}

/* 
==============================================
FOOTER
==============================================
*/
footer {
    background-color: var(--primary-color);
    color: var(--white);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--white);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-top: 0.25rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* 
==============================================
ANIMATIONS (AOS CUSTOMIZATION)
==============================================
*/
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* 
==============================================
RESPONSIVE STYLES
==============================================
*/
@media (max-width: 991.98px) {
    /* Ajuste para centralizar a logo e posicionar o botão hambúrguer */
    .navbar > .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar-brand {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .navbar-toggler {
        position: absolute;
        right: 1rem;
        top: 1rem;
    }
    
    .navbar-nav {
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.75rem;
    }
    
    .navbar-nav .btn {
        display: inline-block;
        margin-top: 0.75rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    #hero {
        text-align: center;
        padding-top: 7rem; /* Aumentado para evitar sobreposição com o menu */
        padding-bottom: 3rem;
    }
    
    #hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 3.5rem 0;
        --card-padding: 2rem;
    }
    
    #hero {
        padding-top: 8rem; /* Aumentado ainda mais para dispositivos menores */
    }
    
    #hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .lead {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .service-card, 
    .news-card, 
    .testimonial-card {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .card-body {
        padding: var(--card-padding);
    }
    
    .col-md-4, .col-md-6, .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    .d-flex {
        justify-content: center;
    }
    
    .btn-group, .btn-group-vertical {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        margin-bottom: 1rem;
    }
    
    #sobre img, #formacao-crista img, #galeria img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    /* Centralização de todos os títulos em dispositivos móveis */
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }
    
    /* Ajuste para centralizar parágrafos em dispositivos móveis */
    p {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    #hero {
        padding-top: 9rem; /* Aumentado ainda mais para dispositivos muito pequenos */
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
        margin: 0.5rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    h3, h4 {
        text-align: center;
    }
    
    ul {
        padding-left: 1.5rem;
    }
    
    .footer-links, .footer-contact {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
    
    .map-container {
        margin-top: 2rem;
    }
    
    .d-flex.flex-wrap.gap-2 {
        flex-direction: column;
    }
    
    /* Centralizar logo no rodapé */
    footer img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Centralizar listas em dispositivos móveis */
    ul:not(.navbar-nav) {
        text-align: center;
        list-style-position: inside;
    }

}

/* 
==============================================
CONTACT SECTION
==============================================
*/
.contact-info {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* 
==============================================
JAVASCRIPT INITIALIZATION
==============================================
*/
/* This section is for styles that will be applied by JavaScript */