/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Koulen&family=Krona+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inria+Sans:wght@300;400;700&display=swap");

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

html { scroll-behavior: smooth; }

:root {
  --farve1: #FEF5EF;
  --farve2: #E1D3C2;
  --farve3: #F0E4D9;
  --font-farve: #514237;

  --logo-font: 'Koulen', sans-serif;
  --overskrift-font: 'Krona One', sans-serif;
  --brødtekst-font: 'Inria Sans', sans-serif;
}

/* Hero sektion */
.hero {
    background: linear-gradient(rgba(230, 211, 192, 1), white);
    min-height: 100vh;
    position: relative;
}

/* Navbar */
.navbar {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 15;
    background-color: rgba(236, 213, 195, 0.40);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 30px;
    order: 3;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    order: 1;
}

#logo1 {
    font-family: var(--logo-font);
    font-size: 40px;
    font-weight: 200;
    color: var(--font-farve);
    letter-spacing: 4px;
}

#logo2 {
    font-family: var(--brødtekst-font);
    font-size: 24px;
    color: var(--font-farve);
    letter-spacing: 13px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
    order: 2;
}

.nav-links a {
    font-family: var(--brødtekst-font);
    font-size: 14px;
    text-decoration: none;
    color: var(--font-farve);
    transition: 0.3s ease;
}
.nav-links a:hover { color: #a08977; }

.cart {
    width: 24px;
    height: auto;
    transition: 0.3s ease;
}
.cart:hover { transform: scale(1.1); }

/* Hero indhold */
.hero-content {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
    text-align: center;
    z-index: 1;
}

.hovedskrift {
    font-family: var(--overskrift-font);
    font-size: 12rem;
    font-weight: 700;
    color: var(--font-farve);
    line-height: 1;
    position: absolute;
    top: 50%;
}

.lum { 
   left: 60%;
   transform: translate(-125%, -50%); 
   z-index: 1; 
   letter-spacing: 40px; }
.ina { 
    left: 45%; 
    transform: translate(32%, -50%);
    z-index: 3; 
    letter-spacing: 40px; }

.hero-img {
    width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
    transform: translateY(-130px);
}

/* Knap */
.knap1 {
    position: absolute;
    bottom: 20%;
    left: 80%;
    transform: translateX(-40%);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to right, #514237, #a08977);
    color: white;
    font-family: var(--brødtekst-font);
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}
.knap1:hover { transform: translateX(-50%) scale(1.05); }



/* Produkt sektion */
.produkt { 
    background: #ffffff; 
    display: flex;
    justify-content: space-between; 
    align-items: center;       
    min-height: 100vh;             
    padding: 0 8%
}

.product-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.speclumina {
    font-size: 50px;
    font-family: var(--logo-font);
    color: #40382e;
    letter-spacing: 10px;
}
.specone {
    font-size: 35px;
    font-family: var(--brødtekst-font);
    color: #40382e;
    letter-spacing: 10px;
}

.produktbeskrivelse {
    font-family: var(--brødtekst-font);
    font-size: 16px;
    color: #40382e;
    margin: 20px 0;
}

/* FARVEVÆLGER MED STREGER */
.color-selector {
    border: none;
    padding: 0;
    margin: 20px 0;
}

.color-selector legend {
    font-family: var(--brødtekst-font);
    font-size: 16px;
    color: #40382e;
    margin-bottom: 15px;
}

.colors {
    display: flex;
    gap: 15px;
    border-top: 2px solid #40382e;
    border-bottom: 2px solid #40382e;
    padding: 10px 0;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #40382e;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    display: flex;
}

.color-option span{
    font-family: var(--brødtekst-font);
    font-size: 10px;
    letter-spacing: 3px;
    color: #000;
}

.color-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.color-option:has(input:checked) {
    border: 2.5px solid #40382e;
}

.color-option:hover {
    transform: scale(1.1);
    transition: 0.3s ease;
}

/* Farver */
.moonlight-white { 
    background-color: #F0E0C7; 
    border: 1px solid #40382e; 
}
.lavender-mist   { 
    background-color: #D3D3FF; 
    border: 1px solid #40382e;
 }
.dusty-rose      {
    background-color: #DDA1A1; 
    border: 1px solid #40382e; 
  }
.sage-green      { 
    background-color: #C5D1B9;
    border: 1px solid #40382e;
   }

.color-option:has(input:focus-visible) {
    outline: 3px solid #40382e;
    outline-offset: 4px;
}

/* Placering af tekstblok */
.produktinfo {
    z-index: 10;
    width: 400px;
}

/* Knap: LÆG I KURV */
.buy {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
    padding: 15px 40px;
    border: none;
    border-radius: 40px;
    background: var(--font-farve);
    color: white;
    font-family: var(--brødtekst-font);
    font-size: 16px;
    cursor: pointer;
    width: 200px;
}
.buy:hover { 
    transform: scale(1.05); }

/* Billeder */
.produkt-visual {
    position: relative;
    width: 550px;
    flex-shrink: 0;
}

.trefarver {
    position: absolute;
    z-index: 0;
    width: 100%;
    left: 0;
    top: 240px;
}
.billede {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
}
.pris {
    font-family: var(--brødtekst-font);
    font-size: 24px;
    color: #40382e;
    margin-top: 20px;
}

/* Specifikationer */
.specs { 
    min-height: 100vh;
    padding: 80px 15%;
}

.specs h2 {
    font-family: var(--overskrift-font);
    font-size: 30px;
    color: #40382e;
    letter-spacing: 8px;
    margin-bottom: 50px;
}

.spec-group {
    border-bottom: 1px solid #40382e;
}

.spec-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    cursor: pointer;
    list-style: none;
    transition: opacity 0.2s ease;
}

