/* Grundläggande stilsättning för dörrmonteringsföretag */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typografi och färgschema - svensk företagsstil */
body {
    font-family: 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #fafafa;
}

/* Behållare för dörrmonteringsinnehåll */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Huvudnavigering för snickartjänster */
header {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    border-bottom: 3px solid #81c784;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logotyp för byggföretag */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2e7d32;
    font-size: 24px;
    font-weight: bold;
}

.door-icon {
    width: 40px;
    height: 45px;
    margin-right: 10px;
    position: relative;
    background: #8bc34a;
    border: 2px solid #689f38;
    border-radius: 3px;
}

.door-icon::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.door-icon::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 20px;
    background: #689f38;
    left: 5px;
    top: 5px;
    border-radius: 2px;
}

/* Navigeringsmeny för monteringstjänster */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #424242;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #558b2f;
    border-bottom-color: #8bc34a;
}

/* CTA-knapp för offertförfrågan */
.cta-header {
    background: #ff6b35;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 5px;
    font-weight: bold !important;
    transition: all 0.3s;
    border: none !important;
}

.cta-header:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,87,34,0.3);
}

/* Mobil menyknapp för dörrinstallation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #424242;
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #424242;
    transition: 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero sektion för portmontering */
.hero {
    background: linear-gradient(135deg, #fff9c4 0%, #f0f4c3 100%);
    padding: 60px 0;
    border-bottom: 2px solid #cddc39;
}

.hero h1 {
    color: #33691e;
    font-size: 2.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Innehållssektioner för industridörrar */
.content-section {
    padding: 50px 0;
    background: white;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

h2 {
    color: #2e7d32;
    font-size: 2em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #aed581;
}

h3 {
    color: #558b2f;
    font-size: 1.5em;
    margin: 30px 0 15px;
}

/* Tjänstekort för kontor och butiker */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #8bc34a;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Offertknapp för byggarbeten */
.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 20px 0;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(255,107,53,0.3);
}

.cta-button:hover {
    background: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

/* Informationsrutor för monteringsarbete */
.info-box {
    background: #e8f5e9;
    border-left: 5px solid #66bb6a;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.tips-box {
    background: #fff3e0;
    border-left: 5px solid #ffa726;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

/* Tabell för dörrtyper */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

th {
    background: #81c784;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

tr:hover {
    background: #f5f5f5;
}

/* Formulär för offertförfrågan */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

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

label {
    display: block;
    color: #424242;
    font-weight: bold;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #c5e1a5;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #8bc34a;
    box-shadow: 0 0 5px rgba(139,195,74,0.3);
}

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

.submit-btn {
    background: #ff6b35;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,87,34,0.3);
}

/* Spamskydd för byggföretagsformulär */
.captcha-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
}

/* Footer för snickeriföretag */
footer {
    background: #37474f;
    color: #eceff1;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    color: #aed581;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cfd8dc;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #8bc34a;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #546e7a;
    color: #90a4ae;
}

/* Accordion för ortslista */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: white;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.accordion-header {
    background: #c5e1a5;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #33691e;
    transition: background 0.3s;
    position: relative;
}

.accordion-header:hover {
    background: #aed581;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 500px;
}

/* Bilder med CSS för dörrrubriker */
.door-banner {
    height: 120px;
    background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.door-banner::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 80px;
    background: white;
    left: 20%;
    opacity: 0.2;
    border-radius: 5px;
}

.door-banner::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 80px;
    background: white;
    right: 20%;
    opacity: 0.2;
    border-radius: 5px;
}

.door-banner h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 1;
    position: relative;
}

/* Responsiv design för mobilanpassning */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: left 0.3s;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    nav a {
        display: block;
        padding: 10px;
        border-left: 3px solid transparent;
        border-bottom: none;
    }
    
    nav a:hover {
        border-left-color: #8bc34a;
        background: #f5f5f5;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 8px 10px;
    }
}

/* Speciell stil för kontaktsidan */
.contact-page nav {
    background: rgba(255,255,255,0.95);
}

.contact-page .hero {
    padding: 30px 0;
}

/* Dropdown för mer information */
.dropdown {
    margin: 20px 0;
}

.dropdown-toggle {
    background: #c5e1a5;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    color: #33691e;
    transition: background 0.3s;
}

.dropdown-toggle:hover {
    background: #aed581;
}

.dropdown-content {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-top: -5px;
}

.dropdown.active .dropdown-content {
    display: block;
}

/* Fetstil och kursiv för byggtexter */
strong {
    color: #2e7d32;
    font-weight: bold;
}

em {
    color: #558b2f;
    font-style: italic;
}