/* Grundinställningar & Typsnitt */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2c3e55;
    background-color: #ffffff;
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #111b47;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigering */
#header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1350px;
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu li a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #111b47;
    letter-spacing: 0.6px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #5b9bd5;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #111b47;
    cursor: pointer;
}

/* Knappar (Pillerformade som på bilderna) */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-blue {
    background-color: #5b9bd5;
    color: #ffffff;
}

.btn-blue:hover {
    background-color: #4682b8;
    color: #ffffff;
}

.btn-orange {
    background-color: #f39c2b;
    color: #ffffff;
}

.btn-orange:hover {
    background-color: #db891e;
    color: #ffffff;
}

/* Hero - Startsida */
.hero-home {
    background-image: url('files/westcoast.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
}

.hero-home-content {
    max-width: 550px;
    color: #ffffff;
}

.hero-home-content .intro {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero-home-content h1 {
    color: #ffffff;
    font-size: 56px;
    line-height: 1.08;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-home-content p.subtitle {
    font-size: 17px;
    margin-bottom: 28px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero-buttons .btn {
    min-width: 185px;
}

/* Hero - Undersidor */
.hero-subpage {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-subpage h1 {
    color: #ffffff;
    font-size: 60px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Sektioner & Mellanrum */
.section-spacer {
    padding: 75px 0;
}

/* Startsida - Introtext & Logotyper */
.welcome-box {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.welcome-box h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.welcome-box p {
    font-size: 16px;
    color: #2c3e55;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin: 65px auto;
    max-width: 1000px;
}

.logos-grid a img {
    max-height: 95px;
    width: auto;
    object-fit: contain;
}

/* Startsida - Tjänstekort (3 boxar med bakgrundsbild och text över) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.service-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
    transition: background 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-card:hover::after {
    background: rgba(0, 0, 0, 0.48);
}

.service-card-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    max-width: 320px;
}

.service-card-content h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.service-card-content p {
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.45;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.service-card-content a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
    font-size: 15px;
}

/* Två-kolumnslayout (Båtuthyrning & Husbåtshotell) */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.two-col-grid.align-top {
    align-items: start;
}

.content-text h3 {
    font-size: 26px;
    margin-bottom: 16px;
}

.content-text p {
    margin-bottom: 18px;
}

/* Centrerat CTA-block (Logga + Blå knapp) */
.cta-center-block {
    text-align: center;
    margin-top: 50px;
}

.cta-center-block img {
    max-width: 240px;
    margin: 0 auto 30px auto;
}

/* Kontaktsida & Formulär */
.contact-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-header p {
    margin-bottom: 14px;
    color: #111b47;
}

.contact-header a {
    color: #5b9bd5;
    text-decoration: underline;
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label.field-label {
    display: block;
    font-weight: 700;
    color: #111b47;
    margin-bottom: 8px;
    font-size: 15px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 14px;
    top: 16px;
    color: #4a5568;
    font-size: 16px;
}

.input-icon-wrap input,
.input-icon-wrap textarea {
    width: 100%;
    padding: 13px 15px 13px 42px;
    border: 1px solid #d2d6dc;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
}

.input-icon-wrap input:focus,
.input-icon-wrap textarea:focus {
    outline: none;
    border-color: #5b9bd5;
}

.input-icon-wrap textarea {
    height: 115px;
    resize: vertical;
}

/* Sidfot (Footer) */
#footer {
    background-color: #141946;
    color: #ffffff;
    padding: 65px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.footer-logo img {
    max-width: 220px;
}

.footer-contact p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact a:hover {
    color: #5b9bd5;
}

/* Responsiv anpassning för mobil & surfplatta */
@media (max-width: 900px) {
    .header-inner {
        padding: 12px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        gap: 18px;
    }

    .nav-menu.open {
        display: flex;
    }

    .hero-home-content h1,
    .hero-subpage h1 {
        font-size: 40px;
    }

    .logos-grid,
    .services-grid,
    .two-col-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }
}