/* filepath: /home/the1andoni/Documents/CyberSpaceConsulting/Websites/Eigene Websites/CodeGuardian/style.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f4f4f4;
}

header {
    background: #b30000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
}

header img {
    max-width: 100px;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2.5rem;
    margin: 10px 0;
}

header p {
    font-size: 1.2rem;
    margin: 0;
}

.language-switch {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.language-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    transition: all 0.3s;
}

.language-link:hover {
    background: #fff;
    color: #b30000;
}

main {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

#hero {
    text-align: center;
    margin-bottom: 40px;
}

#hero h2 {
    font-size: 2rem;
    color: #b30000;
}

#hero p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

#hero .btn {
    display: inline-block;
    background: #b30000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

#hero .btn:hover {
    background: #800000;
}

#features {
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    background: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-item h3 {
    color: #b30000;
    margin-bottom: 10px;
}

.feature-hover {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    text-align: center;
    transition: top 0.3s;
}

.feature-item:hover .feature-hover {
    top: 0;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #b30000;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Mobile Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .language-switch {
        flex-direction: column;
        gap: 10px;
        margin-top: 1rem;
    }

    .language-link {
        padding: 8px 15px;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    #hero h2 {
        font-size: 1.5rem;
    }

    #hero p {
        font-size: 1rem;
    }

    #hero .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-item h3 {
        font-size: 1.2rem;
    }

    .feature-hover {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header img {
        max-width: 80px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.9rem;
    }

    #hero h2 {
        font-size: 1.2rem;
    }

    #hero p {
        font-size: 0.8rem;
    }

    #hero .btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .feature-hover {
        font-size: 0.8rem;
    }
}