.spec-group summary:hover {
    opacity: 0.65;
}

.spec-group summary::marker {
    display: none;
}

.spec-group summary span:first-child {
    font-family: var(--overskrift-font);
    font-size: 18px;
    color: #40382e;
    letter-spacing: 2px;
    font-weight: bold;
}

.spec-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mere-knap,
.mindre-knap {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mindre-knap {
    display: none;
}

.spec-group[open] .mere-knap {
    display: none;
}

.spec-group[open] .mindre-knap {
    display: block;
}

.spec-content {

    padding: 0 0 30px 0;

}

.spec-content p {
    font-family: var(--brødtekst-font);
    font-size: 15px;
    line-height: 1.6;
    color: #40382e;
    margin: 0 0 16px;
}

.spec-content p:last-child {

    margin-bottom: 0;

}

.specs-img {
    display: block;
    width: 500px;
    height: auto;
    margin: -60px auto 0;
}

/* App sektion */
.app { 
    min-height: 100vh;
    background-color: white;
    padding: 10px 8% 80px;
}

.app > h2 {
    font-family: var(--overskrift-font);
    font-size: 60px;
    color: #40382e;
    margin-bottom: 10px;
    margin-left: 120px;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    align-items: center;
    column-gap: 0;
}

.app-info {
    font-family: var(--brødtekst-font);
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 25px;
    color: white;
}

.app-info p,
.app-info li {
    font-size: 16px;
    line-height: 1.6;
}

.app-info ul {
    margin-top: 20px;
    padding-left: 20px;
}

.app-phone {
    display: block;
    width: 350px;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-top: 30px;
}

.app-download p {
    font-family: var(--brødtekst-font);
    font-size: 20px;
    color: white;
    margin-bottom: 5px;
}

.app-left {
    display: flex;
    flex-direction: column;
    background-color: #7d746d;
    color: white;
    padding: 40px 50px;
    border-radius: 80px 0 0 80px;
    width: 650px;
    z-index: 1;
    transform: translate(300px,100px);
}

.download-button {
    display: inline-block;
    width: 200px;
    padding: 12px 25px;
    border-radius: 30px;
    background: white;
    color: #40382e;
    font-family: var(--brødtekst-font);
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
}

.download-buttons {
    display: flex;
    gap: 15px;
}

/* Footer */
footer {
    background-color: #e7d2bd;
    padding: 40px 60px;
    min-height: 30vh;
    color: black;
    font-family: var(--brødtekst-font);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

footer p { 
    font-size: 13px; 
    line-height: 1.8; 
}

footer ul { 
    list-style: none; 
    padding: 0;
    margin: 0;
}

footer li { 
    font-size: 13px; 
    line-height: 1.8;
}
footer a { 
    color: black; 
    text-decoration: none; 
}
footer a:hover { 
    text-decoration: underline;
 }
.mail { color: rgb(47, 39, 152); }

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 20px;
}

.footer-logo-lumina {
    font-family: var(--logo-font);
    font-size: 28px;
    font-weight: 200;
    letter-spacing: 3px;
    color: var(--font-farve);
}

.footer-logo-audio {
    font-family: var(--brødtekst-font);
    font-size: 16px;
    letter-spacing: 8px;
    color: var(--font-farve);
}

.footer-column summary {
    list-style: none;
    cursor: default;
    pointer-events: none;
}

.footer-column summary::-webkit-details-marker {
    display: none;
}

.footer-toggle {
    display: none;
}


.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
}

