/* =========================
   GRUND
   ========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    background-color: #E8CAFF;
    color: #491073;
    background-image: url('../images/CDbakgrund.jpg');
    background-repeat: repeat;
    line-height: 1.7;
    padding: 20px;
    text-align: center;
}

/* Handgjord känsla – rubriker, menyer & citat */
header h1,
.tagline,
.intro-text,
nav a,
.home-links a {
    font-family: 'Dancing Script', cursive;
}

/* =========================
   HEADER
   ========================= */

header h1 {
    font-size: 4rem;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-style: italic;
}

.lang {
    font-size: 1rem;
}

/* =========================
   NAVIGATION
   ========================= */

nav {
    background-color: #491073;
    padding: 15px;
    margin-bottom: 30px;
}

nav a {
    color: white;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

nav a:hover,
nav a.active {
    text-decoration: underline;
}

/* =========================
   SIDINNEHÅLL
   ========================= */

.page p,
.home-text {
    max-width: 680px;
    margin: 0 auto 18px;
}

.home-text {
    font-size: 1.4rem;
}

/* =========================
   STARTBILD
   ========================= */

.start-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 0 auto 30px;
    display: block;
    border-radius: 6px;
}

/* =========================
   INTROTEXT
   ========================= */

.intro-text {
    font-size: 1.9rem;
    max-width: 650px;
    margin: 0 auto 25px;
    line-height: 1.4;
}

/* =========================
   STARTSIDELÄNKAR
   ========================= */

.home-links {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.home-links a {
    background-color: #DCC3FF;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    color: #491073;
}

.home-links a:hover {
    opacity: 0.85;
}

/* =========================
   GALLERI – SMÅ BILDER
   ========================= */

.gallery-small {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-small img {
    width: 160px;
    height: auto;
    border: 2px solid #491073;
    border-radius: 5px;
}

/* =========================
   OM-SIDANS BILD
   ========================= */

.om-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 25px;
    display: block;
    border-radius: 6px;
}

/* =========================
   FOOTER
   ========================= */

footer {
    margin-top: 40px;
    font-size: 0.9rem;
}

.footer-double {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.footer-block {
    text-align: center;
}

.social-links {
    margin-top: 10px;
    font-size: 1.1rem;
}

.social-links a {
    color: #491073;
    font-weight: bold;
    text-decoration: none;
    margin: 0 8px;
}

.social-links a:hover {
    text-decoration: underline;
}

/* =========================
   MOBILANPASSNING
   ========================= */

@media (max-width: 768px) {

    body {
        font-size: 16px;
        padding: 12px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    nav {
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px;
        padding: 8px 12px;
        font-size: 1rem;
        background-color: rgba(255,255,255,0.15);
        border-radius: 5px;
    }

    .page p,
    .home-text {
        max-width: 100%;
    }

    .gallery-small img {
        width: 120px;
    }

    .footer-double {
        gap: 25px;
    }
}
/* =========================
   LÄSBAR BRÖDTEXT
   ========================= */

.page p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #3d0c5f;
}
/* =========================
   LIGHTBOX – STOR BILD
   ========================= */

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

#lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
}
/* =========================
   LIGHTBOX – visa bilden korrekt
   ========================= */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 85vw;
    max-height: 80vh;
    width: auto;
    height: auto;
}

/* tydlig stäng-knapp */
#lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
}
/* =========================
   GALLERI – ÖVERSIKTSBILDER
   ========================= */

.gallery-overview {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.gallery-overview a {
    text-decoration: none;
    color: #491073;
    font-weight: bold;
    text-align: center;
}

.gallery-overview img {
    width: 220px;
    max-width: 220px;
    height: auto;
    border: 2px solid #491073;
    border-radius: 6px;
    display: block;
    margin: 0 auto 10px;
}

/* Mobil */
@media (max-width: 768px) {
    .gallery-overview img {
        width: 150px;
        max-width: 150px;
    }
}
/* =========================
   KONTAKT – FIX DESKTOP
   ========================= */

.contact-form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
}
/* =========================
   LÄSBAR BRÖDTEXT
   ========================= */

.page p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #3d0c5f;
}
/* =========================
   BRÖDTEXT – LÄTTLÄST & LUGN
   ========================= */

.page p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3d0c5f;
}
/* Markerad brödtext */
.text-strong {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}
.tagline-strong {
    font-weight: 600;   /* fet */
    font-style: italic; /* behåll kursiv */
}
.new-line {
    display: block;
}
