/*
Theme Name: MBE geniX Theme
Author: Custom Theme Creator
Version: 1.1
Description: A modern single-page WordPress theme for an engineering and IT company specializing in electrical services and managed IT solutions.
Text Domain: mbe-genix-theme
*/

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background-color: #1A5BA6;
    color: #FFFFFF;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header img {
    max-height: 80px;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.1em;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #F28C38;
}

section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero {
    background: url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .cta-button {
    background-color: #F28C38;
    color: #FFFFFF;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #1A5BA6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5em;
    color: #1A5BA6;
    margin-bottom: 40px;
    text-align: center;
}

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

.service-card {
    background-color: #F4F4F4;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #F28C38;
    font-size: 1.5em;
    margin-bottom: 15px;
}

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

.project-card {
    background-color: #F4F4F4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form label {
    font-weight: bold;
    color: #1A5BA6;
    font-size: 1.1em;
}

form input, form textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: #1A5BA6;
    outline: none;
}

form button {
    background-color: #F28C38;
    color: #FFFFFF;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #1A5BA6;
}

footer {
    background-color: #1A5BA6;
    color: #FFFFFF;
    text-align: center;
    padding: 40px 0;
    margin-top: 0;
}

footer a {
    color: #F28C38;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .service-grid, .project-grid {
        grid-template-columns: 1fr;
    }
}