/* CSS för Rivning Malmö */
/* Reset och grundläggande stilar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Container och layout */
.rivning-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header och navigation */
.byggnads-header {
    background: linear-gradient(135deg, #e8f4f8 0%, #ffeaa7 50%, #fdcb6e 100%);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.fastighetsnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo CSS-design */
.demolerings-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
}

.logo-hammer {
    width: 45px;
    height: 45px;
    background: #ff7675;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.logo-hammer::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background: white;
    transform: rotate(-45deg);
    top: 18px;
    left: 12px;
}

.logo-hammer::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 2px;
    top: 12px;
    left: 8px;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
}

/* Navigeringsmeny */
.haltagning-meny {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 10px 0;
}

.haltagning-meny a {
    display: inline-block;
    padding: 10px 20px;
    background: #74b9ff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.haltagning-meny a:hover {
    background: #0984e3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero sektion */
.demolerings-hero {
    min-height: 400px;
    background: #dfe6e9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero-bild {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
}

.hero-innehall {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
}

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

/* Innehållssektioner */
.betongsagning-sektion {
    background: white;
    padding: 60px 20px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1200px;
}

/* Rubriker */
h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.8em;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 3px solid #ffeaa7;
}

h3 {
    font-size: 1.4em;
    margin-top: 25px;
    color: #74b9ff;
}

/* Paragrafer och text */
p {
    margin-bottom: 18px;
    text-align: justify;
}

/* CTA-knappar */
.offertknapp {
    display: inline-block;
    background: linear-gradient(135deg, #ff7675, #fd79a8);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    margin: 20px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.offertknapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.offertknapp-grön {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.offertknapp-blå {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

/* Formulär */
.kontaktformular {
    background: #f0f3f5;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: 30px auto;
}

.formgrupp {
    margin-bottom: 20px;
}

.formgrupp label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.formgrupp input,
.formgrupp textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.formgrupp input:focus,
.formgrupp textarea:focus {
    outline: none;
    border-color: #74b9ff;
}

.skicka-knapp {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skicka-knapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Spamlösning stil */
.spam-skydd {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px solid #ffeaa7;
}

.spam-skydd label {
    color: #e74c3c;
    font-weight: bold;
}

/* Tabeller */
.tjanst-tabell {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
    display: block;
}

.tjanst-tabell th,
.tjanst-tabell td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dfe6e9;
}

.tjanst-tabell th {
    background: #74b9ff;
    color: white;
    font-weight: 600;
}

.tjanst-tabell tr:hover {
    background: #f8f9fa;
}

/* Footer */
.byggnads-footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-kolumn h4 {
    color: #ffeaa7;
    margin-bottom: 15px;
}

.footer-kolumn a {
    color: #b2bec3;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-kolumn a:hover {
    color: #74b9ff;
}

.footer-botten {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #636e72;
    color: #b2bec3;
}

/* Responsiv design för mobil */
@media (max-width: 768px) {
    .fastighetsnav {
        flex-direction: column;
        text-align: center;
    }
    
    .haltagning-meny {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    
    .haltagning-meny a {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .hero-innehall h1 {
        font-size: 2em;
    }
    
    .betongsagning-sektion {
        padding: 30px 15px;
    }
    
    .tjanst-tabell {
        font-size: 0.9em;
    }
    
    .tjanst-tabell th,
    .tjanst-tabell td {
        padding: 10px 8px;
    }
    
    p {
        text-align: left;
    }
}

/* Meddelande stilar */
.meddelande {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
}

.meddelande-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.meddelande-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Bilder och media */
.tjanst-bild {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Listor */
ul, ol {
    margin: 20px 0 20px 40px;
}

li {
    margin-bottom: 10px;
}

/* Ortsområden grid */
.omraden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.omrade-item {
    padding: 8px;
    background: white;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s ease;
}

.omrade-item:hover {
    background: #74b9ff;
    color: white;
}