/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --secondary-color: #000000;
    /* Black for text on white */
    --background-color: #253562;
    /* User specified dark blue */
    --accent-color: #e0f7fa;
    /* Light teal background */
    --text-color: #f4f4f4;
    /* Light text for dark bg */
    --white: #ffffff;
    --max-width: 1200px;
    --header-height: 90px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff9800;
    /* Orange color */
    color: var(--white);
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: #e68a00;
    /* Darker orange on hover */
    color: #555;
}

/* Header */
header {
    background-color: var(--white);
    /* Explicitly white as requested */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Anpassa efter headerns höjd */
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--secondary-color);
    /* Dark color on white header */
}

nav a:hover {
    color: #555;
    transition: color 0.3s;
}

nav a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid #ff9800;
    padding-bottom: 5px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    /* Ensure visibility on white header */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
        padding: 10px;
        font-size: 2rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: transparent;
    color: var(--white);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.text-link-white {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.text-link-white:hover {
    color: #ff9800;
}

/* Footer */
footer {
    background-color: var(--background-color);
    color: var(--white);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
}

.footer-social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social-links a[aria-label="Instagram"] svg {
    width: 28px;
    height: 28px;
}

.footer-social-links a {
    color: var(--white);
    transition: color 0.3s, transform 0.3s;
    display: flex;
}

.footer-social-links a:hover {
    color: #ff9800;
    transform: translateY(-2px);
}

.footer-partner img {
    height: 35px;
    width: auto;
    display: block;
}

.footer-contact {
    text-align: right;
}

.footer-contact h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--white);
    font-weight: bold;
}

.footer-contact p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: normal;
}

.footer-link:hover {
    color: #ff9800;
    text-decoration: underline;
}

/* Footer Layout Structure */
.footer-left {
    flex: 1;
    text-align: left;
}

.footer-center {
    flex: 0 0 auto;
    text-align: center;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.footer-partner a {
    display: inline-block;
    transition: transform 0.3s, filter 0.3s;
}

.footer-partner a:hover {
    transform: translateY(-2px);
}

.footer-partner a:hover img {
    filter: brightness(0) saturate(100%) invert(56%) sepia(61%) saturate(2586%) hue-rotate(359deg) brightness(102%) contrast(106%);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
        text-align: center;
        justify-content: center;
        flex: auto;
    }

    .footer-right {
        flex-direction: column;
        gap: 20px;
    }

    .footer-contact {
        text-align: center;
        order: -1;
    }

    .footer-social-links {
        justify-content: center;
        gap: 25px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    flex: 1;
    animation: fadeIn 0.6s ease-out forwards;
}