/* Rivningsföretag CSS - Grundläggande stilar för rivningstjänster */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typografi för byggnadsrivning */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
}

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

/* Huvudmeny för demoleringstjänster */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo för rivningsverksamhet */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #333;
    transform: rotate(-45deg);
    top: 15px;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
    bottom: 10px;
    right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Navigation för rivningstjänster */
nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

nav a:hover {
    color: #FF8C00;
}

/* CTA-knapp för offertförfrågan */
.cta-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #45a049, #4CAF50);
}

/* Mobilmeny för rivningsföretag */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero-sektion för rivningstjänster */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

/* Innehållssektioner för rivningsmetoder */
.content-section {
    padding: 60px 0;
    background: white;
}

.content-section:nth-child(even) {
    background: #f9f9f9;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #444;
}

p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

/* Inforutor för rivningsinformation */
.info-box {
    background: linear-gradient(135deg, #fffbf0, #fff5e0);
    border-left: 4px solid #FFD700;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.info-box h3 {
    color: #333;
    margin-bottom: 10px;
}

/* Tabeller för rivningstjänster */
.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

th {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px;
    text-align: left;
}

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

tr:hover {
    background: #f5f5f5;
}

/* Frågor och svar för rivning */
.faq-item {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-answer.active {
    padding: 15px;
    max-height: 500px;
}

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

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

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

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

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

.spam-protection {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.submit-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

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

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

.footer-section h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

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

.footer-section a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* Ortslista för rivningsområden */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.location-group {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.location-group h4 {
    color: #4CAF50;
    margin-bottom: 10px;
    font-size: 18px;
}

.location-list {
    list-style: none;
    color: #666;
    line-height: 1.8;
}

/* Bildrutor för rivningsprojekt */
.image-box {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.image-box::before {
    content: attr(data-alt);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

/* Responsiv design för mobila enheter */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px;
    }
}

/* Utskriftsformat för rivningsdokument */
@media print {
    header, footer, .cta-button, .mobile-menu-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}