/* Estilos Globais do Portfólio - Azul e Moderno */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
    --primary-color: #007bff; /* Azul vibrante para detalhes */
    --secondary-color: #0b1f3c; /* Azul escuro para o fundo */
    --light-blue: #004d99; /* Azul claro para o gradiente */
    --text-color-dark: #000000; /* Cor do texto em seções claras */
    --text-color-light: #f0f8ff; /* Cor do texto em seções escuras */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Animações e Efeitos de Rolagem */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].active {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    background: linear-gradient(to bottom, var(--secondary-color), var(--light-blue));
    color: var(--text-color-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

section {
    padding: 100px 0;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 4em;
    color: var(--primary-color);
}

h2 {
    font-size: 3em;
    text-align: center;
    color: var(--text-color-light);
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 1px;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.6);
}

/* Estilos da sua página de Portfólio */
.hero-portfolio {
    padding: 150px 0;
    text-align: center;
}

.projects-section {
    background-color: var(--light-grey);
    color: var(--text-color-dark);
}

.projects-section h2 {
    color: var(--text-color-dark);
}

.projects-section p {
    color: var(--text-color-dark);
}

.project-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Estilos da barra de navegação */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo-nav {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar a {
    color: var(--light-grey);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--primary-color);
}

/* Estilos da seção "Sobre Mim" */
.about-me-section {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    padding: 80px 0;
    background-image: url('assets/Terno-sem-fundo-2.jpg'); /* Substitua pelo nome do seu arquivo */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; /* Para centralizar a imagem */
    opacity: 0.01;
}

.about-me-section .container {
    display: flex;
    flex-direction: column; /* Padrão em mobile: um abaixo do outro */
    align-items: center;
    gap: 40px;
}

/* Estilos para a seção "Sobre Mim" com fundo escuro */
.about-me-section.dark-about {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.about-me-section.dark-about h2 {
    color: var(--primary-color);
}

.about-me-section.dark-about p {
    color: var(--light-grey);
}

.about-me-section.dark-about .about-me-photo img {
    border: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);


    /* Estilos para a seção de diferenciais na página "Sobre Mim" */
.about-me-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.about-me-section li {
    padding: 5px 0;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
}

.about-me-section li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: var(--primary-color);
}
}

/* Estilos da seção de depoimentos (cores ajustadas) */
.testimonials-section {
   background-color: var(--secondary-color); /* Fundo azul escuro */
   color: var(--text-color-light); /* Texto branco */
   padding: 80px 0;
   text-align: center;
}

.testimonials-section h2 {
   color: var(--primary-color); /* Título azul vibrante */
   margin-bottom: 50px;
}

.testimonial-card {
   background-color: var(--light-blue); /* Fundo azul um pouco mais claro */
   padding: 40px;
   border-radius: 12px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Sombra um pouco mais escura */
   max-width: 800px;
   margin: 0 auto;
   position: relative;
   color: var(--text-color-light); /* Texto branco no card */
}

.testimonial-card .quote {
   font-size: 1.2em;
   font-style: italic;
   line-height: 1.8;
   margin-bottom: 20px;
}

.testimonial-card .client-info {
   text-align: right;
   border-top: 1px solid #000000; /* Borda um pouco mais escura */
   padding-top: 15px;
}

.testimonial-card .client-name {
   font-weight: 700;
   margin-bottom: 5px;
}

.testimonial-card .client-role {
   font-size: 0.9em;
   color: #dff800; /* Texto do cargo um pouco mais claro */
}

/* Estilos da seção de preços */
.pricing-section {
    background-color: var(--light-grey);
    color: var(--text-color-dark);
    padding: 80px 0;
    text-align: center;
}

.pricing-section h2 {
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.pricing-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8em;
}

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.pricing-card .cta-button {
    margin-top: auto;
}

@media (min-width: 768px) {
    .about-me-section .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.about-me-content {
    flex: 1;
}

.about-me-photo {
    flex: 1;
    text-align: center;
}

.about-me-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .project-item {
        flex-direction: row;
    }
}

.project-info {
    flex: 1;
}

.project-info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: var(--text-color-dark);
}

.project-info li {
    padding: 5px 0;
    font-size: 1.1em;
}

.project-image {
    flex: 1;
    text-align: center;
}

.project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--light-grey);
}

.contact-section {
    background-color: var(--secondary-color);
    text-align: center;
    color: var(--text-color-light);
}

.contact-section h2 {
    color: var(--primary-color);
}

/* Estilos do menu de navegação (mobile) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .about-me-section {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 80px 0;
    background-image: none;
}
    .navbar ul {
        display: none; /* Esconde a navegação por padrão */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(11, 31, 60, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }
    
    .navbar ul.active {
        display: flex !important; /* Força a exibição do menu */
    }

    .navbar ul li {
        margin: 20px 0;
    }
    
    .navbar ul li a {
        font-size: 2em;
        display: block;
        padding: 10px 20px;
    }
    
    .hamburger-menu {
        display: flex !important; /* Mostra o botão de hambúrguer */
        z-index: 1000;
    }

    /* Animação do botão hambúrguer para fechar */
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}

.footer {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 50px 0;
    color: var(--text-color-light);
    border-top: 3px solid var(--primary-color);
}