/*
Theme Name: Ducator Entreprise
Theme URI: https://ducator-entreprise.dk
Author: Ducator Entreprise
Description: Specialbygget WordPress-tema til Ducator Entreprise med forside, om os, ydelser, priser, projekter og kontakt.
Version: 1.0.4
Tested up to: 7.0
Requires at least: 5.8
Requires PHP: 7.0
License: Proprietary
Text Domain: ducator-entreprise
*/

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

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: Arial, Helvetica, sans-serif;
        color: #222;
        background: #f5f5f5;
        line-height: 1.6;
    }

    :root {
        --red: #c9151b;
        --dark: #111111;
        --blue: #0066cc;
        --light: #ffffff;
        --grey: #eeeeee;
    }

    header {
        width: 100%;
        background: rgba(0,0,0,0.92);
        color: white;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    }

    .navbar {
        max-width: 1200px;
        margin: auto;
        padding: 14px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: white;
        font-size: 24px;
        font-weight: bold;
        letter-spacing: 0.5px;
    }

    .logo span {
        color: var(--red);
    }

    .logo img {
        height: 58px;
        width: auto;
        display: block;
    }

    nav a {
        color: white;
        text-decoration: none;
        margin-left: 22px;
        font-weight: bold;
        font-size: 15px;
    }

    nav a:hover {
        color: var(--red);
    }

    .hero {
        min-height: 88vh;
        background:
            linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.62)),
            url("billeder/forside-banner.webp") center/cover no-repeat;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 90px 25px;
        position: relative;
    }

    .hero-content {
        max-width: 950px;
        background: rgba(0,0,0,0.25);
        padding: 35px;
        border-radius: 16px;
        backdrop-filter: blur(3px);
    }

    .hero h1 {
        font-size: 54px;
        margin-bottom: 18px;
        line-height: 1.12;
    }

    .hero .slogan {
        font-size: 25px;
        font-weight: bold;
        margin-bottom: 18px;
        color: #ffffff;
    }

    .hero p {
        font-size: 20px;
        margin-bottom: 35px;
        color: #f1f1f1;
    }

    .cta-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .btn {
        display: inline-block;
        padding: 15px 28px;
        border-radius: 6px;
        font-weight: bold;
        text-decoration: none;
        transition: 0.25s ease;
        border: none;
        cursor: pointer;
        font-size: 16px;
    }

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

    .btn-red:hover {
        background: #a91116;
    }

    .btn-dark {
        background: white;
        color: #111;
    }

    .btn-dark:hover {
        background: #ddd;
    }

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

    .btn-blue:hover {
        background: #004f9e;
    }

    section {
        padding: 80px 25px;
    }

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

    .section-title {
        text-align: center;
        font-size: 36px;
        margin-bottom: 18px;
    }

    .section-subtitle {
        text-align: center;
        max-width: 750px;
        margin: 0 auto 45px;
        color: #555;
        font-size: 18px;
    }

    .about-box {
        background: white;
        padding: 45px;
        border-radius: 14px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        max-width: 950px;
        margin: auto;
    }

    .about-box p {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .quality-list {
        margin-top: 25px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 18px;
    }

    .quality-item {
        background: #f7f7f7;
        padding: 20px;
        border-left: 5px solid var(--red);
        border-radius: 8px;
        font-weight: bold;
    }



    /* PROFESSIONAL ABOUT SECTION */

    .about-section {
        background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    }

    .about-layout {
        display: grid;
        grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.25fr);
        gap: 38px;
        align-items: stretch;
        margin-top: 10px;
    }

    .about-image-card {
        position: relative;
        min-height: 100%;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 12px 34px rgba(0,0,0,0.16);
        background: #111111;
    }

    .about-image-card img {
        width: 100%;
        height: 100%;
        min-height: 620px;
        object-fit: cover;
        display: block;
        filter: saturate(1.02) contrast(1.02);
    }

    .about-image-badge {
        position: absolute;
        left: 22px;
        right: 22px;
        bottom: 22px;
        background: rgba(0,0,0,0.74);
        color: #ffffff;
        padding: 18px 20px;
        border-radius: 12px;
        border-left: 5px solid var(--red);
        backdrop-filter: blur(4px);
    }

    .about-image-badge strong {
        display: block;
        font-size: 20px;
        margin-bottom: 4px;
    }

    .about-image-badge span {
        color: #e8e8e8;
        font-size: 15px;
    }

    .about-content-card {
        background: #ffffff;
        padding: 42px;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border-top: 5px solid var(--red);
    }

    .about-content-card h3 {
        font-size: 31px;
        line-height: 1.25;
        margin-bottom: 22px;
        color: #111111;
    }

    .about-content-card h4 {
        font-size: 22px;
        margin: 30px 0 14px;
        color: var(--red);
    }

    .about-content-card p {
        font-size: 17px;
        line-height: 1.8;
        color: #444444;
        margin-bottom: 16px;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin: 28px 0 8px;
    }

    .about-stat {
        background: #f7f7f7;
        border-radius: 12px;
        padding: 18px 14px;
        text-align: center;
        border-bottom: 4px solid var(--red);
    }

    .about-stat strong {
        display: block;
        font-size: 23px;
        line-height: 1.1;
        color: #111111;
        margin-bottom: 6px;
    }

    .about-stat span {
        display: block;
        font-size: 13px;
        font-weight: bold;
        color: #555555;
    }

    .about-values ul {
        list-style: none;
        padding: 0;
        margin: 18px 0 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 18px;
    }

    .about-values li {
        position: relative;
        padding: 14px 14px 14px 42px;
        background: #f8f8f8;
        border-radius: 10px;
        font-size: 16px;
        color: #333333;
        font-weight: 600;
    }

    .about-values li::before {
        content: "✓";
        position: absolute;
        left: 15px;
        top: 12px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--red);
        color: white;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        font-weight: bold;
    }

    .about-highlight {
        margin-top: 30px;
        padding: 22px 24px;
        border-left: 5px solid var(--red);
        background: #111111;
        border-radius: 12px;
    }

    .about-highlight p {
        margin: 0;
        color: #ffffff;
        font-weight: 700;
    }

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

    .service-card {
        background: white;
        padding: 30px;
        border-radius: 14px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        transition: 0.25s ease;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-card h3 {
        color: var(--red);
        margin-bottom: 12px;
        font-size: 22px;
    }

    .service-card p {
        color: #555;
    }

    .price-section {
        background: #111;
        color: white;
    }

    .price-section .section-subtitle {
        color: #ddd;
    }

    .price-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
    }

    .price-card {
        background: white;
        color: #222;
        padding: 30px;
        border-radius: 14px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    }

    .price-card h3 {
        color: var(--red);
        margin-bottom: 18px;
        font-size: 22px;
    }

    .price-card p {
        margin-bottom: 10px;
    }

    .price-card strong {
        color: #111;
    }

    .price-note {
        margin-top: 35px;
        background: rgba(255,255,255,0.08);
        padding: 25px;
        border-radius: 12px;
        text-align: center;
        font-size: 17px;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 22px;
    }

    .gallery-item {
        background: white;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }

    .gallery-item img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        display: block;
    }

    .gallery-item p {
        padding: 18px;
        font-weight: bold;
    }


    /* PROJECT DROPDOWN / GALLERY */

    .project-featured {
        grid-column: 1 / -1;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .project-featured summary {
        list-style: none;
        cursor: pointer;
    }

    .project-featured summary::-webkit-details-marker {
        display: none;
    }

    .project-summary {
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 28px rgba(0,0,0,0.10);
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
        transition: 0.25s ease;
        border: 1px solid rgba(0,0,0,0.06);
    }

    .project-summary:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 36px rgba(0,0,0,0.15);
    }

    .project-image-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 340px;
        background: #111111;
    }

    .project-image-grid.single-image {
        grid-template-columns: 1fr;
    }

    .project-image-grid img {
        width: 100%;
        height: 100%;
        min-height: 340px;
        object-fit: cover;
        display: block;
    }

    .project-summary-content {
        padding: 32px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .project-label {
        display: inline-block;
        align-self: flex-start;
        background: var(--red);
        color: #ffffff;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: bold;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    .project-summary-content h3 {
        color: #111111;
        font-size: 29px;
        line-height: 1.22;
        margin-bottom: 14px;
    }

    .project-summary-content p {
        color: #555555;
        font-weight: normal;
        padding: 0;
        margin-bottom: 20px;
        font-size: 17px;
    }

    .project-open-text {
        color: var(--red);
        font-weight: bold;
        font-size: 16px;
    }

    .project-featured[open] .project-open-text {
        color: #111111;
    }

    .project-dropdown {
        background: #ffffff;
        margin-top: 18px;
        padding: 36px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.10);
        border-top: 5px solid var(--red);
        animation: projectDrop 0.25s ease;
    }

    @keyframes projectDrop {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .project-dropdown h3 {
        font-size: 30px;
        line-height: 1.25;
        color: #111111;
        margin-bottom: 18px;
    }

    .project-dropdown h4 {
        font-size: 22px;
        color: var(--red);
        margin: 28px 0 14px;
    }

    .project-dropdown p {
        color: #444444;
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 16px;
        font-weight: normal;
        padding: 0;
    }

    .project-facts {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 14px;
        margin-top: 18px;
    }

    .project-fact {
        background: #f7f7f7;
        padding: 16px 18px;
        border-radius: 10px;
        border-left: 4px solid var(--red);
    }

    .project-fact strong {
        display: block;
        color: #111111;
        margin-bottom: 4px;
    }

    .project-work-list {
        list-style: none;
        padding: 0;
        margin: 18px 0 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 12px;
    }

    .project-work-list li {
        position: relative;
        background: #f7f7f7;
        color: #333333;
        padding: 15px 18px 15px 44px;
        border-radius: 10px;
        border-left: 4px solid var(--red);
        font-size: 17px;
        line-height: 1.5;
    }

    .project-work-list li::before {
        content: "✔";
        position: absolute;
        left: 17px;
        top: 15px;
        color: var(--red);
        font-weight: bold;
    }

    .project-highlight {
        margin-top: 28px;
        padding: 22px 24px;
        border-left: 5px solid var(--red);
        background: #f7f7f7;
        border-radius: 10px;
    }

    .project-highlight p {
        margin: 0;
        color: #222222;
        font-weight: 600;
    }

    .contact-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        align-items: start;
    }

    .contact-info,
    .contact-form {
        background: white;
        padding: 35px;
        border-radius: 14px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 25px;
        margin-bottom: 20px;
        color: var(--red);
    }

    .contact-info p {
        margin-bottom: 14px;
        font-size: 17px;
    }

    .contact-info a {
        color: #111;
        font-weight: bold;
        text-decoration: none;
    }

    .contact-info a:hover {
        color: var(--red);
    }

    form label {
        font-weight: bold;
        display: block;
        margin-bottom: 6px;
    }

    form input,
    form textarea {
        width: 100%;
        padding: 13px;
        margin-bottom: 18px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 16px;
        font-family: Arial, Helvetica, sans-serif;
    }

    form textarea {
        min-height: 130px;
        resize: vertical;
    }

    form button {
        width: 100%;
    }

    footer {
        background: #000;
        color: white;
        text-align: center;
        padding: 30px 20px;
    }

    footer p {
        margin-bottom: 8px;
    }

    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
    }

    @media (max-width: 850px) {
        .navbar {
            flex-wrap: wrap;
        }

        .menu-toggle {
            display: block;
        }

        nav {
            display: none;
            width: 100%;
            margin-top: 15px;
        }

        nav.active {
            display: block;
        }

        nav a {
            display: block;
            margin: 12px 0;
        }

        .hero {
            min-height: 82vh;
            padding: 80px 20px;
        }

        .hero-content {
            padding: 25px 18px;
        }

        .hero h1 {
            font-size: 35px;
        }

        .hero .slogan {
            font-size: 20px;
        }

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

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

        .about-box {
            padding: 30px;
        }



        .about-layout {
            grid-template-columns: 1fr;
            gap: 26px;
        }

        .about-image-card img {
            min-height: 420px;
            max-height: 520px;
        }

        .about-content-card {
            padding: 26px;
        }

        .about-content-card h3 {
            font-size: 24px;
        }

        .about-stats {
            grid-template-columns: 1fr;
        }

        .about-values ul {
            grid-template-columns: 1fr;
        }

        .logo img {
            height: 48px;
        }


        .project-summary {
            grid-template-columns: 1fr;
        }

        .project-image-grid {
            grid-template-columns: 1fr;
            min-height: auto;
        }

        .project-image-grid img {
            min-height: 260px;
            height: 260px;
        }

        .project-summary-content,
        .project-dropdown {
            padding: 24px;
        }

        .project-summary-content h3,
        .project-dropdown h3 {
            font-size: 24px;
        }
    }
