﻿/* Reset box model */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    background-color: #f9f9f9;
    color: #222;
    line-height: 1.6;
    padding-bottom: 40px;
    overflow-x: hidden;
}

/* Main content container */
main.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Corporate header */
.corp-header {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 12px 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        text-decoration: none;
        color: #444;
        font-weight: 500;
        padding: 6px 0;
        position: relative;
    }

        .nav-links a:hover::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            height: 2px;
            width: 100%;
            background-color: #0066cc;
        }

/* Status bar */
#statusBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f3f3f3;
    color: #444;
    font-size: 12px;
    padding: 6px 12px;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
    border-top: 1px solid #bbb;
    z-index: 999;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    #statusBar div {
        margin-right: 12px;
        white-space: nowrap;
    }

@media screen and (max-width: 600px) {
    #statusBar {
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
        padding: 8px;
    }

        #statusBar div {
            margin-bottom: 4px;
        }
}

.status-icon {
    margin-right: 4px;
}

/* Hero Section */
.hero {
    background-image: url('/images/office-banner.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.hero-overlay {
    background-color: rgba(0, 43, 76, 0.6);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

    .hero-content h1 {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 20px;
        opacity: 0.95;
    }

.cta-button {
    display: inline-block;
    background-color: #0A84FF;
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s ease;
}

    .cta-button:hover {
        background-color: #0066cc;
    }

/* Layout sections (fixed widths + padding) */
.services,
.team,
.contact {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

    .services h2,
    .team h2,
    .contact h2 {
        font-size: 2.5em;
        margin-bottom: 40px;
    }

.service-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card,
.team-member {
    background: #f7f7f7;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s ease;
}

    .service-card:hover {
        background: #eaeaea;
    }

    .service-card h3,
    .team-member h3 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .service-card p,
    .team-member p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .team-member img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
    }

.btn {
    text-decoration: none;
    color: white;
    background: #0077cc;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

    .btn:hover {
        background: #005fa3;
    }

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    object-fit: cover;
}

.contact-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-form,
.contact-info {
    margin-bottom: 30px;
}

    .contact-form label {
        display: block;
        margin: 10px 0 5px;
        font-weight: bold;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .contact-form button {
        background-color: #0077cc;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 5px;
        cursor: pointer;
    }

        .contact-form button:hover {
            background-color: #005fa3;
        }

    .contact-info h3 {
        margin-top: 20px;
        font-size: 1.1em;
    }

    .contact-info p,
    .contact-info a {
        font-size: 1em;
        color: #333;
    }

.hint-box {
    position: fixed;
    bottom: 60px; /* statusbar er typisk 50px, så 60px sikrer lidt luft */
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff9d6; /* opdateret farve */
    border: 2px solid #f4c430;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    min-width: 250px;
    max-width: 80%;
    display: flex; /* 🧠 Dette styrer layoutet */
    align-items: center; /* 🧍 Pile og tekst bliver centreret vertikalt */
    justify-content: center; /* 🔄 Placerer hele rækken i midten */
    gap: 12px; /* 🧱 Luft mellem knapper og tekst */
}


    .hint-box button {
        background-color: #f4c430;
        color: #333;
        border: none;
        padding: 6px 12px;
        border-radius: 4px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.2s ease;
        font-size: 16px;
    }

#hintContent {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}


    .hint-box button:hover {
        background-color: #ddb727;
    }
.login-container {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
    max-width: 400px;
    margin: auto;
}

input {
    width: 100%;
    margin-bottom: 1rem;
}