/* Media Queries */

.menu-toggle {
    display: none;
}


@media (max-width: 600px) {
    
    #logo1 {
    font-size: 28px;
    letter-spacing: 3px;
    }

    #logo2 {
        font-size: 16px;
        letter-spacing: 8px;
    }

    .navbar {
        padding: 15px 20px;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background-color: var(--font-farve);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 20px;
        background-color: rgba(236, 213, 195, 0.40);
        backdrop-filter: blur(10px);                        
        -webkit-backdrop-filter: blur(10px);
        order: 3;
        margin-left: 0;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
    }

    .nav-links.open {
    display: flex;
    }

    .hero-img {
    width: 280px;
    max-width: 80vw;
    height: auto;
    transform: translateY(-190px);
    }

    .hovedskrift {
    font-size: 3.5rem;
    top: 38%;
    letter-spacing: 10px;
    }

    .lum {
    left: 50%;
    transform: translate(-91%, -50%);
    z-index: 3;
    }

    .ina {
        left: 50%;
        transform: translate(10%, -50%);
        z-index: 3;
    }

    .knap1 {
    bottom: 27%;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 32px;
    font-size: 20px;
    }

    .produkt {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0 20px 80px;
        gap: 40px;
    }

    .produktinfo {
    width: 100%;
    }

    .produkt-visual {
        width: 100%;
        max-width: 350px;
        transform: translateY(-50px);
    }

    .trefarver {
    top: 140px;
    }

    .specs {
    min-height: auto;
    padding: 0px 20px 60px;
    }

    .specs h2 {
        font-size: 22px;
        letter-spacing: 4px;
        margin-bottom: 30px;
    }

    .spec-group summary span:first-child {
    font-size: 15px;
    letter-spacing: 1px;
    }

    .specs-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: -20px auto 0;
    }

    .app {
    min-height: auto;
    padding: 40px 20px 60px;
    }

    .app > h2 {
        font-size: 36px;
        margin-left: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .app-content {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
        align-items: center;
    }

    .app-info {
        background-color: #7d746d;
        width: 98%;
        margin: 0;
        transform: none;
        padding: 30px 25px;
        border-radius: 40px;
        grid-column: 1 / -1;
    }

    .app-left {
        display: contents;
    }

    .app-phone {
        width: 200px;
        max-width: 70vw;
        height: auto;
        margin: 0;
        transform: translateX(-20px);
    }

    .app-download {
    margin-top: 0;
    align-items: flex-start;
    gap: 10px;
    transform: translateX(-10px);
    }

    .app-download p {
        font-size: 18px;
        color: #40382e;
        margin-bottom: 5px;
        width: 140px;
        text-align: center;
    }

    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .download-button {
        width: 140px;
        padding: 10px 15px;
        font-size: 13px;
        letter-spacing: 1px;
        background-color: #40382e;
        color: white;
    }

    footer {
        padding: 40px 20px;
        min-height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-column summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--font-farve);
        cursor: pointer;
        list-style: none;
        pointer-events: auto;
    }

    .footer-column summary span:first-child {
        font-family: var(--brødtekst-font);
        font-size: 14px;
    }

    .footer-toggle {
        font-size: 24px;
        font-weight: 300;
        display: inline;
    }

    .footer-column[open] .footer-toggle {
        font-size: 0;
    }

    .footer-column[open] .footer-toggle::after {
        content: "−";
        font-size: 24px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }


    .footer-logo {
        align-items: center;
    }
}
