/* Pool Malmö - Stilmall för poolbyggare */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 50%, #fff9c4 100%);
    min-height: 100vh;
}

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

/* Poollogotyp i CSS */
.pool-logo {
    display: inline-block;
    position: relative;
    width: 180px;
    height: 60px;
    margin: 10px 0;
}

.pool-logo::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 30px;
    background: linear-gradient(to bottom, #2196F3, #1976D2);
    border-radius: 0 0 25px 25px;
    left: 10px;
    top: 15px;
}

.pool-logo::after {
    content: 'POOL MALMÖ';
    position: absolute;
    left: 70px;
    top: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #1976D2;
    letter-spacing: 2px;
}

/* Vattenvågor animation */
@keyframes vattenvag {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* Huvudnavigering */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.nav-länkar {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-länkar a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-länkar a:hover {
    color: #2196F3;
}

/* Offertknapp alltid synlig */
.offert-knapp-header {
    background: #8BC34A;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.offert-knapp-header:hover {
    background: #7CB342;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139,195,74,0.3);
}

/* Mobilmeny */
.mobil-meny-knapp {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobil-meny-knapp span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Poolbilder med CSS */
.pool-bild-rubrik {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.pool-bild-rubrik::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    background: rgba(255,255,255,0.1);
    bottom: 0;
    animation: vattenvag 3s infinite;
}

/* Huvudinnehåll */
.huvudsektion {
    padding: 60px 0;
    background: white;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

h1 {
    font-size: 2.5em;
    color: #1976D2;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 2em;
    color: #2196F3;
    margin: 30px 0 20px;
}

h3 {
    font-size: 1.5em;
    color: #333;
    margin: 20px 0 15px;
}

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

/* CTA-knappar */
.cta-knapp {
    background: #8BC34A;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    margin: 20px 0;
    transition: all 0.3s;
    font-size: 16px;
}

.cta-knapp:hover {
    background: #7CB342;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139,195,74,0.3);
}

/* Informationsrutor */
.info-ruta {
    background: #F5F5F5;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.rekommendation-ruta {
    background: #E8F5E9;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.fragor-ruta {
    background: #FFF9C4;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

/* Tabeller */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

th {
    background: #2196F3;
    color: white;
    padding: 15px;
    text-align: left;
}

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

tr:hover {
    background: #F5F5F5;
}

/* Foldout-menyer */
.foldout {
    margin: 20px 0;
}

.foldout-rubrik {
    background: #F5F5F5;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: bold;
}

.foldout-rubrik:hover {
    background: #E0E0E0;
}

.foldout-innehall {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
    border: 1px solid #E0E0E0;
    border-top: none;
}

.foldout.oppen .foldout-innehall {
    max-height: 1000px;
    padding: 20px;
}

.foldout-rubrik::after {
    content: '▼';
    float: right;
    transition: transform 0.3s;
}

.foldout.oppen .foldout-rubrik::after {
    transform: rotate(180deg);
}

/* Formulär */
.formular-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.formular-grupp {
    margin-bottom: 25px;
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2196F3;
}

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

.skicka-knapp {
    background: #8BC34A;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.skicka-knapp:hover {
    background: #7CB342;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139,195,74,0.3);
}

/* Spamskydd */
.spam-skydd {
    background: #F5F5F5;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.spam-fraga {
    font-weight: bold;
    margin-bottom: 10px;
}

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

.footer-tjanster {
    background: #37474F;
    padding: 30px 0;
    margin-bottom: 30px;
}

.footer-tjanster ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-tjanster a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: background 0.3s;
}

.footer-tjanster a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-info {
    text-align: center;
    padding: 20px 0;
}

/* Responsiv design */
@media (max-width: 768px) {
    .nav-länkar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-länkar.aktiv {
        display: flex;
    }
    
    .mobil-meny-knapp {
        display: block;
    }
    
    .offert-knapp-header {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1001;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
    
    .huvudsektion {
        padding: 30px 20px;
    }
    
    .formular-container {
        padding: 20px;
        margin: 20px -10px;
    }
}