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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.header {
    background: white;
    padding: 8px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: #003366;
}

.logo-img {
    height: 124px;          /* var 100px. Header = 124 + 2 x 8 = 140px */
    width: auto;
    display: block;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0052cc;
    color: white;
}

.btn-primary:hover {
    background: #003d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 82, 204, 0.2);
}

.btn-secondary {
    background: white;
    color: #0052cc;
    border: 2px solid #0052cc;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #003366;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h3 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    color: #003366;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

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

.service-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #003366;
}

.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* Who Help Section */
.who-help {
    padding: 80px 0;
    background: #f5f5f5;
}

.who-help h3 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    color: #003366;
}

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

.who-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

.who-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.who-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.who-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #003366;
}

.who-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: white;
}

.why-us h3 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    color: #003366;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: #f9f9f9;
    padding: 30px 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.why-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.why-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #003366;
}

.why-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #f5f5f5;
    text-align: center;
}

.team-member {
    max-width: 300px;
    margin: 0 auto;
}

.member-image {
    font-size: 80px;
    margin-bottom: 20px;
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: 4px solid #0052cc;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 22px;
    color: #003366;
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
    font-size: 16px;
}

/* Contact Section */
.contact {
    background: #1a2d4d;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact > .container > p {
    font-size: 16px;
    margin-bottom: 50px;
    color: #b0c4de;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-items: center;
}

.contact-item h5 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    font-size: 15px;
}

.contact-item a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #90caf9;
}

/* Footer */
.footer {
    background: #0f1b2e;
    color: #999;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo-img {
        height: 90px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .services h3,
    .who-help h3,
    .why-us h3,
    .contact h3 {
        font-size: 28px;
    }

    .services-grid,
    .who-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .member-image {
        font-size: 60px;
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .services h3,
    .who-help h3,
    .why-us h3,
    .contact h3 {
        font-size: 22px;
    }

    .service-card,
    .who-card,
    .why-card {
        padding: 25px 15px;
    }
}

/* ===== Tilføjelser ===== */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 140px;
}

/* Knapper er nu links */
.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* Linux og open source */
.linux {
    padding: 80px 0;
    background: #f5f5f5;
}

.linux h3 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    color: #003366;
}

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

.linux-card {
    background: white;
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.linux-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #003366;
}

.linux-card ul {
    list-style: none;
}

.linux-card li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.linux-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0052cc;
    font-weight: 700;
}

.linux-note {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-top: 35px;
}

@media (max-width: 768px) {
    .linux h3 {
        font-size: 28px;
    }

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

    section[id] {
        scroll-margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .linux h3 {
        font-size: 22px;
    }

    .linux-card {
        padding: 25px 20px;
    }
}

/* Ydelser: fire kort på én række */
.services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    padding: 35px 22px;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Hvorfor Frydensberg IT: fire kort på én række */
.why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    padding: 30px 20px;
}

@media (max-width: 1100px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}
