/* Resetando o estilo padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header .logo h1 {
    font-size: 26px;
    font-weight: bold;
}

header .logo span {
    color:#f9004d;   
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f9004d;
    border-bottom: 2px solid #f9004d;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('/public/img/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    animation: fadeIn 2s ease-in;
}

.hero h2 {
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    background-color: #1E90FF;
    padding: 12px 25px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .btn:hover {
    background-color: #e65c00;
    transform: scale(1.1);
}

.section .btn {
    margin-top: auto; /* empurra o botão pro final do card */
    align-self: center; /* opcional: centraliza horizontalmente */
    display: inline-block;
    padding: 10px 21px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.section .btn:hover {
    background-color: #0056b3;
}

/* Seções */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    color: #1E90FF;
    margin-bottom: 20px;
}

.section p {
    font-size: 18px;
    color: #666;
}

/* Seção Sobre */
/* Seção Sobre */
#sobre {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

#sobre h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

/* Contêiner do quadrado */
.sobre-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #fff;  /* Cor de fundo para o quadrado */
    border: 3px solid #ff6600;  /* Borda azul */
    border-radius: 10px;       /* Bordas arredondadas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave */
    max-width: 1100px;  /* Limita a largura máxima do quadrado */
    margin: 0 auto;     /* Centraliza o quadrado na página */
}

/* Texto da Seção */
.sobre-texto {
    width: 45%;
    text-align: left;
    font-size: 1.1rem;
    color: #666;
    padding: 30px;
}

.sobre-texto p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Detalhes da Seção */
.sobre-detalhes {
    width: 45%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sobre-detalhes ul {
    list-style: none;
    padding: 0;
}

.sobre-detalhes li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.sobre-detalhes strong {
    color: #007BFF;
}

/* Responsividade */
@media (max-width: 768px) {
    .sobre-container {
        flex-direction: column;
        align-items: center;
    }

    .sobre-texto, .sobre-detalhes {
        width: 90%;
        margin-bottom: 20px;
    }

    #sobre h2 {
        font-size: 2rem;
    }

    .sobre-detalhes ul li {
        font-size: 1rem;
    }
    
  
}




/* Projetos */
.projetos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.projeto {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 300px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.projeto img {
   display: block;
    margin: 0 auto;
    width: 50%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Links de Contato */
.contato-links {
    list-style: none;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contato-links li a {
    color: #1E90FF;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contato-links li a:hover {
    color: #e65c00;
    transform: scale(1.1);
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: white;
    font-size: 14px;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .sobre-container {
        flex-direction: column;
        text-align: center;
    }
    .sobre-detalhes {
        text-align: center;
    }
    
        .section .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.section .btn:hover {
    background-color: #0056b3;
}
    
}