:root {
    --primary-color: #7cbfa8; /* Soft Green */
    --secondary-color: #1a252f; /* Dark Navy/Black */
    --accent-color: #c0392b; /* Deep Red for Christmas accent */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #66a38e; /* Darker Soft Green */
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px; /* Ajuste conforme necessário para o logo horizontal */
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list li a {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-list li a:hover {
    color: var(--primary-color);
}

.btn-contact {
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--primary-color) !important;
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 37, 47, 0.7), rgba(26, 37, 47, 0.7)), url('images/imagemhome01.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Services */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 0;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 30px 20px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* About */
.about {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Features */
.features {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.features .section-title {
    color: var(--white);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background-color: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.features-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.95;
}

.features-text p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
}

@media (max-width: 768px) {
    .features-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

.features .section-title {
    color: var(--white);
    margin-bottom: 60px;
    font-size: 2.0rem;
}

.awards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.award-card {
    background-color: var(--light-bg);
    padding: 0;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    border: 1px solid #eee;
    overflow: hidden;
    padding-bottom: 20px;
}

.award-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.award-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    padding: 0 15px;
}

.award-card p {
    padding: 0 15px;
}

.award-card .award-giver {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* Clients */
.client-logo img {
    max-width: 100%;
    max-height: 100px; /* Aumentei a altura para dar mais destaque */
    width: auto;
    filter: grayscale(0%); /* Removido o filtro grayscale */
    opacity: 1; /* Removida a opacidade reduzida */
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15); /* Aumentei o zoom no hover */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Adicionei sombra no hover */
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 logos em uma linha */
    gap: 30px; /* Reduzi o gap para caber todos */
    align-items: center;
    justify-items: center;
    max-width: 1200px; /* Largura máxima para controlar o tamanho */
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr); /* 2 linhas de 3 logos em tablets */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr); /* 3 linhas de 2 logos em mobile */
        gap: 30px;
    }
}

.clients {
    background-color: var(--light-bg);
    padding: 80px 0; /* Aumentei o padding */
}

.videos {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-item {
        margin: 0 20px;
    }
}

.media {
    background-color: var(--white);
    padding: 80px 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.media-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.media-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.media-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-item:hover .media-image img {
    transform: scale(1.05);
}

.media-content {
    padding: 25px;
}

.media-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.media-subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .media-content {
        padding: 20px;
    }
    
    .media-content h3 {
        font-size: 1.2rem;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
}

.gallery-load-more {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

.gallery-load-more .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-load-more .btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: #111;
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: #222;
    color: var(--white);
    font-family: var(--font-body);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #777;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Navigation */
.modal-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: -80px;
}

.next-btn {
    right: -80px;
}

@media (max-width: 992px) {
    .nav-btn {
        font-size: 1.5rem;
        padding: 12px 16px;
    }
    
    .prev-btn {
        left: -60px;
    }
    
    .next-btn {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .nav-btn {
        font-size: 1.2rem;
        padding: 10px 14px;
    }
    
    .prev-btn {
        left: -40px;
    }
    
    .next-btn {
        right: -40px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }

    .profile-image {
        width: 300px;
        height: 300px;
    }
}

/* Carrossel de Notícias */
.media-carousel-container {
    margin-top: 60px;
    position: relative;
}

.carousel-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.carousel-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.media-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.media-carousel .media-item {
    flex: 0 0 calc(33.333% - 27px); /* 3 itens por linha com gap de 40px */
    min-width: 300px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.carousel-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    background: var(--white);
    color: inherit;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsivo para o carrossel */
@media (max-width: 1200px) {
    .media-carousel .media-item {
        flex: 0 0 calc(50% - 20px); /* 2 itens por linha */
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    .media-carousel .media-item {
        flex: 0 0 100%; /* 1 item por linha */
    }
    
    .carousel-title {
        font-size: 1.5rem;
    }
    
    .carousel-controls {
        position: static;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        gap: 20px;
    }
    
    .carousel-btn {
        position: static;
        transform: none;
    }
}
