/* Plåtslagare Malmö - Huvudstilar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Grundläggande typografi för byggplåt-sidan */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f5dc 0%, #fff8e7 50%, #f5f0ff 100%);
}

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

/* Huvud för plåtslageri */
header {
    background: #6b5b95;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo för byggplåt */
.logo {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 20px;
    background: linear-gradient(45deg, #8b7bb3, #9d8ec7);
    border-radius: 5px;
    text-decoration: none;
    color: white;
}

/* Navigation för hängrännor och takarbeten */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* Huvudbanner för plåttak */
.hero-banner {
    position: relative;
    height: 400px;
    background: #f5f5dc;
    overflow: hidden;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
    width: 90%;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 10px;
}

/* Knappar för offertförfrågan */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #8b7bb3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 5px;
    transition: transform 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #9d8ec7;
    box-shadow: 0 5px 15px rgba(139,123,179,0.3);
}

/* Huvudinnehåll för vindskivor */
main {
    padding: 40px 0;
}

/* Sektioner för beslag */
.section {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Rubriker för fönsterbleck */
h1 {
    color: #6b5b95;
    margin-bottom: 20px;
    font-size: 2.5em;
}

h2 {
    color: #8b7bb3;
    margin: 30px 0 15px;
    font-size: 1.8em;
}

h3 {
    color: #9d8ec7;
    margin: 20px 0 10px;
    font-size: 1.4em;
}

/* Tabeller för takarbeten */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #f5f0ff;
    color: #6b5b95;
}

/* Formulär för plåtarbeten */
.form-container {
    background: linear-gradient(135deg, #f5f0ff 0%, #fff8e7 100%);
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
}

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

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

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0d5ff;
    border-radius: 5px;
    font-size: 16px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #8b7bb3;
}

/* Spamskydd för stuprännor */
.spam-protection {
    background: #fff8e7;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

/* Bilder för takplåt */
.image-section {
    margin: 30px 0;
    text-align: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Listor för plåtslageri */
ul, ol {
    margin: 15px 0 15px 30px;
}

li {
    margin: 8px 0;
}

/* Ortslista för byggplåt */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: #f5f5dc;
    border-radius: 10px;
}

.location-item {
    padding: 5px;
    background: white;
    border-radius: 3px;
    font-size: 14px;
}

/* Footer för takarbeten */
footer {
    background: #6b5b95;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    color: #f5f0ff;
}

.footer-section a {
    color: #e0d5ff;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-section a:hover {
    color: white;
}

/* Mobilanpassning för hängrännor */
@media (max-width: 768px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.2em; }
    
    nav ul {
        flex-direction: column;
    }
    
    nav a {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
    
    .hero-banner {
        height: 300px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 8px;
    }
    
    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        font-size: 12px;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}