/* Apply AOS to the body */
body[data-aos] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body[data-aos="fade-up"] {
    opacity: 1;
}


/* General Body and Typography */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #FFFFFF;
    color: #333333; /* Dark grey for text */
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Apply Montserrat font */
    font-weight: 300; /* Use a lighter weight for headers */
    color: #000000; /* Black for headlines */
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 15px;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header (Fixed Navigation) */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.fixed-header .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.7em;
    letter-spacing: 0.06em;
    color: #000000;
}

.fixed-header .logo a {
    display: inline-flex;
    align-items: baseline;
}

.fixed-header .logo .accent {
    color: #3B7D23; /* Komplient's own brand green, from the wordmark in the STARK deck */
}

.fixed-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.fixed-header nav ul li {
    margin-left: 30px;
}

.fixed-header nav ul li a {
    font-family: 'Montserrat', sans-serif; /* Apply Montserrat font to menu items */
    font-weight: 400; /* Adjust weight for menu items */
    color: #333333;
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Add text-decoration to transition */
}

.fixed-header nav ul li a:hover {
    color: #000000;
    text-decoration: underline; /* Add underline on hover */
}

/* Hero Section */
.hero-section {
    background-color: #000000; /* Fallback black background */
    background-image: url('../img/koncert-bw.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Needed for overlay */
    color: #FFFFFF; /* White text */
    text-align: center;
    padding: 180px 0 100px; /* Adjust padding for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Full viewport height */
    box-sizing: border-box; /* Include padding in height */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay, darkest through the middle band where the headline
       sits, so text stays readable no matter how bright the photo is there */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.62) 30%,
        rgba(0, 0, 0, 0.62) 72%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.hero-section h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-section p {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E0E0E0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.cta-button {
    display: inline-block;
    background-color: #333333; /* Dark grey */
    color: #FFFFFF;
    padding: 15px 30px;
    border: 2px solid #333333;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none; /* Ensure no underline */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #000000; /* Darken all the way to black on hover, so the state is felt */
    border-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-1px);
}

/* General Section Styling */
.section {
    padding: 100px 0; /* Increased padding for more spacing */
    border-bottom: 1px solid #EEEEEE;
}

.section:last-of-type {
    border-bottom: none;
}

/* Content-flex (two-column) sections */
.content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.content-flex.reverse {
    flex-direction: row-reverse;
}

.content-flex .text-content {
    flex: 1;
    padding: 20px;
}

.content-flex .visual-content {
    flex: 1;
    position: relative;
    height: 460px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-flex .visual-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-flex .intro-text {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333333;
}

.content-flex .founder-info {
    font-size: 1em;
    font-style: italic;
    color: #555555;
    margin-top: 30px;
}

.content-flex ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-flex ul li {
    margin-bottom: 10px;
}

.concept-block {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9; /* Light background */
    margin-top: 30px;
}

.concept-block .concept-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.concept-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 0;
}

.concept-block li {
    margin-bottom: 8px;
}

.button-container {
    margin-top: 20px;
    text-align: left;
}

/* Hvad gør vi? (Core Offerings) */
.grey-background {
    background-color: #F8F8F8;
    background-image: linear-gradient(to bottom right, #F8F8F8, #FFFFFF);
    position: relative;
    z-index: 1;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.grid-item {
    background-color: #f0f0f0;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.grid-item .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #000000;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.grid-item .icon svg {
    width: 100%;
    height: 100%;
    stroke: #FFFFFF;
}

/* Sådan klassificeres en oplevelse (project-style showcase) */
.project-subsection {
    margin-top: 0;
}

/* Andre projekter -> Tryghed & sikkerhed grid */
.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: -20px auto 0;
    color: #555555;
    font-size: 1.1em;
}

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

.innovation-item {
    background-color: #FFFFFF;
    padding: 30px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, z-index 0s 0.3s;
    position: relative;
    z-index: 1;
}

.innovation-item:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10;
}

.innovation-grid:hover .innovation-item:not(:hover) {
    opacity: 0.6;
    transform: scale(0.97);
}

.innovation-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #E0E0E0;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.innovation-item .icon svg {
    width: 100%;
    height: 100%;
    stroke: #333333;
}

.innovation-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333333;
}

.innovation-item p {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 0;
}

/* CTA & Kontakt */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-buttons .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-buttons .cta-button svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-mark {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    letter-spacing: 0.04em;
    color: #E0E0E0;
}

.copyright {
    font-size: 0.9em;
    color: #A0A0A0;
    margin-top: 4px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .fixed-header .container {
        flex-direction: column;
        gap: 10px;
    }

    .fixed-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .fixed-header nav ul li {
        margin-left: 0;
    }

    .hero-section {
        padding: 150px 20px 80px;
    }

    .hero-section h1 {
        font-size: 2.6em;
    }

    .hero-section p {
        font-size: 1.2em;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .content-flex,
    .content-flex.reverse {
        flex-direction: column;
    }

    .content-flex .visual-content {
        height: 280px;
        width: 100%;
    }

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

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.1em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}
