/* Huvudstil för fasadtvätt Malmö */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Header och navigation */
.malmo-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.malmo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.malmo-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.malmo-logo {
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
    color: white;
    position: relative;
}

.malmo-logo::before {
    content: '🏢';
    margin-right: 10px;
}

.malmo-nav {
    display: none;
}

.malmo-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e3c72;
    padding: 1rem;
}

.malmo-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.malmo-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.malmo-nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

.malmo-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}

.malmo-cta-header {
    background: #ff6b35;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.malmo-cta-header:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Desktop navigation */
@media (min-width: 768px) {
    .malmo-menu-toggle {
        display: none;
    }
    
    .malmo-nav {
        display: block !important;
        position: static;
        background: transparent;
        padding: 0;
    }
    
    .malmo-nav ul {
        flex-direction: row;
    }
}

/* Hero sektion */
.malmo-hero {
    background: linear-gradient(rgba(30,60,114,0.8), rgba(42,82,152,0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f8ff" width="1200" height="600"/><path fill="%23e0e8f0" d="M0,300 Q300,200 600,300 T1200,300 V600 H0 Z"/></svg>');
    color: white;
    padding: 4rem 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.malmo-hero h1 {
    font-size: 2.5em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.malmo-hero .malmo-subtitle {
    font-size: 1.2em;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.malmo-cta-primary {
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.malmo-cta-primary:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

/* Huvudinnehåll */
.malmo-main {
    padding: 3rem 0;
}

.malmo-content-section {
    margin-bottom: 3rem;
}

.malmo-content-section h2 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 2em;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 0.5rem;
}

.malmo-content-section h3 {
    color: #2a5298;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4em;
}

/* Informationsrutor */
.malmo-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.malmo-info-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #ff6b35;
    transition: transform 0.3s;
}

.malmo-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.malmo-info-box h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3em;
}

/* Tabeller */
.malmo-table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

.malmo-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.malmo-table th {
    background: #1e3c72;
    color: white;
    padding: 1rem;
    text-align: left;
}

.malmo-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.malmo-table tr:nth-child(even) {
    background: #f8f9fa;
}

.malmo-table tr:hover {
    background: #e8f4f8;
}

/* Citat och blockquote */
.malmo-quote {
    background: #f0f8ff;
    border-left: 4px solid #2a5298;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.malmo-highlight-box {
    background: linear-gradient(135deg, #ff6b35, #f39c12);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

/* Säsongssektion */
.malmo-season-section {
    background: linear-gradient(135deg, #e8f5e8, #f0f8ff);
    border: 2px solid #4a90e2;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.malmo-season-section h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

/* Formulär */
.malmo-form-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 3rem 0;
}

.malmo-form-group {
    margin-bottom: 1.5rem;
}

.malmo-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1e3c72;
}

.malmo-form-group input,
.malmo-form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.malmo-form-group input:focus,
.malmo-form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
}

.malmo-form-submit {
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.malmo-form-submit:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Spam-skydd */
.malmo-captcha {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

/* Detaljer och expanderbar innehåll */
.malmo-details {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 1rem 0;
}

.malmo-details summary {
    background: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    color: #1e3c72;
}

.malmo-details[open] summary {
    border-bottom: 1px solid #ddd;
}

.malmo-details-content {
    padding: 1rem;
}

/* Footer */
.malmo-footer {
    background: #1e3c72;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

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

.malmo-footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.malmo-footer-section ul {
    list-style: none;
}

.malmo-footer-section a {
    color: white;
    text-decoration: none;
    padding: 0.3rem 0;
    display: block;
    transition: color 0.3s;
}

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

.malmo-footer-bottom {
    border-top: 1px solid #2a5298;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsiv design */
@media (max-width: 768px) {
    .malmo-hero h1 {
        font-size: 2em;
    }
    
    .malmo-hero .malmo-subtitle {
        font-size: 1em;
    }
    
    .malmo-info-grid {
        grid-template-columns: 1fr;
    }
    
    .malmo-cta-primary {
        display: block;
        text-align: center;
        margin: 1rem 0;
    }
}

/* Tillgänglighet */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Printing */
@media print {
    .malmo-header,
    .malmo-footer,
    .malmo-cta-primary,
    .malmo-cta-header {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}

/* Laddningstid optimering */
.malmo-lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.malmo-lazy-load.loaded {
    opacity: 1;
}

/* Komprimering för snabbare laddning */
.malmo-compressed {
    will-change: transform;
    transform: translateZ(0);
}

/* Cache-vänlig styling */
.malmo-static-content {
    contain: layout style paint;
}

/* Nordisk design */
.malmo-nordic-accent {
    background: linear-gradient(45deg, #f5f5dc, #ffffff);
    border-radius: 10px;
    padding: 1rem;
}

/* Mobile-first responsive grid */
.malmo-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .malmo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .malmo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}