:root {
    --primary-color: #4A90E2; 
    --secondary-color: #2C3E50; 
    --accent-color: #f8ef01; 
    --light-gray: #F8F9FA;
    --dark-gray: #34495E;
    --white: #FFFFFF;
    --text-color: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


    
.navbar {
 background-color: #4A90E2;
    backdrop-filter: blur(8px);
    box-shadow: white;
    padding: 1rem 0;
}
nav .nav-link {
      color: white !important;
      transition: color 0.3s ease;
    }

    nav .nav-link:hover {
      color: #dff3ec !important;
    }

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
     color:#ffff;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white) !important;
    transition: color 0.3s ease, transform 0.3s ease;
    margin: 0 10px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--black-color);
    transition: width 0.3s ease;
}

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

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 83.0vh;
    background: url('./src/imagem/cl-06.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

@media (max-width: 700px) {
    .hero-section {
        height: 82.6vh; 
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;

}

.hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* SECTIONS */
section {
    padding: 80px 0;
    background-color: var(--white);
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

section h3 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
    text-align: center;
}

section h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 5px;
}


.card-container {
    perspective: 1000px;
}

.card-inner {
    transition: transform 0.7s;
    transform-style: preserve-3d;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-container:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-front {
    background: var(--white);
    color: var(--text-color);
}

.card-back {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

/* GALLERY */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.gallery-item .img-fluid {
    transition: filter 0.4s ease;
}

.gallery-item:hover .img-fluid {
    filter: brightness(1.1);
}


/* TEAM CARDS */
.team-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.team-card img {
    border: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1px;
}

.team-card h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 2px;
}

.team-card p {
    color: var(--dark-gray);
}

/* GALLERY IMAGES */
.img-fluid {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.list-group-item {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    margin-bottom: 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-color);
    padding: 2px 2px;
}

.list-group-item:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
    transform: translateX(5px);
}


.form-floating .form-control,
.form-floating .form-select {
    border-radius: 8px;
    border-color: #ced4da;
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

footer {
    background-color: #4A90E2;
    color: var(--white);
    padding: 10px 0px;
    font-size: 1rem; 
    text-align: center;
    width: 100%;
    z-index: 1000;
}

footer .social-icons a {
    color: var(--white);
    font-size: 1rem; 
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}



.mt-6 { margin-top: 4rem !important; }
.mb-6 { margin-bottom: 4rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }


@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    section h3 {
        font-size: 2rem;
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    section {
        padding: 60px 0;
    }
    section h3 {
        font-size: 1.8rem;
    }
    .team-card img {
        width: 120px;
        height: 120px;
    }
}



main {
    flex: 1;
}

.servicos-page #servicos {
    padding-top: 20px;
    padding-bottom: 20px;
}

.servicos-page h3 {
    margin-bottom: 20px;
}

.servicos-page .list-group-item {
    padding: 1px 1px;
    font-size: 0.9rem;
}

.equipe-page #equipe {
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.atendimento-page #atendimento {
    margin-bottom: 0;
}

.contato-page #contato {
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.fotos-page #fotos {
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.sobre-page #sobre {
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.sobre-page .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.sobre-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.sobre-page .lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.sobre-page .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.sobre-page .mission-vision {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.sobre-page .mission-vision h4 {
    color: var(--secondary-color);
    font-family: 'Merriweather', serif;
    margin-bottom: 15px;
}

.sobre-page .values-list {
    list-style: none;
    padding-left: 0;
}

.sobre-page .values-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.sobre-page .values-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    section {
        padding: 40px 15px;
    }
    section h3 {
        font-size: 1.6rem;
    }
    .servicos-page .list-group-item {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    footer {
        padding: 20px 0;
        position: relative;
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .navbar-nav .ms-3 {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}