@charset "utf-8";
/* CSS Document */

/* Color palette */
:root {
    --color-page: #3A3A3A;
    --color-background: #F5F5F5;
    --color-text: #333333;
    --color-dark: #111111;
    --color-accent: #8F1D1D;
    --color-gold: #D4AF37;
    --color-border: #999999;
    --color-light-border: #CCCCCC;
    --color-white: #FFFFFF;
}

/* Gold accent details */
nav {
    border-bottom: 3px solid var(--color-gold);
}

.serviceColumns section {
    border-top: 3px solid var(--color-gold);
}

th {
    border-bottom: 2px solid var(--color-gold);
}

/* General document styles */
html {
    background-color: #260D0F;
    background-image: url("texture.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    background-attachment: fixed;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.65);
}

/* Header styles */
header {
    text-align: center;
    padding: 0;
}

header img {
    display: block;
    width: 100%;
    height: auto;
}

/* Red accent below the banner */
header {
    border-bottom: 4px solid var(--color-accent);
}

/* Dragon red section headings */
main h2 {
    color: var(--color-accent);
}

/* Navigation styles */
nav {
    background-color: var(--color-dark);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: var(--color-white);
    text-decoration: none;
    padding: 15px 20px;
}

nav a:hover,
nav a:focus {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Main content styles */
main {
    padding: 20px;
    min-height: 300px;
}

main p {
    line-height: 1.5;
}

p.indented {
    text-indent: 1.5em;
}

/* Footer styles */
footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 15px;
}

/* Navigation icon */
a#navicon {
    display: none;
}

a#navicon img {
    display: block;
    width: 32px;
    height: auto;
}

nav ul#navMenu {
    display: flex;
}

/* Services page columns */
.serviceColumns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.serviceColumns section {
    flex: 1 1 250px;
    padding: 15px;
    border: 1px solid var(--color-light-border);
    border-top: 4px solid var(--color-accent);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* Services image gallery */
.serviceGallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.serviceGallery figure {
    flex: 1 1 250px;
    max-width: 350px;
    margin: 0;
    text-align: center;
}

.serviceGallery img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.serviceGallery figcaption {
    padding: 10px;
    font-weight: bold;
}

/* Service overview table */
.tableContainer {
    width: 100%;
    overflow-x: auto;
}

.tableContainer table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    margin: 20px 0;
}

th,
td {
    border: 1px solid var(--color-border);
    padding: 12px;
    text-align: left;
}

th {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* Contact form */
form {
    max-width: 700px;
    margin: 20px auto;
}

.formGroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.formGroup label {
    font-weight: bold;
}

.formGroup input,
.formGroup select,
.formGroup textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.formGroup textarea {
    resize: vertical;
}

.formGroup input:focus,
.formGroup select:focus,
.formGroup textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.formButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.formButtons button {
    padding: 12px 20px;
    font: inherit;
    cursor: pointer;
    border: 1px solid var(--color-text);
    border-radius: 4px;
    background-color: var(--color-text);
    color: var(--color-white);
}

.formButtons button:hover,
.formButtons button:focus {
    background-color: var(--color-accent);
    border-color: var(--color-gold);
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    body {
        width: 100%;
    }

    a#navicon {
        display: block;
        padding: 10px;
        width: fit-content;
        margin: 0 auto;
    }

    nav a {
        padding: 12px;
    }

    main {
        padding: 15px;
    }

    nav ul#navMenu {
        display: none;
        flex-direction: column;
    }

    nav ul#navMenu.show {
        display: flex;
    }

    nav ul#navMenu a {
        text-align: center;
    }
}