/* Husgrund Malmö - Stilmall för grundläggning och markarbeten */
/* Grundläggande reset och typografi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fffef7 0%, #fff9e6 100%);
}

/* Container för betonggjutning */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header för byggprojekt */
header {
    background: linear-gradient(90deg, #ffffff 0%, #fffbf0 50%, #fff5e6 100%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo för markentreprenad */
.logo {
    display: inline-block;
    padding: 10px 15px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Navigation för grundarbeten */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #4CAF50;
}

/* CTA-knapp för offertförfrågan */
.cta-button {
    background: #5cb3ff;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(92, 179, 255, 0.3);
}

.cta-button:hover {
    background: #4da3f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 179, 255, 0.4);
}

/* Mobil meny för schaktarbete */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero sektion för platta på mark */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.hero h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Innehållssektion för gjutning */
.content-section {
    padding: 40px 0;
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2em;
}

.content-section h3 {
    color: #34495e;
    margin: 25px 0 15px;
    font-size: 1.5em;
}

/* Informationsrutor för grundkonstruktion */
.info-box {
    background: #f8fcff;
    border-left: 4px solid #4CAF50;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.highlight-box {
    background: linear-gradient(90deg, #fffef5 0%, #fff9e6 100%);
    border: 2px solid #ffd93d;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

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

table th {
    background: #4CAF50;
    color: white;
    padding: 12px;
    text-align: left;
}

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

/* Foldout för markplanering */
.foldout {
    margin: 20px 0;
}

.foldout-header {
    background: #f5f5f5;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.foldout-header:hover {
    background: #ececec;
}

.foldout-content {
    display: none;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
}

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

/* Footer för grundentreprenad */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-services {
    background: #34495e;
    padding: 30px 0;
    margin-bottom: 20px;
}

.footer-services ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-services a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: background 0.3s;
}

.footer-services a:hover {
    background: rgba(255,255,255,0.2);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

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

.form-button {
    background: #5cb3ff;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.form-button:hover {
    background: #4da3f0;
    transform: translateY(-2px);
}

/* Spamskydd för säker grund */
.spam-protection {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Bilder med CSS för armering */
.css-image {
    width: 100%;
    height: 200px;
    margin: 20px 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.css-image-foundation {
    background: linear-gradient(180deg, #8B7355 0%, #6B5B45 50%, #4B3B25 100%);
    box-shadow: inset 0 -20px 40px rgba(0,0,0,0.3);
}

.css-image-concrete {
    background: linear-gradient(135deg, #9E9E9E 0%, #757575 50%, #616161 100%);
    position: relative;
}

.css-image-concrete::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 20px);
}

.css-image-excavation {
    background: linear-gradient(180deg, #87CEEB 0%, #8B7355 30%, #6B5B45 60%, #4B3B25 100%);
}

.css-image-rebar {
    background: linear-gradient(90deg, #424242 0%, #616161 50%, #424242 100%);
    position: relative;
}

.css-image-rebar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #FFA500, #FFA500 2px, transparent 2px, transparent 10px);
}

.css-image-forms {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

/* Responsiv design för mobilanpassning */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    table {
        font-size: 14px;
    }
    
    .footer-services ul {
        flex-direction: column;
        align-items: center;
    }
    
    .header-cta {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1001;
    }
}