/* Tømrer Amager - Hovedstilark */
/* Dansk håndværker tema med 2007 corporate stil */

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

body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f3f0;
}

/* Tømrer logo med CSS */
.logo-container {
    display: inline-block;
    background: linear-gradient(135deg, #8B7355 0%, #A0826D 100%);
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: #fff;
    border-radius: 3px;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 20px;
    height: 4px;
    background: #8B7355;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 20px;
    background: #8B7355;
}

/* Header område */
header {
    background: linear-gradient(to bottom, #e8e4de, #d9d5ce);
    padding: 20px 0;
    border-bottom: 3px solid #7A9FB8;
}

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

/* Navigation med 2007 stil */
nav {
    background: #7A9FB8;
    margin-top: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    flex: 1;
    min-width: 120px;
}

nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s;
    border-right: 1px solid rgba(255,255,255,0.2);
}

nav li:last-child a {
    border-right: none;
}

nav a:hover, nav a.active {
    background: #5C7F96;
}

/* Hovedindhold */
main {
    background: #fff;
    margin: 20px auto;
    max-width: 960px;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h1 {
    color: #4A6B7C;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7A9FB8;
}

h2 {
    color: #5C7F96;
    font-size: 22px;
    margin: 25px 0 15px;
}

h3 {
    color: #6B8E9F;
    font-size: 18px;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

/* CTA knapper - lilla tema */
.cta-button {
    display: inline-block;
    background: linear-gradient(to bottom, #7B5C9E, #664D82);
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 5px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.cta-button:hover {
    background: linear-gradient(to bottom, #8B6CAE, #745992);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

/* Above the fold CTA sektion */
.hero-cta {
    background: linear-gradient(135deg, #e8e4de 0%, #d0cbc2 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.hero-cta h2 {
    color: #4A6B7C;
    margin-bottom: 20px;
}

/* Tabel stil */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th {
    background: #7A9FB8;
    color: #fff;
    padding: 10px;
    text-align: left;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

table tr:hover {
    background: #f9f9f9;
}

/* Lister */
ul, ol {
    margin: 15px 0 15px 30px;
}

li {
    margin-bottom: 8px;
}

/* Accordion/Fold-out */
.faq-item {
    margin: 15px 0;
    border: 1px solid #d0cbc2;
    border-radius: 4px;
}

.faq-question {
    background: #e8e4de;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 20px;
    color: #7A9FB8;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    display: none;
    padding: 15px;
    background: #fff;
}

.faq-answer.active {
    display: block;
}

/* Formularer */
.form-container {
    background: #f9f7f4;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #4A6B7C;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d0cbc2;
    border-radius: 4px;
    font-size: 13px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"] {
    background: linear-gradient(to bottom, #7B5C9E, #664D82);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

button[type="submit"]:hover {
    background: linear-gradient(to bottom, #8B6CAE, #745992);
}

/* Spam beskyttelse */
.spam-protection {
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #ffc107;
}

/* Billeder med CSS */
.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #d0cbc2 0%, #a09890 100%);
    border-radius: 4px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
}

/* Footer */
footer {
    background: #4A6B7C;
    color: #fff;
    padding: 30px 0;
    margin-top: 40px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

footer h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

footer ul {
    list-style: none;
    margin: 0;
}

footer a {
    color: #b8d4e3;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

/* Mobiloptimering */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    main {
        padding: 20px;
        margin: 10px;
        border-radius: 0;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .hero-cta {
        padding: 20px;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    table {
        font-size: 12px;
    }
    
    table th, table td {
        padding: 8px 5px;
    }
    
    footer .container {
        grid-template-columns: 1fr;
    }
}

/* Områder liste */
.areas-list {
    background: #f9f7f4;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.areas-list h3 {
    margin-bottom: 15px;
}

.areas-list p {
    font-size: 12px;
    line-height: 1.8;
    color: #666;
}

/* Interne links styling */
a.internal-link {
    color: #7A9FB8;
    text-decoration: underline;
}

a.internal-link:hover {
    color: #5C7F96;
}