/* ==========================================================
   Elin & Derk – Bröllopshemsida
   ========================================================== */

/* ---------- Färgpalett ---------- */

:root {
    --background: #faf7f2;
    --white: #ffffff;

    --text: #3f3f3f;
    --muted: #6b6b6b;

    --pink: #e9a8ba;
   /* --green: #afc8a4;*/
    --green: rgba(175, 200, 164, .25);
   /* --blue: #afcbe8;*/
    --blue: rgba(175, 203, 232, .25);
   /* --yellow: #f2dfa7;*/
    --yellow:  rgba(242, 223, 167, .35);
   --purple:  rgba(206, 167, 242, 0.35);


    --green-stroke: #79946f;
    --blue-stroke: #5f8fbe;
    --yellow-stroke: #b18a18;

    --shadow: 0 20px 60px rgba(0, 0, 0, .08);

    --radius: 28px;

    --section-spacing: 9rem;
    --transition: .35s ease;
    --border: rgba(0, 0, 0, .06);
}

/* ---------- Grundinställningar ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background:

        radial-gradient(circle at top left,
            rgba(233, 168, 186, .12),
            transparent 35%),

        radial-gradient(circle at bottom right,
            rgba(175, 203, 232, .15),
            transparent 30%),

        var(--background);
    color: var(--text);

    font-family: "Inter", sans-serif;
    line-height: 1.7;
}

/* ---------- Gemensam container ---------- */

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* ==========================================================
   Header
   ========================================================== */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;



    background: rgba(255, 255, 255, .95);


    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(0, 0, 0, .05);

}

.nav-container {

    height: 84px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.logo {

    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;

    text-decoration: none;

    color: var(--text);

    margin-right: auto;

}

.logo span {

    color: var(--pink);

}

.main-nav {

    display: flex;

    gap: 1.8rem;

    margin-right: 4rem;

}

.main-nav a {

    color: var(--muted);

    text-decoration: none;

    transition: .25s;

    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08rem;
    font-weight: 600;


}

.main-nav a:hover {

    color: var(--text);

}

.nav-button {

    padding: .85rem 1.6rem;

    border-radius: 999px;

    background: var(--pink);

    color: white;

    text-decoration: none;

    transition: .25s;

}

.nav-button:hover {

    transform: translateY(-2px);

}

/* ==========================================================
   HERO
   ========================================================== */

   .hero {
    padding: 7rem 0 4rem;

        position: relative;

        
    
}

.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;

    gap: 4rem;

    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Vi gifter oss */

.hero-top-text {
    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;
    font-style: italic;

    color: var(--muted);

    margin-bottom: 1.5rem;
}

/* Namn */

.hero-title {
    font-family: "Cormorant Garamond", serif;

    /*font-size: clamp(4.5rem, 8vw, 6rem);*/


    white-space: nowrap;
    font-size: clamp(4.5rem, 8vw, 6rem);



    font-weight: 300;

    line-height: 1;

    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--pink);
}

/* Hjärta + linjer */

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 1rem;

    color: var(--pink);

    font-size: 1.2rem;

    margin-bottom: 1.5rem;
}

.hero-divider span {
    width: 140px;
    height: 1px;

    background: rgba(0, 0, 0, .15);
}

/* Datum */

.hero-date {
    

    text-align: center;

    color: var(--text);

    text-transform: uppercase;
    letter-spacing: .25rem;

    font-size: 1.25rem;

    margin-bottom: 3rem;
}

/* Intro */

.hero-intro {
    max-width: 500px;

    margin: 0 auto;

    color: var(--muted);

    line-height: 1.8;
}



.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
   
    border-radius: 0px;
    border: 12px solid var(--background);
    transform: rotate(-2deg);

   /* box-shadow: 0 25px 50px rgba(0,0,0,.08);*/

    box-shadow:
    0 15px 30px rgba(0,0,0,.08),
    0 30px 60px rgba(0,0,0,.12);

    display: block;
    
}
    
/* =================================
   Blomma hero
   ================================= */

   .hero-flower {
    position: absolute;

    left: -20px;
    bottom: -20px;

    width: 260px;

    z-index: 1;

    pointer-events: none;
}
    


/* ==========================================================
   TID & PLATS
   ========================================================== */

   #tidplats {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

/* ==========================================================
   Rubriker
   ========================================================== */

.section-title {
    text-align: center;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 500;
    

    margin-bottom: 2rem;

    position: relative;
}

