/* Grundläggande reset och typografi för fönsterbyteföretag */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #fefefe 0%, #f5f5dc 100%);
}

/* Container för fönsterramslayout */
.fonster-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header med glaseffekt */
.fonster-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #87ceeb;
}

.header-innehall {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo med fönsterdesign */
.fonster-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.logo-ikon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: linear-gradient(135deg, #87ceeb 0%, #f5f5dc 50%, #fffacd 100%);
    border: 3px solid #2c3e50;
    border-radius: 4px;
    position: relative;
}

.logo-ikon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: #2c3e50;
}

.logo-ikon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: #2c3e50;
}

/* Navigation för byggtjänster */
.bygg-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.bygg-nav a {
    text-decoration: none;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bygg-nav a:hover {
    background: #87ceeb;
    transform: translateY(-2px);
}

/* CTA knappar för offertförfrågan */
.offert-knapp {
    background: linear-gradient(135deg, #87ceeb 0%, #4da6cc 100%);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
    cursor: pointer;
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.offert-knapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.5);
}

/* Hero sektion med glasruta-känsla */
.hero-sektion {
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bakgrund {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

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

/* Huvudinnehåll för bygginfo */
.bygg-innehall {
    padding: 4rem 0;
}

/* Rutnätslayout för tjänstekort */
.tjanst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tjanst-kort {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tjanst-kort:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Rubriker och text för fönsterinnehåll */
h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin: 1.5rem 0 1rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

/* Listor och tabeller för byggspecifikationer */
ul, ol {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin-bottom: 0.5rem;
    color: #555;
}

.spec-tabell {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.spec-tabell th {
    background: #87ceeb;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.spec-tabell td {
    padding: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

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

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

.form-grupp {
    margin-bottom: 1.5rem;
}

.form-grupp label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-grupp input,
.form-grupp textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-grupp input:focus,
.form-grupp textarea:focus {
    outline: none;
    border-color: #87ceeb;
}

.spam-skydd {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.skicka-knapp {
    background: linear-gradient(135deg, #87ceeb 0%, #4da6cc 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.skicka-knapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.5);
}

/* Footer med karmdesign */
.fonster-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-kolumn h4 {
    margin-bottom: 1rem;
    color: #87ceeb;
}

.footer-kolumn a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-kolumn a:hover {
    color: #87ceeb;
}

.footer-botten {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Informationsboxar för byggfakta */
.info-box {
    background: linear-gradient(135deg, #fffacd 0%, #f5f5dc 100%);
    padding: 1.5rem;
    border-left: 4px solid #87ceeb;
    border-radius: 5px;
    margin: 2rem 0;
}

.varning-box {
    background: #fff3cd;
    padding: 1rem;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
    margin: 1rem 0;
}

/* Mobilanpassning för byggwebbplats */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-innehall {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bygg-nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .bygg-nav a {
        flex: 1 1 calc(50% - 0.5rem);
        text-align: center;
        min-width: 120px;
    }
    
    .hero-innehall {
        padding: 2rem;
    }
    
    .spec-tabell {
        font-size: 0.9rem;
    }
    
    .spec-tabell th,
    .spec-tabell td {
        padding: 0.5rem;
    }
    
    .tjanst-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-innehall {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animationer för glaseffekt */
@keyframes glans {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.glans-effekt {
    position: relative;
    overflow: hidden;
}

.glans-effekt::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: glans 3s infinite;
}

/* Breadcrumbs för byggnavigering */
.breadcrumbs {
    padding: 1rem 0;
    color: #7f8c8d;
}

.breadcrumbs a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Kontaktinfo stil */
.kontakt-rad {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.kontakt-ikon {
    width: 40px;
    height: 40px;
    background: #87ceeb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}