/* RESET & GENERELT */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #fafafa;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

/* TOPBAR */
.topbar {
    background: #f6f6f6;
    color: #444;
    padding: 8px 0;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.topbar a {
    color: #c9a14a;
    text-decoration: none;
    font-weight: bold;
}
.topbar a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* CTA BUTTON */
.cta-button {
    background: #c9a14a;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
}
.cta-button:hover {
    background: #b28e3f;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* SEKSJONER */
section {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.intro p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
}

/* GRID FOR ANLEDNINGER */
.grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}
.tile {
    display: block;
    text-decoration: none;
    color: #333;
    width: 220px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.tile img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.tile p {
    font-weight: 600;
    margin-top: 8px;
}
.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* SERVICES */
.services {
    background: #f9f9f9;
}
.service-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}
.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.service-card h3 {
    color: #c9a14a;
    margin-bottom: 10px;
}

/* CONTACT */
.contact-section {
    background: #fff;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
.contact-info {
    flex: 1 1 250px;
    max-width: 300px;
}
.contact-form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
}
.contact-form button {
    background: #c9a14a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #b28e3f;
}

/* FOOTER */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* To bilder per rad */
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: auto; /* Viser hele bildet */
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    object-fit: contain; /* Viser hele bildet */
}

/* På mobil: beskjær pent */
@media (max-width: 768px) {
    .gallery img {
        width: 100%;
        height: 200px; /* Fast høyde på mobil */
        object-fit: cover; /* Beskjær for bedre look */
    }
}
