* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    color: #1f2933;
    background-color: #000; /* eller transparent */
}

/* GLOBAL */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR */
.navbar {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 1.5rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.nav-content nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-content nav a {
    margin-left: 1rem;
    font-weight: 500;
    white-space: nowrap;
}
.hero {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    display: block;
}

.hero form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: rgba(255, 255, 255, 0.9); /* valfritt */
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
}

.btn-primary {
    margin:0.5rem;
}

form {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
}
form h2 {
    margin-bottom: 1.5rem;
    color: #1f2933;
}
form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #2f6f4e;
}

form button:hover {
    color: white;
}

/* FOOTER */
.footer {
    background: rgba(12, 28, 20, 0.85);
    color: white;
    padding: 2.5rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.footer-left p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Navigation */
.footer-nav a {
    margin: 0 0.8rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Social icons */
.footer-social a {
    font-size: 1.2rem;
    margin-left: 0.8rem;
    opacity: 0.85;
}

.footer-social a:hover {
    opacity: 1;
}


.map-placeholder {
    background: #dfe6e0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: 500;
}

main {
    position: relative;
    padding: 6rem 0;
    isolation: isolate;
}
main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 42, 30, 0.45) 0%,
        rgba(18, 42, 30, 0.65) 40%,
        rgba(18, 42, 30, 0.85) 100%
    );
    z-index: 0;
}

main > * {
    position: relative;
    z-index: 1;
}