.section-title::after {
    content: "";

    display: block;

    width: 150px;
    height: 2px;

    background: rgba(0, 0, 0, 0.15);

    margin: .5rem auto 0;
}

.section-label {
    text-align: center;

    color: var(--pink);

    text-transform: uppercase;
    letter-spacing: .25rem;

    font-size: 1.25rem;

    margin-bottom: 3rem;
}

/* ==========================================================
   Kort-layout
   ========================================================== */

.cards {
    display: grid;

    justify-content: center;

        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    
        gap: 2rem;
    }


    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    
        gap: 1rem;
    
        padding: 2rem;
    
        background: white;
    
        border-radius: 20px;
    
        text-align: center;
    
        box-shadow: 0 12px 40px rgba(0, 0, 0, .05);
    }

    .card a {
        color: inherit;
        text-decoration: none;
    }
    
    .card a:hover {
        text-decoration: underline;
    }

.card-content-green h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;

    margin-bottom: 1rem;
}

.card-content-blue h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;

    margin-bottom: 1rem;
}

.card-content-yellow h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;

    margin-bottom: 1rem;
}

.card-content-green p {
    margin: .4rem 0;

    font-size: 1.1rem;

    color: var(--muted);
}

.card-content-blue p {
    margin: .4rem 0;

    font-size: 1.1rem;

    color: var(--muted);
}

.card-content-yellow p {
    margin: .4rem 0;

    font-size: 1.1rem;

    color: var(--muted);
}

/* ==========================================================
   Ikoner
   ========================================================== */

.card-icon-green,
.card-icon-blue,
.card-icon-yellow {
    width: 100px;
    height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    flex-shrink: 0;
}

.card-icon-green {
    background: var(--green);
}

.card-icon-blue {
    background: var(--blue);
}

.card-icon-yellow {
    background: var(--yellow);
}

.card-icon-green svg,
.card-icon-blue svg,
.card-icon-yellow svg {
    width: 50px;
    height: 50px;

    stroke-width: .9px;
}

.card-icon-green svg {
    color: #79946f;
}

.card-icon-blue svg {
    color: #5f8fbe;
}

.card-icon-yellow svg {
    color: #b18a18;
}

/* ==========================================================
   Rubrikfärger
   ========================================================== */

.card-content-green {
    color: #79946f;
}

.card-content-blue h3 {
    color: #9dbfe4;
}

.card-content-yellow h3 {
    color: #b18a18;
}

/* ==========================================================
   Blommor
   ========================================================== */

.flower-left,
.flower-right {
    position: absolute;

    width: 280px;

    pointer-events: none;

    z-index: 1;
}

.flower-left {
    left: -80px;
    bottom: 300px;
}

.flower-right {
    right: -80px;
    top: 250px;
}


/* ==========================================================
   PRAKTISK INFO
   ========================================================== */

   .info-section {
  /*  background: #dce8f4;*/
    padding: 2rem 0 4rem;
    scroll-margin-top: 85px;
    position: relative;
    
}

/* ==========================================================
   Sektionstitel
   ========================================================== */

.info-label {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 500;
    letter-spacing: .15rem;
    margin-bottom: 2rem;

   
}

.info-label::after {
    content: "";

    display: block;

    width: 200px;
    height: 2px;

    background: rgba(0, 0, 0, 0.15);

    margin: 0.5rem auto 1;
} 

.info-content {
    max-width: 1100px;
    margin: 0 auto;
}

/* ==========================================================
   Layout
   ========================================================== */

   .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    column-gap: 14rem;
    row-gap: 2rem;
}

.info-block {
    margin-bottom: 1.5rem;
}

.info-block:last-child {
    margin-bottom: 0;
}

/* ==========================================================
   Rubrik + ikon
   ========================================================== */

.info-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-title h2 {
    font-family: "Cormorant Garamond", serif;
    font-size:2.5rem;
    font-weight: 500;
    margin: 0;
}

/* ==========================================================
   Ikoner
   ========================================================== */

.info-icon-circle {
    width: 70px;
    height: 70px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    flex-shrink: 0;
}

.info-icon-circle svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.8;
}

/* Rosa */

.pink-icon {
    background: rgba(233, 168, 186, .25);
}

.pink-icon svg {
    stroke: #d886a0;
}

/* Grön */

.green-icon {
    background: rgba(175, 200, 164, .25);
}

.green-icon svg {
    stroke: #79946f;
}

/* Blå */

.blue-icon {
    background: rgba(175, 203, 232, .25);
}

