/* ============================================
   Mikael Bach Jakobsen - Professional IT Consulting
   Modern Cloud Architecture & Security Design
   Completely New Design - 2026
   ============================================ */

:root {
    /* Professional Color Palette - Azure Cloud Inspired */
    --primary-color: #aabbe0; /* Azure Blue */
    --secondary-color: #1e40af; /* Darker Azure */
    --accent-color: #8b5cf6; /* Professional Purple */
    --success-color: #10b981; /* Success green */
    --light-bg: #f8fafc; /* Light background */
    --white: #ffffff; /* Pure white */
    --dark-text: #1e293b; /* Dark text */
    --medium-text: #64748b; /* Medium gray text */
    --border-color: #e2e8f0; /* Light border */
    --hover-color: #f1f5f9; /* Hover background */
    --dark-bg: #0f172a; /* Dark background */
    --gradient-1: linear-gradient(135deg, #a0b0f5 0%, #5a6d86 100%); /* Azure gradient */
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); /* Professional gradient */
    --transition-speed: 0.2s;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Styles - Modern and Clean */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography - Modern Professional Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--medium-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

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

/* Buttons - Modern Professional Design */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--hover-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #7c3aed;
    transform: translateY(-1px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* Header - Modern Professional Navigation */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-logo-image {
    width: auto;
    max-width: 350px;
}

.main-navigation {
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-item {
    padding: 8px 12px;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-text);
}

.nav-item:hover {
    background-color: var(--hover-color);
    color: var(--primary-color);
}

.nav-item.btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hero Section - Modern Hero Design */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(134, 167, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(217, 196, 245, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--dark-text);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Section Styles - Modern Section Design */
.section {
    padding: 80px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.section:first-child::before {
    display: none;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-text);
    margin-bottom: 56px;
    font-size: 1.15rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Services Section - Modern Card Design */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 36px;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.service-description {
    color: var(--medium-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Transition Section */
.section-transition {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.transition-content {
    max-width: 800px;
    margin: 0 auto;
}

.transition-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.transition-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
}

.transition-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Metrics Section */
.metrics-section {
    padding: 40px 0;
    background: var(--hover-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.metric-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.metric-detail {
    font-size: 0.9rem;
    color: var(--medium-text);
}

/* About Section */
.about-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

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

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-visual-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 12px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.profile-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-text);
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-speed) ease;
}

.footer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.social-icon {
    color: var(--primary-color);
    margin: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* Dark mode preference */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1e293b;
        --white: #0f172a;
        --dark-text: #f1f5f9;
        --medium-text: #cbd5e1;
        --border-color: #334155;
        --hover-color: #334155;
    }

    body {
        background-color: #0f172a;
    }

    .section {
        background-color: #0f172a;
    }

    .service-card, .metric-card, .about-card {
        background-color: #1e293b;
        border-color: #334155;
    }
}