/*
Theme Name: GHM Service Theme
Theme URI: 
Author: Master-udvikler
Author URI: 
Description: Skræddersyet tema til GHM Service økosystemet (Energi, Digital, Byg).
Version: 1.0.0
Text Domain: ghm-service-theme
*/

:root {
    --ghm-navy: #1a2a3a;
    --ghm-digital: #007bff;
    --ghm-energi: #28a745;
    --ghm-byg: #fd7e14;
    --bg: #f4f7f6;
    --white: #ffffff;
}

body { 
    font-family: 'Segoe UI', sans-serif; 
    margin: 0; 
    background: var(--bg); 
    color: #333; 
}

header { 
    background: var(--ghm-navy); 
    color: white; 
    padding: 15px 40px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

.logo { 
    font-size: 24px; 
    font-weight: bold; 
    letter-spacing: 1px; 
}

.nav-links { 
    display: flex; 
    gap: 20px; 
}

.nav-item { 
    color: #a0aec0; 
    cursor: pointer; 
    padding: 8px 15px; 
    border-radius: 5px; 
    transition: 0.3s; 
}

.nav-item:hover, .nav-item.active { 
    color: white; 
    background: rgba(255,255,255,0.1); 
}

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

/* Animations & Pages */
.ghm-page { 
    display: none; 
    animation: fadeIn 0.4s; 
}

.ghm-page.ghm-active { 
    display: block; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Layouts */
.dashboard-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
}

/* Cards */
.card { 
    background: var(--white); 
    padding: 25px; 
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    border-top: 4px solid var(--ghm-navy); 
}

.card.energi { border-color: var(--ghm-energi); }
.card.digital { border-color: var(--ghm-digital); }
.card.byg { border-color: var(--ghm-byg); }

.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
}

.card-title { 
    font-size: 18px; 
    font-weight: bold; 
    margin: 0; 
}

/* Badges */
.badge { 
    padding: 5px 12px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: bold; 
}
.badge.active { background: #e8f5e9; color: var(--ghm-energi); }
.badge.pending { background: #fff3cd; color: #856404; }
.badge.planned { background: #cce5ff; color: var(--ghm-digital); }

/* Buttons */
.btn { 
    background: var(--ghm-navy); 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 14px; 
    transition: 0.3s; 
}
.btn:hover { opacity: 0.9; }

.btn-energi { background: var(--ghm-energi); }
.btn-digital { background: var(--ghm-digital); }
.btn-byg { background: var(--ghm-byg); }

/* Progress Bars */
.progress-bar { 
    background: #e9ecef; 
    height: 8px; 
    border-radius: 4px; 
    margin-top: 15px; 
    overflow: hidden; 
}
.progress-fill { 
    height: 100%; 
    background: var(--ghm-digital); 
    width: 65%; 
}

/* Service Items */
.service-list { 
    margin-top: 20px; 
}
.service-item { 
    display: flex; 
    justify-content: space-between; 
    padding: 15px 0; 
    border-bottom: 1px solid #eee; 
}
.service-item:last-child { border-bottom: none; }