.blue-icon svg {
    stroke: #5f8fbe;
}

/* Gul */

.yellow-icon {
    background: rgba(242, 223, 167, .35);
}

.yellow-icon svg {
    stroke: #b18a18;
}


/* ==========================================================
   Brödtext
   ========================================================== */

.info-block p {
    max-width: 100ch;

    color: var(--muted);

    line-height: 1.6;
    font-size: 1rem;
}




/* ==========================================================
   BOENDE
   ========================================================== */

   #boende {
    scroll-margin-top: 85px;
}

.boende-section {
    padding: 3rem 0 5rem;
    position: relative;
}

.boende-card {
    max-width: 700px;

    margin: 0 auto;

    padding: 3.5rem;

    background: var(--white);

    border-radius: 32px;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
}


/* Länk i boendesektionen */
.boende-card a {
    color: inherit;
    text-decoration: none;
}

.boende-card a:hover {
    text-decoration: underline;
}


.boende-icon {
    width: 120px;
    height: 120px;

    margin: 0 auto 2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(175, 200, 164, .25);
}

.boende-icon svg {
    width: 50px;
    height: 50px;

    stroke: #79946f;
    stroke-width: 1.5;
}

.boende-card h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 500;
    letter-spacing: .15rem;
    margin-bottom: 2rem;

    
}


.boende-card h2:after {
    content: "";

    display: block;

    width: 120px;
    height: 2px;

    background: rgba(0, 0, 0, 0.15);

    margin: .5rem auto 0;
} 

.boende-card p {
    max-width: 500px;

    margin: 0 auto 1rem;

    color: var(--muted);

    font-size: 1.05rem;
    line-height: 1.9;
}

.boende-button {
    display: inline-block;

    margin-top: 1.5rem;

    padding: 1rem 2rem;

    border-radius: 999px;

    background: var(--pink);

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: var(--transition);
}

.boende-button:hover {
    background: #dfa0b1;
    transform: translateY(-2px);
}
/* ==========================================================
   Blommor
   ========================================================== */

   .rings,
   .champange {
       position: absolute;
   
       width: 280px;
   
       pointer-events: none;
   
       z-index: 1;
   }
   
   .rings{
       left: -50px;
       bottom: 100px;
   }
   
   .champange {
       right: -80px;
       top: 120px;
   }

/* ==========================================================
   Kontakt
   ========================================================== */

   .contact-section {
   

    padding: 6rem 0;

    scroll-margin-top: 85px;
}

.contact-section .container {
    max-width: 1100px;
}

.contact-block {
    max-width: 600px;

    margin-left: 0;
}

.contact-block a {
    color: inherit;
    text-decoration: none;
}
.contact-block a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.contact-title {
    display: flex;
    align-items: center;

    gap: 1.5rem;

    margin-bottom: 2rem;
}

.contact-title h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 500;
    letter-spacing: .15rem;
    margin-bottom: 0rem;

    position: relative;
}

.contact-title h2::after {
    content: "";

    display: block;

    width: 150px;
    height: 2px;

    background: rgba(0, 0, 0, 0.15);

    margin: .5rem auto 1;
} 

.contact-icon-circle {
    width: 70px;
    height: 70px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: var(--yellow); 

    flex-shrink: 0;
}

.contact-icon-circle svg {
    width: 32px;
    height: 32px;

    stroke: var(--yellow-stroke);
    stroke-width: 1.8;
}

.contact-block p {
    max-width: 55ch;

    line-height: 1.9;

    color: var(--text);
}
/* ==========================================================
   MOBIL
   ========================================================== */
/* OSA-knappen visas inte på dator */
.hero-osa-mobile {
    display: none;
}
/* Radbrytning visas bara på mobil */
.mobile-break {
    display: none;
}
@media (max-width: 900px) {


        .mobile-break {
            display: block;
        }
    
    /* =================================
       Header
       ================================= */

    
/* Endast mobil och mindre skärmar */

.site-header {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    margin: 0;
    padding: 0;
}


.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    gap: 0;
    background: #fff;
}

.logo {
    display: none;
}
/*
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 1.5rem 0.4rem;
    background: #fff;
    column-gap: 0;
    row-gap: 0.65rem;
}

.main-nav a {
    font-size: 0.78rem;
    letter-spacing: 0.04rem;
    white-space: nowrap;
    padding: 0 0.65rem;
    line-height: 1.2;
}

 Tunna streck mellan navigationsflikarna 
.main-nav a + a {
    border-left: 1px solid #d8d1cf;
} */




