/* General */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333333; /* Gris oscuro para texto principal */
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

h1, h2, h3 {
    color: #C50000; /* Rojo del logo */
}

/* Header */
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header .logo {
    /* font-size: 1.5rem; */
    margin: 0;
    color: #000000; /* Negro para "CORE" */
}
.logo img {
    height: 50px; /* Ajusta este valor según el tamaño que prefieras */
    width: auto;
    vertical-align: middle; /* Ayuda a alinear el logo correctamente */
}
header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: #333333;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: #C50000; /* Fondo rojo del logo */
    color: #ffffff; /* Texto blanco para contraste */
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    color: #ffffff; /* Título blanco sobre fondo rojo */
}

.cta-button {
    display: inline-block;
    background: #222222; /* Botón negro/gris oscuro */
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    border: none;
}

/* Secciones generales */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: #fff;
}

/* Equipo */
.team {
    text-align: center;
}

.team-members {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.member {
    flex-basis: 30%;
}

.member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Proyectos */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
}

/* Servicios */
.services ul {
    list-style: none;
    padding: 0;
}

.services li {
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-left: 5px solid #C50000; /* Acento rojo */
}

/* Contacto */
.contact form {
    display: flex;
    flex-direction: column;
}

.contact input, .contact textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #222222; /* Footer oscuro */
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
}

/* Responsive */
@media(max-width: 768px) {
    header .container, .team-members {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
        display: block;
        text-align: center;
    }
}