/* Murare.vip - Stilmall för murarfirma */
/* Grundläggande reset och typografi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f7f4;
}

/* Retro 2008 stil med moderna anpassningar */
.murare-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Tegel-header med logo */
.tegelsten-header {
    background: linear-gradient(135deg, #ff9447 0%, #ffb366 100%);
    padding: 20px;
    border-bottom: 4px solid #d17a3a;
}

.murslev-logo {
    display: inline-block;
    background: #f5e6d3;
    padding: 15px 25px;
    border: 3px solid #d17a3a;
    border-radius: 8px;
    font-size: 28px;
    font-weight: bold;
    color: #8b4513;
    text-decoration: none;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.murslev-logo:hover {
    transform: translateY(-2px);
}

.murslev-logo::before {
    content: "🧱";
    margin-right: 10px;
}

/* Navigation */
.bruksnavigation {
    background: #87CEEB;
    border-top: 2px solid #5f9ea0;
    border-bottom: 2px solid #5f9ea0;
}

.bruksnavigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.bruksnavigation li {
    flex: 1;
    min-width: 150px;
}

.bruksnavigation a {
    display: block;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(180deg, #87CEEB 0%, #6bb6d6 100%);
    border-right: 1px solid #5f9ea0;
    font-weight: bold;
    transition: background 0.3s;
}

.bruksnavigation a:hover {
    background: linear-gradient(180deg, #add8e6 0%, #87CEEB 100%);
}

/* Mobilmeny */
.fogmeny-toggle {
    display: none;
    background: #ff9447;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

/* Hero sektion med headerbild */
.putsbanner {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #f5e6d3 0%, #ffe4c4 100%);
    overflow: hidden;
}

.putsbanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.putsbanner-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255,255,255,0.95);
    padding: 20popupx 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.putsbanner h1 {
    color: #8b4513;
    font-size: 32px;
    margin-bottom: 10px;
}

/* Innehållsområde */
.murbruk-innehall {
    padding: 40px 30px;
}

/* CTA-knappar - Retro stil */
.kalkbruk-cta {
    display: inline-block;
    background: linear-gradient(180deg, #ffeb3b 0%, #ffc107 100%);
    color: #333;
    padding: 15px 35px;
    text-decoration: none;
    border: 3px solid #ff9800;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
    margin: 10px 5px;
}

.kalkbruk-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.kalkbruk-cta.primär {
    background: linear-gradient(180deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-color: #388E3C;
}

/* Informationsrutor */
.fasadsten-info {
    background: #e3f2fd;
    border-left: 5px solid #2196F3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.fasadsten-info h3 {
    color: #1976D2;
    margin-bottom: 10px;
}

.skorsten-varning {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.skorsten-varning h3 {
    color: #f57c00;
    margin-bottom: 10px;
}

/* Tabeller */
.tegeltabell {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    background: white;
    border: 2px solid #d17a3a;
    border-radius: 8px;
    overflow: hidden;
}

.tegeltabell th {
    background: linear-gradient(180deg, #ff9447 0%, #ffb366 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

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

.tegeltabell tr:nth-child(even) {
    background: #fef9f3;
}

.tegeltabell tr:hover {
    background: #fff8e1;
}

/* Formulär */
.cementformular {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #2196F3;
    margin: 30px 0;
}

.cementformular h2 {
    color: #1565C0;
    margin-bottom: 20px;
    text-align: center;
}

.putsgrupp {
    margin-bottom: 20px;
}

.putsgrupp label {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

.putsgrupp input,
.putsgrupp textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #90CAF9;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

.putsgrupp input:focus,
.putsgrupp textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33,150,243,0.3);
}

.skicka-offert {
    background: linear-gradient(180deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.skicka-offert:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* Listor */
.murverktyg-lista {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.murverktyg-lista ul {
    list-style: none;
    padding-left: 0;
}

.murverktyg-lista li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.murverktyg-lista li::before {
    content: "→";
    position: absolute;
    left: 10px;
    color: #ff9447;
    font-weight: bold;
}

/* Footer */
.grundmur-footer {
    background: #333;
    color: #fff;
    padding: 40px 30px 20px;
    margin-top: 50px;
}

.grundmur-footer a {
    color: #87CEEB;
    text-decoration: none;
}

.grundmur-footer a:hover {
    text-decoration: underline;
}

.fasadtjanster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #555;
}

/* Responsiv design */
@media (max-width: 768px) {
    .fogmeny-toggle {
        display: block;
    }
    
    .bruksnavigation ul {
        display: none;
        flex-direction: column;
    }
    
    .bruksnavigation.aktiv ul {
        display: flex;
    }
    
    .bruksnavigation a {
        border-right: none;
        border-bottom: 1px solid #5f9ea0;
    }
    
    .putsbanner {
        height: 250px;
    }
    
    .putsbanner h1 {
        font-size: 24px;
    }
    
    .putsbanner-text {
        left: 15px;
        bottom: 15px;
        padding: 15px 20px;
    }
    
    .murbruk-innehall {
        padding: 20px 15px;
    }
    
    .tegeltabell {
        font-size: 14px;
    }
    
    .tegeltabell th,
    .tegeltabell td {
        padding: 8px;
    }
    
    /* Mobilanpassade tabeller */
    .mobiltabell {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Grafer och diagram */
.murardiagram {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.stapel {
    display: flex;
    align-items: flex-end;
    height: 200px;
    gap: 10px;
    margin: 20px 0;
}

.stapel-kolumn {
    flex: 1;
    background: linear-gradient(180deg, #87CEEB 0%, #5f9ea0 100%);
    border: 1px solid #5f9ea0;
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 20px;
}

.stapel-kolumn span {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
}

/* Animationer */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.murbruk-innehall > * {
    animation: slideIn 0.6s ease-out;
}

/* Bilder genererade med PHP GD */
.gd-bild {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 15px 0;
}