/* === Grundinställningar === */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Georgia', serif;
    background-color: #081826;
    color: #ffffff;
    line-height: 1.6;
}


/* === Header === */

header {
    background-color: #0b1f33;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 10px;
}

.logo h1 {
    color: #d4af37;
    font-size: 22px;
    letter-spacing: 2px;
    margin: 0;
}

.logo h1 sup {
    font-size: 12px;
    vertical-align: super;
}

.logo p {
    font-style: italic;
    font-size: 13px;
    color: #e0e0e0;
    margin: 0;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d4af37;
}


/* === Hamburgermeny === */

.hamburger {
    display: none;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px 10px;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #d4af37;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(212, 175, 55, 0.2);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* === Elfsight översättare === */

.elfsight-nav {
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
}

.elfsight-nav .elfsight-app-c3402081-4b82-490d-a96e-50032dd75048 {
    display: inline-block !important;
}

.elfsight-nav iframe {
    height: 40px !important;
    border: none !important;
}


/* === Hero === */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0b1f33;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 3px solid #d4af37;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    border: 3px solid #d4af37;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.hero-content {
    margin-top: 30px;
    max-width: 800px;
    width: 100%;
}

.hero-content h2 {
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 15px;
    line-height: 1.3;
    padding: 0 15px;
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 15px;
    color: #e0e0e0;
    padding: 0 15px;
}


/* === Mörkblå sektioner med guldram === */

.section-dark {
    padding: 80px 20px;
    background-color: #0b1f33;
    text-align: center;
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-dark h2 {
    color: #d4af37;
    font-size: 32px;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.3;
}

.section-subtitle {
    color: #e0e0e0;
    font-size: 18px;
    font-style: italic;
    margin-bottom: 50px;
    padding: 0 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* === Grid === */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}


/* === Kort (card) === */

.card {
    background-color: #112a45;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 25px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.card-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
    background-color: #f4f4f4;
    border-radius: 8px;
    padding: 10px;
}

.card h3 {
    color: #d4af37;
    margin-bottom: 12px;
    font-size: 20px;
}

.card p {
    font-size: 14px;
    color: #c0c0c0;
    line-height: 1.6;
}

.card-price {
    color: #d4af37;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
}


/* === Info-box === */

.info-box {
    background-color: #112a45;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    margin: 50px auto 0;
    text-align: left;
}

.info-box p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #ffffff;
}

.info-box ul {
    list-style: none;
    margin-bottom: 25px;
}

.info-box li {
    font-size: 16px;
    color: #c0c0c0;
    margin-bottom: 10px;
    line-height: 1.5;
}

.info-box .btn {
    display: block;
    text-align: center;
    margin: 0 auto;
}


/* === Om Oss === */

.omoss-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.omoss-text {
    text-align: left;
}

.omoss-text h3 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 20px;
    font-style: italic;
}

.omoss-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.omoss-text p strong {
    color: #d4af37;
    font-size: 18px;
}

.omoss-image {
    text-align: center;
}

.omoss-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    border-radius: 15px;
    border: 3px solid #d4af37;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.omoss-image .signature {
    font-style: italic;
    font-size: 14px;
    color: #a0a0a0;
    border-top: 1px solid #d4af37;
    padding-top: 15px;
    margin-top: 15px;
}


/* === Varumärkes-box === */

.varumarke-box {
    background-color: #112a45;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.varumarke-icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background-color: #d4af37;
    color: #0b1f33;
    font-size: 36px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.varumarke-box h3 {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 20px;
    font-style: italic;
}

.varumarke-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.varumarke-box p strong {
    color: #d4af37;
}


/* === Badge === */

.badge {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background-color: #d4af37;
    color: #0b1f33;
    font-family: 'Verdana', 'Tahoma', sans-serif;
    font-weight: 900;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}


/* === Sofia-box === */

.heartbeat-icon {
    font-size: 50px;
    margin-bottom: 20px;
    animation: heartbeat 1.5s infinite;
}

.sofia-box {
    background-color: #112a45;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 40px 35px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sofia-box p {
    font-size: 16px;
    line-height: 1.9;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.sofia-box p strong {
    color: #d4af37;
    font-size: 17px;
}

.sofia-image {
    text-align: center;
    margin-bottom: 35px;
}

.sofia-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    border: 3px solid #d4af37;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.sofia-list {
    list-style: none;
    margin: 25px 0;
    padding-left: 0;
}

.sofia-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 18px;
    padding-left: 30px;
    position: relative;
}

.sofia-list li::before {
    content: "❤";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 15px;
    top: 4px;
}

.sofia-list li strong {
    color: #d4af37;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}


/* === Formulär === */

.form-style {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.form-style label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    line-height: 1.4;
    font-size: 16px;
    color: #e0e0e0;
}

.form-style input,
.form-style select,
.form-style textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 5px;
    border: 1px solid #d4af37;
    font-family: inherit;
    font-size: 16px;
    background-color: #ffffff;
}

.form-style textarea {
    resize: vertical;
}

.form-style button {
    margin-top: 30px;
    width: 100%;
}


/* === Knappar === */

.btn {
    background-color: #d4af37;
    color: #0b1f33;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Georgia', serif;
}

.btn:hover {
    background-color: #b8952e;
    transform: translateY(-2px);
}


/* === Footer === */

footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #081826;
    font-size: 14px;
    border-top: 3px solid #d4af37;
    color: #a0a0a0;
}

footer sup {
    font-size: 10px;
}


/* === Mobil === */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 15px;
    }
    .hamburger {
        display: flex;
    }
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0b1f33;
        padding: 20px;
        border-top: 2px solid #d4af37;
        border-radius: 0 0 10px 10px;
    }
    nav.active {
        display: flex;
    }
    nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        font-size: 16px;
        text-align: center;
        width: 100%;
    }
    nav a:last-of-type {
        border-bottom: none;
    }
    .elfsight-nav {
        margin: 15px auto 0;
        display: block;
        width: 100%;
    }
    .hero-image img {
        max-width: 100%;
        max-height: 50vh;
    }
    .hero-content h2 {
        font-size: 22px;
    }
    .section-dark h2 {
        font-size: 22px;
    }
    .section-subtitle {
        font-size: 16px;
    }
    .omoss-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .omoss-text {
        text-align: center;
    }
    .card h3 {
        font-size: 18px;
    }
    .badge {
        font-size: 12px;
        padding: 10px 20px;
        letter-spacing: 1px;
    }
    .sofia-box {
        padding: 25px 20px;
    }
    .sofia-image img {
        max-width: 100%;
    }
    .omoss-image img {
        max-width: 100%;
    }
    .card img {
        max-width: 100%;
    }
    .varumarke-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 30px;
    }
}