/*
Theme Name: Ducator Entreprise
Theme URI: https://ducator-entreprise.dk
Author: Ducator-Entreprise
Author URI: https://ducator-entreprise.dk
Description: Et enkelt WordPress tema til Ducator-Entreprise med forside, ydelser, priser, galleri og kontaktformular.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
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;
}

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

.admin-bar .site-header {
    top: 32px;
}

.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 img {
    height: 62px;
    width: auto;
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 4px 10px;
}

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

.main-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("assets/images/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.28);
    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;
}

.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-placeholder {
    width: 100%;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dedede, #f7f7f7);
    color: #555;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

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

.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%;
}

.form-message {
    max-width: 900px;
    margin: 0 auto 25px;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background: #e6f7e9;
    color: #186326;
}

.form-message.error {
    background: #fde8e8;
    color: #8a1f1f;
}

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

.site-footer p {
    margin-bottom: 8px;
}

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

@media (max-width: 850px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

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

    .main-nav.active {
        display: block;
    }

    .main-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;
    }

    .logo img {
        height: 50px;
    }
}
