.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(243, 243, 246, 0.9);
    padding: 10px 52px;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid rgba(13, 41, 72, 0.14);
    box-shadow: 0 10px 24px rgba(13, 41, 72, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#Rellmar-Logo {
    height: 130px;
    width: auto;
    position: absolute;
    left: 90px;
    top: 55%;
    transform: translateY(-45%);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

.nav-links li {
    display: inline-block;
    margin-left: 36px;
    vertical-align: middle;
}

.nav-links a {
    text-decoration: none;
    color: #0D2948;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.35px;
    position: relative;
    padding: 8px 0;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: rgba(54, 84, 118, 0.75);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #27486a;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-links .contact-link {
    color: #F9FAFB;
    background: linear-gradient(135deg, #365476 0%, #2c4665 100%);
    border: 1px solid rgba(13, 41, 72, 0.2);
    padding: 10px 30px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 8px 18px rgba(13, 41, 72, 0.18);
    transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.nav-links .contact-link::after {
    display: none;
}

.nav-links .contact-link:hover,
.nav-links .contact-link:focus-visible {
    background: linear-gradient(135deg, #3f5f84 0%, #304c6d 100%);
    box-shadow: 0 12px 24px rgba(13, 41, 72, 0.24);
    transform: translateY(-1px);
    color: #F9FAFB;
}

@media (max-width: 1366px) and (min-width: 1025px) {
    .navbar {
        padding: 8px 30px;
    }

    #Rellmar-Logo {
        height: 108px;
        left: 48px;
    }

    .nav-links li {
        margin-left: 28px;
    }

    .nav-links a {
        font-size: 16px;
        letter-spacing: 0.2px;
    }

    .nav-links .contact-link {
        padding: 9px 22px;
    }
}

.Big-Hello-Text h1 {
    margin: 0;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 50px;

}

.Hero {
    max-width: 1280px;
    margin: 15vh auto 48px;
    padding: 0 64px;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    min-height: 560px;

}

.Elise-Image {
    position: absolute;
    top: -24px;
    right: 64px;
    width: auto;
    height: clamp(360px, 38vw, 500px);
    margin: 0;
    display: block;
}

.Big-Hello-Text,
.Hero p,
.CV-download,
.Media-Buttons {
    max-width: 50%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    color: #0D2948;
    background-color: #3f577d;
    background-image: url('Images/Bg-Picture.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 900px;
}

#hero,
#developer-projects,
#skills,
#contact-form {
    scroll-margin-top: 60px;
}

.CV-download button {
    background-color: #365476;
    border: none;
    border-radius: 10px;
    color: #F9FAFB;
    font-family: 'Hanken Grotesk', sans-serif;
    padding: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.CV-download button:hover {
    background-color: #2d4968;
    box-shadow: 0 0 0 3px rgba(13, 41, 72, 0.15);
}

.CV-download button a {
    color: #F9FAFB;
    display: inline-block;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 40px;
    text-decoration: none;
}

.Media-Buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 15px;

}

.Media-Buttons a {
    color: #0D2948;
    text-decoration: none;
    font-size: 40px;
}

.Media-Buttons .icon-link:hover {
    color: #365476;

}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Playfair Display', serif;
    color: #3f577d;
    font-weight: 600;
}

p {
    font-family: 'Hanken Grotesk', sans-serif;
}

.is-hidden {
    display: none !important;
}

.Developer-Projects h3,
.UX-projects h3 {
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.2;
    margin: 0 0 16px;
    color: #F8FBFF;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 3px 10px rgba(9, 55, 107, 0.45);
    position: relative;
    padding-bottom: 12px;
    width: 100%;
    text-align: center;
}

.Developer-Projects h3::after,
.UX-projects h3::after {
    content: "";
    display: block;
    width: 88px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 999px;
    background-color: rgba(248, 251, 255, 0.85);
}

.UX-projects {
    max-width: 1280px;
    margin: 64px auto 0;
    padding: 0 64px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.UX-projects-cards {
    list-style: none;
    margin: 8px auto 0;
    padding: 0;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
}

.UX-projects-cards li {
    margin: 0;
    padding: 0;
}

.UX-projects-cards article {
    width: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    border-radius: 14px;
    border: 1px solid rgba(13, 41, 72, 0.12);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(9, 55, 107, 0.18);
    cursor: pointer;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.UX-projects-cards article::after,
.Developer-Projects-cards article::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 38%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.UX-projects-cards article:hover,
.Developer-Projects-cards article:hover,
.UX-projects-cards article:focus-visible,
.Developer-Projects-cards article:focus-visible {
    transform: translateY(-7px);
    box-shadow: 0 18px 34px rgba(9, 55, 107, 0.28);
    border-color: rgba(54, 84, 118, 0.36);
}

.UX-projects-cards article:hover::after,
.Developer-Projects-cards article:hover::after,
.UX-projects-cards article:focus-visible::after,
.Developer-Projects-cards article:focus-visible::after {
    opacity: 1;
}

.UX-projects-cards article:focus-visible,
.Developer-Projects-cards article:focus-visible {
    outline: 3px solid rgba(248, 251, 255, 0.9);
    outline-offset: 2px;
}

.UX-projects-cards img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.UX-projects-cards article:hover img,
.Developer-Projects-cards article:hover img,
.UX-projects-cards article:focus-visible img,
.Developer-Projects-cards article:focus-visible img {
    transform: scale(1.04);
    filter: saturate(1.06) contrast(1.03);
}

.UX-projects-cards h4 {
    margin: 0;
    padding: 10px 16px 0;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 600;
    color: #3f577d;
}

.UX-projects-cards p {
    margin: 0;
    padding: 8px 16px 20px;
    font-size: 28px;
    line-height: 1.05;
    color: #3f577d;
    font-weight: 400;
}

.card-read-more {
    display: block;
    width: fit-content;
    margin: 0 auto 14px 16px;
    padding: 7px 12px;
    border: 1px solid rgba(54, 84, 118, 0.65);
    border-radius: 999px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #365476;
    background-color: rgba(248, 251, 255, 0.78);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.project-card:hover .card-read-more,
.project-card:focus-visible .card-read-more {
    background-color: #365476;
    border-color: #365476;
    color: #f8fbff;
}

.Developer-Projects {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 64px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3f577d;
}

@media (min-width: 1500px) {
    .Developer-Projects {
        margin: clamp(52px, 6vh, 88px) auto 0;
        background-color: transparent;
    }
}

.Developer-Projects-cards {
    list-style: none;
    margin: 12px auto 0;
    padding: 0;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
}

.Developer-Projects-cards li {
    margin: 0;
    padding: 0;
}

.Developer-Projects-cards article {
    width: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    border-radius: 14px;
    border: 1px solid rgba(13, 41, 72, 0.12);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(9, 55, 107, 0.18);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body.card-open{
    overflow:hidden;
}
.project-pop-up{
    position:fixed;
    inset:0;
    display: none;
    z-index: 2000;
}

.project-pop-up[aria-hidden="false"]{
    display: block;
}

.project-card__overlay{
    position:absolute;
    inset:0;
    background-color: rgba(13, 41, 72, 0.55);
}

.project-card__dialog{
    position:relative;
    width: min(620px, calc(100% - 32px));
    margin:10vh auto 0;
    background-color: #f2f3f5;
    padding: 24px;
    box-shadow:0 14px 30px rgba(9, 55, 107, 0.3);
    box-sizing: border-box;
}
.project-card__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: #365476;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.project-pop-up h4 {
    margin: 0 0 12px;
    font-size: 36px;
    color: #0D2948;
}
.project-pop-up p {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    color: #27486a;
}

.project-card__github {
    display: inline-block;
    margin-top: 22px;
    text-decoration: none;
    background-color: #365476;
    color: #f8fbff;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 18px;
    transition: background-color 0.2s ease;
}

.project-card__github:hover {
    background-color: #2d4968;
}

.Developer-Projects-cards img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.Developer-Projects-cards h4 {
    margin: 0;
    padding: 10px 16px 20px;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 600;
    color: #3f577d;
}

.Skills {
    width: 100%;
    margin: 64px 0 0;
    background-color: #7095B7;
    border-top: 1px solid rgba(248, 251, 255, 0.2);
}

.Skills-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 64px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Skills h2 {
    font-size: 38px;
    margin: 0 0 20px;
    color: #0D2948;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-align: center;
}

.Skills p {
    margin: 0 0 14px;
    color: #F8FBFF;
}

.skill-category {
    margin-bottom: 2rem;
    width: 100%;
}

.skill-category h3 {
    margin-bottom: 1rem;
    font-size: 30px;
    font-weight: 600;
    color: #0D2948;
    text-align: center;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 1 140px;
    padding: 1rem;
    background: #3f577d;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #F8FBFF;
    border: 1px solid transparent;
    box-shadow: 0 6px 14px rgba(13, 41, 72, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.skill-item:hover {
    transform: translateY(-6px);
    background-color: #46618b;
    border-color: rgba(248, 251, 255, 0.45);
    box-shadow: 0 12px 22px rgba(13, 41, 72, 0.35);
}

.skill-item:hover i,
.skill-item:hover img {
    transform: scale(1.08);
}


.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #F8FBFF;
    transition: transform 0.28s ease;
}

.skill-item img {
    width: 2rem;
    height: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.skill-item span {
    text-align: center;
    font-family: 'Hanken Grotesk', sans-serif;
}

@media (max-width: 1024px) {
    .Skills-content {
        padding: 24px 24px;
    }

    .skill-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .skill-item {
        flex: 1 1 150px;
        max-width: 170px;
        width: 100%;
        min-height: 108px;
        padding: 0.9rem;
    }
}

@media (max-width: 700px) {
    .Skills-content {
        padding: 22px 16px;
    }

    .skill-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .skill-item {
        flex: 1 1 120px;
        max-width: 160px;
        width: 100%;
        min-height: 96px;
        padding: 0.8rem;
    }

    .skill-item i,
    .skill-item img {
        font-size: 1.7rem;
        width: 1.7rem;
        height: 1.7rem;
        margin-bottom: 0.4rem;
    }
}

.Testimonials {
    width: 100%;
    margin: 0;
    background-color: #7095B7;
}

.Testimonials-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 64px 24px;
    box-sizing: border-box;
}

.Testimonials h2 {
    margin: 0 0 20px;
    font-size: 38px;
    color: #0D2948;
    text-align: center;
    
}

.Testimonials-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.Testimonials-cards article {
    background-color: #f2f3f5;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(9, 55, 107, 0.2);
    height: 100%;
    box-sizing: border-box;
    border-radius: 8px;
}

.Testimonials .text {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.4;
}

.Testimonials .person {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0D2948;
}

.Testimonials .role {
    margin: 4px 0 0;
    font-size: 16px;
}

.Testimonials .text,
.Testimonials .role {
    color: #365476;
}

.testimonial-person {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.testimonial-person .person,
.testimonial-person .role {
    margin: 0;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #365476;
    padding: 2px;
    background-color: #f2f3f5;
}

@media (max-width: 960px) {
    .Testimonials-cards {
        grid-template-columns: 1fr;
    }
}


.Contact-Form {
    width: 100%;
    margin: 0;
    background-color: #7095B7;
}

.Contact-Form-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px 64px;
    box-sizing: border-box;
}

.Contact-Form h2 {
    font-size: 36px;
    line-height: 1.5;
    margin: 0 auto 20px;
    color: #0D2948;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    width: 100%;
    max-width: 600px;
    text-align: left;
    
}

.Contact-Form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;

}

.Contact-Form input,
.Contact-Form textarea {
    width: 100%;
    padding: 12px 14px;
    border: none;
    box-sizing: border-box;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
}

.Contact-Form input:focus,
.Contact-Form textarea:focus {
    outline: none;
    border-color: #365476;
}

.Contact-Form .input-error {
    border: 2px solid rgb(176, 21, 21);
}

.Contact-Form .form-error {
    display: none;
    margin: -8px 0 0;
    width:100%;
    min-height: 0;
    color: rgb(176, 21, 21);
    background-color:#f2f3f5;
    border-left: 4px solid rgb(176, 21, 21);
    padding:6px 10px;
    box-sizing: border-box;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight:600;
    line-height:1.30;
}

.Contact-Form .form-error:not(:empty) {
    display: block;
}

.Contact-Form .form-status {
    margin: 2px 0 0;
    min-height: 22px;
    color: #0D2948;
    font-size: 15px;
    font-weight: 600;
}

.Contact-Form .form-status--success {
    color: green;
}

.Contact-Form button {
    background-color: #0D2948;
    text-align: center;
    color: #F9FAFB;
    font-size: 15px;
    font-family: 'Hanken Grotesk', sans-serif;
}

.Contact-Form button:hover {
    background-color: #365476;
    box-shadow: 0 0 0 3px rgba(13, 41, 72, 0.15);
}

@media (max-width: 700px) {
    .project-card__dialog {
        margin-top: 14vh;
        padding: 22px;
    }

    .project-pop-up h4 {
        font-size: 30px;
    }

    .project-pop-up p {
        font-size: 17px;
    }
}

@media (max-width: 960px) {
    #hero,
    #developer-projects,
    #skills,
    #contact-form {
        scroll-margin-top: 88px;
    }

    .navbar {
        padding: 10px 14px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        overflow: visible;
        background-color: rgba(243, 243, 246, 0.96);
        border-bottom: 1px solid rgba(13, 41, 72, 0.12);
        box-shadow: 0 6px 16px rgba(13, 41, 72, 0.12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    #Rellmar-Logo {
        display: none;
    }

    .nav-links {
        float: none;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .nav-links li {
        display: block;
        margin-left: 0;
    }

    .nav-links a {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.2px;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid rgba(54, 84, 118, 0.2);
        background-color: rgba(255, 255, 255, 0.62);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        color: #0D2948;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .nav-links .contact-link {
        color: #F9FAFB;
        background: linear-gradient(135deg, #365476 0%, #2c4665 100%);
        border: 1px solid rgba(13, 41, 72, 0.22);
        padding: 8px 16px;
        border-radius: 999px;
        box-shadow: 0 6px 14px rgba(13, 41, 72, 0.18);
        transform: none;
    }

    .nav-links .contact-link:hover,
    .nav-links .contact-link:focus-visible {
        color: #F9FAFB;
        background: linear-gradient(135deg, #3f5f84 0%, #304c6d 100%);
        box-shadow: 0 10px 18px rgba(13, 41, 72, 0.22);
    }
     body {
        background-size: cover;
        background-position: top center;
    }

    .Hero {
        margin: 4vh auto 48px;
        padding: 0 24px;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .Big-Hello-Text {
        margin-top: 10px;
        margin-bottom: 8px;
        padding-left: 10px;
        border-left: 3px solid rgba(54, 84, 118, 0.7);
    }

    .Big-Hello-Text h1 {
        font-size: clamp(36px, 10vw, 46px);
        line-height: 1.15;
        letter-spacing: 0.2px;
    }

    .Big-Hello-Text h1 + h1 {
        margin-top: 2px;
        color: #2b496a;
    }

    .Big-Hello-Text,
    .Hero p,
    .Contact,
    .Media-Buttons {
        max-width: 100%;
    }

    .Elise-Image {
        position: static;
        display: block;
        width: min(320px, 100%);
        height: auto;
        margin: 8px 0 0;
        order: 10;
    }

    .Developer-Projects {
        margin: 0 auto;
        padding: 20px 24px 28px;
    }

    .UX-projects {
        margin-top: 0;
        padding: 28px 24px 0;
    }
.Developer-Projects-cards,
    .UX-projects-cards,
    .Testimonials-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .Developer-Projects-cards li,
    .UX-projects-cards li,
    .Testimonials-cards li {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .Developer-Projects-cards img,
    .UX-projects-cards img {
        height: 220px;
    }

    .Developer-Projects-cards h4,
    .UX-projects-cards h4 {
        font-size: 26px;
    }

    .UX-projects-cards p {
        font-size: 20px;
    }
    .Testimonials-cards article {
        padding: 18px;
    }

    .Testimonials .text {
        font-size: 18px;
    }

    .Contact-Form-content {
        padding: 0 24px 40px;
    }

    .Contact-Form form {
        background-color: #f2f3f5;
        padding: 20px;
        box-sizing: border-box;
        box-shadow: 0 6px 16px rgba(9, 55, 107, 0.22);
    }

    .Contact-Form h2 {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .card-read-more {
        font-size: 15px;
        padding: 10px 16px;
        margin: 0 16px 16px auto;
    }

}

@media (max-width: 700px) {
    .footer-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }
}

.footer {
    width: 100%;
    background-color: #0D2948;
    padding: 32px 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #f3f3f6;
    font-size: 26px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #7095B7;
}

.footer-copy {
    margin: 0;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    color: #7095B7;
    flex: 1;
    text-align: right;
}

#Ängelholm-Weather {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    color: #f3f3f6;
    flex: 1;
    min-width: 0;
}

.weather-text {
    min-width: 0;
    line-height: 1.35;
}

.weather-description {
    margin-left: 4px;
}

@media (max-width: 900px) {
    .weather-description {
        margin-left: 2px;
    }
}

@media (max-width: 760px) {
    .footer-content {
        padding: 0 20px;
    }

    #Ängelholm-Weather {
        font-size: 13px;
    }

    .weather-description {
        display: block;
        margin-left: 0;
    }

    .footer-links {
        gap: 14px;
    }
}

.footer-links {
    flex: 0 0 auto;
}

.weather-icon {
    width: 28px;
    height: 28px;
}

@media (max-width: 1024px) {
    .navbar {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background-color: rgba(243, 243, 246, 0.96);
        border-top: 1px solid rgba(13, 41, 72, 0.15);
        border-bottom: none;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -10px 24px rgba(13, 41, 72, 0.16);
        overflow: visible;
    }

    #Rellmar-Logo {
        display: none;
    }

    .nav-links {
        float: none;
        margin: 0;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
    }

    .nav-links li {
        display: block;
        margin-left: 0;
        flex: 1 1 0;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        padding: 10px 8px;
        border-radius: 12px;
        border: 1px solid rgba(54, 84, 118, 0.2);
        background-color: rgba(255, 255, 255, 0.72);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .contact-link {
        padding: 10px 8px;
        border-radius: 12px;
        box-shadow: none;
    }

    .footer {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    .nav-links a {
        font-size: 13px;
        padding: 9px 6px;
    }
}