* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: url('images/background.jpg') no-repeat fixed center/cover;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Övergripande layout */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Header */
header {
    background: #e8e4df;
    padding: 25px 60px;
    position: sticky;
    top: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 100px;
    z-index: 99;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    flex-shrink: 0;
}

.logo {
    max-width: 300px;
    height: auto;
    display: block;
}

.header-right {
    flex: 1;
}

h1 {
    font-family: 'Georgia', 'Garamond', serif;
    font-size: 3.2em;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-style: italic;
}

.tagline {
    font-size: 1.15em;
    color: #555;
    margin-bottom: 8px;
    font-weight: 400;
}

.location {
    font-size: 1.05em;
    color: #777;
    font-weight: 400;
}

.nav-link {
    position: fixed;
    top: 80px;
    right: 40px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.05em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
    z-index: 101;
}

.nav-link:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

/* Sektioner */
section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    animation: slideIn 0.6s ease-out forwards;
    opacity: 0;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.sektion-1 .card { animation-delay: 0.1s; }
.sektion-2 .card { animation-delay: 0.2s; }
.sektion-3 .card { animation-delay: 0.3s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 200, 100, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-image::after {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 40px 35px;
}

.card-content h2 {
    font-size: 2em;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.card-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c42 0%, #ff6b35 100%);
    border-radius: 2px;
}

.card-content h3 {
    font-size: 1.4em;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-block {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.section-block:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 15px;
}

.section-block p {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 15px;
}

.styled-list {
    list-style-type: disc;
    padding-left: 25px;
}

.styled-list li {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.card-content p {
    font-size: 1.05em;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.equipment-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 20px;
}

.equipment-lists ul {
    list-style-type: disc;
    padding-left: 25px;
}

.equipment-lists li {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .equipment-lists {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Formulär-sektion */
#kontakt {
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 50px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    margin-bottom: 80px;
    text-align: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#kontakt h2 {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 800;
}

.form-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    font-weight: 400;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.form-feedback {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: none;
    font-weight: 600;
    font-size: 0.95em;
}

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

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

form {
    display: grid;
    gap: 20px;
}

.form-group {
    text-align: left;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #aaa;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

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

button {
    padding: 18px 50px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
    width: 100%;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

button:active {
    transform: translateY(-1px);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 0.95em;
}

/* Modal/Overlay */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2em;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    font-size: 1.8em;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-button {
    padding: 14px 40px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.modal-button:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 30px 20px;
        margin-bottom: 120px;
    }

    .header-content {
        flex-direction: column;
        gap: 30px;
    }

    .header-left {
        flex-shrink: 1;
    }

    .logo {
        max-width: 150px;
    }

    h1 {
        font-size: 2.2em;
    }

    .tagline {
        font-size: 1.05em;
    }

    .nav-link {
        top: auto;
        right: auto;
        position: static;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .card-content {
        padding: 30px 20px;
    }

    .card-content h2 {
        font-size: 1.6em;
    }

    .card-content p {
        font-size: 1em;
    }

    #kontakt {
        padding: 50px 30px;
    }

    #kontakt h2 {
        font-size: 2em;
    }

    .nav-link {
        padding: 14px 30px;
        font-size: 1em;
    }
}
