/* Golvläggare Malmö - Styling 2008 corporate stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Grundläggande typografi från 2008-eran */
body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Huvudcontainer för golvläggarsidan */
.container {
    max-width: 980px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header för golvtjänster */
header {
    background: linear-gradient(to bottom, #e8f4f8, #d0e8f2);
    border-bottom: 3px solid #8B4513;
    padding: 20px;
    position: relative;
}

/* Logo för trägolv och golvläggning */
.logo {
    display: inline-block;
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #8B4513;
    text-decoration: none;
}

.logo::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: repeating-linear-gradient(90deg, #8B4513 0px, #8B4513 3px, #D2691E 3px, #D2691E 6px);
    border: 2px solid #654321;
}

/* Navigation för golvläggningstjänster */
nav {
    background: #8B4513;
    position: relative;
}

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

nav li {
    flex: 1;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    text-align: center;
    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 {
    background: #654321;
}

/* Offertknapp för golvläggning alltid synlig */
.header-cta {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.cta-button {
    background: #FF6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid #FF6600;
}

.cta-button:hover {
    background: #E55500;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Innehållssektion för golvmaterial */
.content {
    padding: 30px;
}

h1 {
    color: #8B4513;
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e8f4f8;
    padding-bottom: 10px;
}

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

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

/* Inforutor för parkettgolv och laminat */
.info-box {
    background: #f0f8ff;
    border-left: 4px solid #8B4513;
    padding: 15px;
    margin: 20px 0;
}

.highlight-box {
    background: #fff8f0;
    border: 1px solid #D2691E;
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

/* Tabeller för golvpriser och tjänster */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th {
    background: #8B4513;
    color: white;
    padding: 10px;
    text-align: left;
}

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

tr:nth-child(even) {
    background: #f9f9f9;
}

/* Formulär för golvoffert */
.form-container {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 5px;
    margin: 20px 0;
}

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

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

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

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

.submit-button {
    background: #FF6600;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #E55500;
}

/* Expanderbara sektioner för golvtyper */
.expandable {
    margin: 20px 0;
}

.expandable-header {
    background: #e8f4f8;
    padding: 12px;
    cursor: pointer;
    border: 1px solid #d0e8f2;
    position: relative;
}

.expandable-header::after {
    content: '▼';
    position: absolute;
    right: 15px;
    transition: transform 0.3s;
}

.expandable-header.active::after {
    transform: rotate(180deg);
}

.expandable-content {
    display: none;
    padding: 15px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-top: none;
}

/* Footer för golvföretaget */
footer {
    background: #333;
    color: #ccc;
    padding: 30px;
    margin-top: 40px;
}

.footer-services {
    background: #444;
    padding: 20px;
    margin-bottom: 20px;
}

.footer-services h4 {
    color: white;
    margin-bottom: 10px;
}

.footer-services ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.footer-services li {
    width: 50%;
    margin-bottom: 8px;
}

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

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

/* Mobilmeny för golvläggartjänster */
.mobile-menu-toggle {
    display: none;
    background: #8B4513;
    color: white;
    padding: 10px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

/* Ortslista för golvläggning Skåne */
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.location-item {
    background: #f9f9f9;
    padding: 8px;
    border-left: 3px solid #8B4513;
}

/* Bilder för golvrubriker */
.header-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.header-image::before {
    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);
}

/* Responsiv design för golvläggare */
@media (max-width: 768px) {
    .container {
        box-shadow: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .header-cta {
        position: static;
        transform: none;
        margin-top: 10px;
        text-align: center;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-services li {
        width: 100%;
    }
    
    table {
        font-size: 12px;
    }
    
    th, td {
        padding: 5px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .content {
        padding: 15px;
    }
}

/* Speciella klasser för trägolv */
.wood-pattern {
    background-image: repeating-linear-gradient(0deg, #8B4513, #8B4513 2px, #D2691E 2px, #D2691E 4px);
    padding: 2px;
}

.floor-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(90deg, #8B4513 25%, #D2691E 25%, #D2691E 50%, #8B4513 50%, #8B4513 75%, #D2691E 75%);
    margin-right: 5px;
    vertical-align: middle;
}