/* Style.css - Dark Mode Profesional para CyberShield Security */

/* ----------- RESET ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0b0b;
    color: #e5e5e5;
    line-height: 1.6;
}

/* ----------- HEADER ----------- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #111;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 65px;
}

.nav-menu a {
    color: #e5e5e5;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #b043b9;
}

/* ----------- HERO SECTION ----------- */
.hero {
    text-align: center;
    padding: 130px 20px;
    background: linear-gradient(135deg, #1b0033, #3d005e);
    color: white;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #b043b9;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #7f2a88;
}

/* ----------- SERVICES PREVIEW ----------- */
.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 70px;
}

.card {
    background: #161616;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(176, 67, 185, 0.3);
}

.card h3 {
    color: #c84ad4;
    margin-bottom: 15px;
}

.card p {
    margin-bottom: 20px;
    color: #d8d8d8;
}

.card a {
    color: #b043b9;
    text-decoration: none;
}

.card a:hover {
    color: #872f91;
}

/* ----------- FOOTER ----------- */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu a {
        margin: 10px;
        display: inline-block;
    }

    .hero h1 {
        font-size: 2.6rem;
    }
}
