/* ==== BAS ==== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background-color: #fafafa;
}

img {
    max-width: 100%;
    display: block;
}

/* ==== HEADER & NAV ==== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #111;
    color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
}

.logo img {
    height: 70px;
    width: auto;
	background-color: #ffffff;
	padding: 0.5rem 1.5rem;
	border-radius: 25px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #f8f8f8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: #f0c24b;
}

/* Hamburgermeny */

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: 1rem;
    cursor: pointer;
}

.menu-icon .bar {
    width: 26px;
    height: 3px;
    background-color: #f8f8f8;
    border-radius: 2px;
}

/* Liten animation till menyikonen */
.menu-icon.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}
.menu-icon.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==== KNAPPAR ==== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
                transform 0.1s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #f0c24b;
    color: #111;
    border-color: #f0c24b;
}

.btn-primary:hover {
    background-color: #ffd465;
    border-color: #ffd465;
}

.btn-ghost {
    background-color: transparent;
    color: #f8f8f8;
    border-color: #f8f8f8;
}

.btn-ghost:hover {
    background-color: #f8f8f8;
    color: #111;
}

.full-width {
    width: 100%;
}

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

.hero {
    padding: 3rem 1.5rem 3.5rem;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-inner h1 {
    font-size: 2.3rem;
    margin: 0.4rem 0 0.75rem;
}

.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: #c09d3b;
    margin: 0;
}

.hero-text {
    margin: 0 0 1.5rem;
    color: #555;
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Hero-bilder */

.hero-gallery {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ==== TRUST-DEL ==== */

.trust {
    background-color: #111;
    color: #f8f8f8;
    padding: 2.5rem 1.5rem;
}

.trust-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.trust-inner h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.trust-inner p {
    margin: 0;
    color: #ddd;
}

/* ==== TJÄNSTER ==== */

.services {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.services h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.4rem 1.4rem 1.2rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

/* ==== PROCESS ==== */

.process {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}

.process h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.4rem 1.4rem 1.2rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    position: relative;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f0c24b;
    color: #111;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==== CTA-strip ==== */

.cta-strip {
    background-color: #f0c24b;
    color: #111;
    padding: 2.5rem 1.5rem;
}

.cta-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.cta-inner p {
    margin-top: 0;
    margin-bottom: 1.3rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ==== KONTAKT-LAYOUT ==== */

.contact-layout {
    max-width: 1000px;
    margin: 2.5rem auto 3rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-info-block h1 {
    margin-top: 0;
}

.contact-info-block p {
    color: #555;
}

.contact-details p {
    margin: 0.4rem 0;
}

.contact-details a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-note {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #666;
}

.contact-side-block {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.4rem 1.4rem 1.6rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.6rem;
    margin-bottom: 1.5rem;
}

/* ==== GALLERI ==== */

.gallery-page {
    max-width: 1100px;
    margin: 2.5rem auto 3rem;
    padding: 0 1.5rem;
}

.gallery-header h1 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.gallery-header p {
    margin-top: 0;
    color: #555;
}

.gallery {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* Modal för stora bilder */

.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 1rem;
}

.modal.visible {
    display: flex;
}

.modal img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

/* ==== FOOTER ==== */

.site-footer {
    padding: 1.5rem 1.5rem 1.8rem;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* ==== EMBLEM ==== */

.emblem {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 140px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    padding: 4px;
}

/* ==== RESPONSIVT ==== */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #111;
        flex-direction: column;
        width: 220px;
        padding: 0.75rem 1rem 1rem;
        gap: 0.5rem;
        display: none;
    }

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

    .menu-icon {
        display: flex;
    }

    .hero {
        padding-top: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-inner h1 {
        font-size: 1.9rem;
    }

    .emblem {
        width: 60px;
    }
	
	.hero-gallery{
		grid-template-columns: 1fr;
	}
}
.sponsor-banner {
    position: absolute;
	left: 5%;
    display: inline-block;
}

.sponsor-banner img {
    display: block;
    max-width: 300px;
}

.sponsor-banner span {
    position: absolute;
    top: -5%;
    left: -25%;
    transform: rotate(-18deg);
    padding: 8px 20px;
    background: rgba(0,0,0,0.6);
    color: #FF4040;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.partner-section {
    background: #ffffff;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.partner-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
	
}

.partner-logos img {
    height: 60px;
    width: auto;
    filter: grayscale(100%) brightness(0.7) contrast(1.9);
    opacity: 0.7;
    transition: opacity 0.2s ease;
	border-radius: 10px;
}

.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}