/* style.css */
html {
    font-size: 16px;
    height: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #f7f3ef;
    color: #3e3a36;
    line-height: 1.6;
}


.page-background {
    background-image: url(../images/fnysinge-tomt.jpg);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem; 
}

main, header, footer {
    padding: 1rem 3rem;
}

.page-content {
    background-color: #f4ebdd;
    max-width: 1200px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

header.hero {
    background-size: cover;
    background-image: url(../images/fnysinge-tomt2.jpeg);
    background-position: center;
    height: 40vh;
    display: flex;
    justify-content: center;
    position: relative;
}

header .overlay {
    padding: 0 4rem;
    text-align: center;
}

header h1 {
    /* font-weight: lighter; */
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0.5rem;
    text-transform: uppercase;
    color: #24211f;
}

header.hero p {
    font-size: 1.4rem;
    margin-top: 0.5rem;
    font-style: italic;
}

header.alt-hero {
    background-color: #d3c2a2;
    min-height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}


main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

section {
    margin-bottom: 1rem;
}

section h2, section h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2e2a26;
    text-transform: uppercase;
}

.welcome p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 10px;
}

.about-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
    width: 9000px;
    text-align: center;
    padding: 10px;
}

.about-text h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2e2a26;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.about-content img {
    min-width: 120px;
    max-width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.about-content p {
    flex: 1;
    font-size: 1rem;
}

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

.product {
    text-align: center;
}

.product img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product h4 {
    margin-top: 1rem;
    font-weight: 500;
}

.product a {
    text-decoration: none;
    color: inherit;
}

.visit-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.visit-info .map iframe {
    width: 100%;
    max-width: 600px;
    height: 150px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.details {
    max-width: 300px;
    font-size: 0.95rem;
}

footer {
    background-color: #d3c2a2;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: #5a544f;
}

/* --- GLOBAL NAVIGATION --- */
.global-nav {
    background-color: #d3c2a2;
    padding: 0.5rem 0;
}

.global-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.global-nav a {
    text-decoration: none;
    color: #3e3a36;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.global-nav a:hover,
.global-nav a:focus {
    background-color: #c1af8e;
    color: #2e2a26;
}

.global-nav a.active {
    background-color: #c1af8e;
    color: #2e2a26;
    border-radius: 8px;
}

/* ---------- KOMMISSIONSSIDA ---------- */

.commission-intro {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 2rem;
}

.commission-intro p {
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
}

.integrity-intro {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 2rem;
}

.integrity-intro p {
    font-style: italic;
    margin-top: 0.5rem;
}

.commission-section {
    max-width: 800px;
    margin: 0 auto 2rem;
    background-color: #c1af8eb4;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.integrity-section {
    max-width: 800px;
    margin: 0 auto 2rem;
    background-color: #c1af8e76;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.commission-section .integrity-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2e2a26;
}

.commission-section .integrity-sectionul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.commission-section .integrity-section li {
    margin-bottom: 0.6rem;
}

.commission-section .integrity-section p {
    margin-bottom: 0.8rem;
}

.commission-ending {
    margin-top: 1.2rem;
    font-style: italic;
    text-align: center;
}

textarea {
    min-height: 100px;
    width: 100%;
    resize: horizontal;
}



/*-----PRODUKTSIDA-----*/

.sortiment-background{
    background-image: url(../images/fnysinge.png);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}
.sortiment-content {
    background-color: #f4ebdd;
    max-width: 1200px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

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

.card {
    background-color: #f4ebdd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #d3c2a2;
}

.card h4 {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #2e2a26;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ---------- ARTIKELSIDA ---------- */

.article-main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f4ebdd;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.single-article h2 {
    text-align: center;
    color: #2e2a26;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.article-date {
    text-align: center;
    font-size: 0.9rem;
    color: #5a544f;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.article-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.article-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.article-body p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #3e3a36;
}

.back-button {
    display: inline-block;
    margin-top: 1.5rem;
    text-decoration: none;
    color: #2e2a26;
    background-color: #d3c2a2;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #c1af8e;
}

