/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    color: #1f2933;
    background-color: #000; /* eller transparent */
}

/* GLOBAL */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}
/* NAVBAR */
.navbar {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 1.5rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.nav-content nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-content nav a {
    margin-left: 1rem;
    font-weight: 500;
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-content nav a:hover {
    text-decoration: none;
    border-bottom: 2px solid white;
}



.btn-outline {
    border: 1px solid white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VIDEO */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* BUTTONS */
.btn-primary {
    background: #2f6f4e;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: -80px;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
}

/* CTA */
.cta {
    background: transparent;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p{
    margin-bottom:2rem;
}
/* FOOTER */
.footer {
    background: rgba(12, 28, 20, 0.85);
    color: white;
    padding: 2.5rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.footer-left p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Navigation */
.footer-nav a {
    margin: 0 0.8rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Social icons */
.footer-social a {
    font-size: 1.2rem;
    margin-left: 0.8rem;
    opacity: 0.85;
}

.footer-social a:hover {
    opacity: 1;
}



/* -------------------------- catch section */
.latest-catches {
    margin-top: 5rem;
}

.latest-catches h2{
    color:#ffff;
}

.latest-catches h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffff;
}

.catch-btn{
    color: white;
    background: #2f6f4e;
    border: 1px solid white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    width:100%;
}

.catches-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.catch-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.catch-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
}

.catch-image img {
    width: 100%;
    display: block;
}

.catch-info {
    padding: 1rem;
}

.catch-actions {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #444;
}

.map-placeholder {
    background: #dfe6e0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: 500;
}

main {
    background: url("../assets/martin.jpg") center/cover no-repeat;
    position: relative;
    padding: 6rem 0;
    isolation: isolate;
}
main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 42, 30, 0.45) 0%,
        rgba(18, 42, 30, 0.65) 40%,
        rgba(18, 42, 30, 0.85) 100%
    );
    z-index: 0;
}

main > * {
    position: relative;
    z-index: 1;
}

/* HAMBURGERMENY */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.1rem 0.3rem;
    margin-left: auto;
}

/* MOBILANPASSNING */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    .navbar {
        padding: 1rem 0;
        z-index: 1000;
    }

    .hamburger {
        display: block;
    }

    .nav-content {
        flex-wrap: wrap;
        align-items: center;
    }

    #mainNav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: rgba(18, 42, 30, 0.97);
        border-radius: 12px;
        margin-top: 0.75rem;
        overflow: hidden;
    }

    #mainNav.nav-open {
        display: flex;
    }

    #mainNav a {
        margin-left: 0;
        padding: 0.9rem 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 1rem;
    }

    #mainNav a:last-child {
        border-bottom: none;
    }

    .btn-outline {
        border: none;
        padding: 0.9rem 1.25rem;
        border-radius: 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .catches-layout {
        grid-template-columns: 1fr;
    }

    .features {
        margin-top: 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}