/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0d1117;
    color: #f0f6fc;
    line-height: 1.6;
}

a {
    color: #58a6ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background-color: #161b22;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #30363d;
    height: 100px;
}

.logo {
    height: 80px;
    width: 150px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1f6feb;
}

/* Hero Section */
.hero {
    background: url('Images/Banner.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    background-color: #161b22;
    color: #f0f6fc;
    padding-right: 500px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.7rem;
}

/* About Section */
.about {
    padding: 60px 20px;
    text-align: center;
    background-color: #0d1117;
}

.queHacemos {
    
    padding: 60px 20px;
    text-align: left;
    background-color:  #161b22;
}

.queHacemos-contenedorTexto{
    padding: 40px 20px;
    max-width: 1050px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    
    display: flex;
    justify-content: left;
    text-align: left;
}

.queHacemos-texto{
    padding: 40px 20px;
    display: flex;
    justify-content: left;
    text-align: left;
    flex-wrap: wrap;
}

.queHacemos h2{
    text-align: center;
    padding-bottom: 10px;
}

.queHacemos div ul{
    padding-left: 10px;
}

.queHacemos-item-image1 {
    background: url('Images/Imagen1Cyber.jpg') center/cover no-repeat;
    width: 100%;
    height:300px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.queHacemos-item-image2 {
    background: url('Images/Imagen2Cyber.jpg') center/cover no-repeat;
    width: 700px;
    height:300px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.queHacemos-item-image3 {
    background: url('Images/Imagen3Cyber.jpg') center/cover no-repeat;
    width: 940px;
    height:300px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.queHacemos-item-image4 {
    background: url('Images/Imagen4Cyber.jpg') center/cover no-repeat;
    width: 730px;
    height:300px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background-color: #0d1117;
}

.services h2{
    text-align: center;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.service-item {
    background-color: #21262d;
    padding: 1.5rem;
    border-radius: 8px;
    width: 280px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.service-item h3 {
    margin-bottom: 1rem;
    color: #79c0ff;
}

/* Optional image block inside services */
.service-item-image1 {
    background: url('Images/Firewalls.png') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.service-item-image2 {
    background: url('Images/ConsultoriaCyber.jpeg') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.service-item-image3 {
    background: url('Images/CamarasSeguridad.png') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.service-item-image4 {
    background: url('Images/ControlAcceso.jpeg') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Products Section */
.products {
    padding: 60px 20px;
    background-color: #161b22;
    text-align: center;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.product-item {
    background-color: #21262d;
    padding: 1.5rem;
    border-radius: 8px;
    width: 280px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.product-item-image1 {
    background: url('Images/LogoDahua.jpg') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-item-image2 {
    background: url('Images/LogoHikvision.png') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-item-image3 {
    background: url('Images/LogoZKTeco.png') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-item-image4 {
    background: url('Images/LogoUniview.png') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-item-image5 {
    background: url('Images/LogoHillstone.png') center/cover no-repeat;
    width: 100%;
    height: 150px;
    background-color: #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-item h3 {
    color: #ffa657;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #0d1117;
    text-align: center;
}

/* Footer */
footer {
    background-color: #0d1117;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #8b949e;
    border-top: 1px solid #30363d;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .service-list, .product-list {
        flex-direction: column;
        align-items: center;
    }
}