/* Navigation – mobil: alltid en rad */
.main-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.2rem 0.25rem;
    gap: 0;
    background: #fff;
    box-sizing: border-box;
}

.main-nav a {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 0.15rem;
    font-size: clamp(0.75rem, 2.8vw, 0.9rem);
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}

.main-nav a + a {
    position: relative;
    border-left: none;
}
.main-nav a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 2.2rem;
    background: #d8d1cf;
}


.nav-button {
    display: none;
}
/* OSA-knapp under hero-bilden endast på mobil */
.hero-osa-mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 2rem auto 0;
    padding: 0 1rem 1rem;
}

.hero-osa-mobile a {
    display: inline-block;
    padding: 0.9rem 3rem;
    border-radius: 50px;
    background: var(--pink);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.08rem;
}


    /* =================================
       Hero
       ================================= */
       #hem {
        scroll-margin-top: 160px;
    }

    .hero {
        padding: 6rem 0 4rem;
    }


    


    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

   /* .hero-title {
        font-size: 4rem;
    } */

    .hero-title {
        font-size: clamp(3rem, 7vw, 4rem);
    }

    .hero-divider span {
        width: 70px;
    }

    .hero-date {
        font-size: 1rem;
        letter-spacing: .15rem;
    }

    .hero-image {
        order: 1;
    }

    .hero-image img {
        max-width: 280px;

        transform: rotate(-1deg);
    }

    /* =================================
       Gemensamma rubriker
       ================================= */

    .section-title {
        font-size: 2.2rem;
    }
    .info-label {
        font-size: 2.2rem;
        text-align: center;
        margin-top: 0;
        margin-bottom: 2rem;
    }
    .info-label::after {
        display: block;
        content: "";
        width: 100px;
        height: 2px;
        background-color: rgba(0, 0, 0, 0.15);

        margin: 0.5rem auto 0;
        position: static;
    }
    .section-label {
        font-size: 0.95rem;

        letter-spacing: .15rem;
    }

    .section-title::after {
        width: 100px;
    }

    /* =================================
       Tid & Plats
       ================================= */
       .info-section {
        padding: 4rem 0;
    }
    #tidplats {
        padding: 4rem 0;
        scroll-margin-top: 160px;
    }

    .cards {
        grid-template-columns:  1fr;
    }

    .card {
        flex-direction: column;

        text-align: center;

        gap: 1.5rem;

        padding: 2rem;
    }

    .card-icon-green,
    .card-icon-blue {
        width: 90px;
        height: 90px;
    }

    .card-icon-green svg,
    .card-icon-blue svg,
    .card-icon-yellow svg {
        width: 45px;
        height: 45px;
    }


    .card-content-green h3,
    .card-content-blue h3,
    .card-content-yellow h3{
        font-size: 1.8rem;
    }

    .card-content-green p,
    .card-content-blue p {
        font-size: 1rem;
    }

    /* =================================
       Praktisk info
       ================================= */

    .info-section {
        padding: 4rem 0;
    }
    .story-card {
        margin-top: 0;
    }
    
    .info-content {
        padding-top: 0;
    }
    .info-grid {
        grid-template-columns: 1fr;

        column-gap: 0;

        row-gap: 2rem;
    }

    .info-title {
        gap: 1rem;
    }

    .info-title h2 {
        font-size: 2.2rem;
    }

    .info-icon-circle {
        width: 60px;
        height: 60px;
    }

    .info-icon-circle svg {
        width: 28px;
        height: 28px;
    }

    .info-block p {
        max-width: 100%;
        font-size: 0.95rem;
    }

    /* =================================
       Boende
       ================================= */

    .boende-card {
        padding: 2rem;
    }

    .boende-card h2 {
        font-size: 2.2rem;
    }

    .boende-icon {
        width: 90px;
        height: 90px;
    }

    .boende-icon svg {
        width: 40px;
        height: 40px;
    }

    .boende-card p {
        font-size: 1rem;
    }

    /* =================================
       Kontakt
       ================================= */

    .contact-title h2 {
        font-size: 2.2rem;
    }

    .contact-icon-circle {
        width: 60px;
        height: 60px;
    }

    .contact-icon-circle svg {
        width: 28px;
        height: 28px;
    }

    .contact-block p {
        font-size: 0.95rem;
    }

    /* =================================
       Dekorationer
       ================================= */

    .flower-left,
    .flower-right,
    .rings,
    .champange,
    .hero-flower {
        display: none;
    }
}
