/* Common CSS for all pages */
:root {
    --primary-color: #2e5d8b; /* Blau für ein professionelles Gebäudemeisterei-Logo */
    --secondary-color: #1c3c5f; /* Dunklere Blau-Variante für Kontrast */
    --accent-color: #d9a642; /* Goldton für Akzente, passend zum Branding */
    --text-color: #333333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --red-color: #e74c3c;
    --green-color: #2ecc71;
    --blue-color: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Navigation */
.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Button styles */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Title - Used by multiple sections */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }

    .about-container,
    .contact-container,
    .hero-container {
        grid-template-columns: 1fr;
    }

    .about-img,
    .hero-img {
        order: -1;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px auto;
    }
}

@media (max-width: 768px) {
    .logo {
        padding-left: 15px;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        display: flex;
        align-items: center;
        padding-right: 15px;
    }

    .hamburger span {
        margin-right: 5px;
        font-weight: bold;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transition: left 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0;
        padding: 10px 20px;
    }
}
