/* Basis Reset & Globale Stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #865c00;
    overflow-x: hidden;
}

/* Rivier Achtergrond Systeem */
#river-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background-color: #6b4a0171; /* Lichte lucht kleur */
}

#water {
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 100%;
    background-color: #65c4e8;
    overflow: hidden;
}

.land {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: #8FBC8F;
    overflow: hidden;
}

#land-left {
    left: 0;
    width: 25%;
    clip-path: polygon(0% 0%, 90% 0%, 100% 5%, 95% 15%, 100% 25%, 92% 35%, 100% 45%, 96% 55%, 100% 65%, 93% 75%, 100% 85%, 95% 95%, 100% 100%, 0% 100%);
}
#land-left::before {
    content: ''; position: absolute; bottom: 0; height: 20px; width: 100%;
    background-color: rgba(85, 107, 47, 0.4); z-index: -1;
    right: 0;
    -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
    mask-image: linear-gradient(to left, black 70%, transparent 100%);
}

#land-right {
    right: 0;
    width: 25%;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 95%, 5% 85%, 0% 75%, 8% 65%, 0% 55%, 4% 45%, 0% 35%, 7% 25%, 0% 15%, 5% 5%);
}
#land-right::before {
    content: ''; position: absolute; bottom: 0; height: 20px; width: 100%;
    background-color: rgba(85, 107, 47, 0.4); z-index: -1;
    left: 0;
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

header#hero-section {
    height: 100vh; color: #fff; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 0 20px; position: relative; z-index: 0; background: transparent;
    padding-top: 80px; /* Account for fixed nav height */
}
nav {
    position: fixed; /* Changed to fixed */
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3); /* Slightly more opaque for fixed state */
    z-index: 1000; /* Ensure nav is above other content */
}
nav .logo { font-size: 1.8em; font-weight: bold; color: #fff; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 25px; }
nav ul li a { text-decoration: none; color: #fff; font-weight: 500; transition: color 0.3s ease; }
nav ul li a:hover { color: #65c4e8; }

.hero-content h1 { font-size: 3em; margin-bottom: 20px; animation: fadeInDown 1s ease-out; }
.hero-content p { font-size: 1.2em; margin-bottom: 30px; animation: fadeInUp 1s ease-out 0.5s; animation-fill-mode: backwards; }
.cta-button {
    background-color: #ff7f50; color: white; padding: 12px 25px;
    border: none; border-radius: 25px; text-decoration: none;
    font-size: 1.1em; font-weight: bold; cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-button:hover { background-color: #ff6347; transform: translateY(-2px); }

.content-section {
    padding: 60px 40px; margin: 40px auto; max-width: 900px; width: 85%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    position: relative; z-index: 1;
}
.content-section h2 { text-align: center; margin-bottom: 30px; font-size: 2.2em; color: #1a2b47; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.service-item {
    background-color: rgba(255,255,255,0.5); padding: 20px; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.service-item h3 { color: #2980b9; margin-bottom: 10px; }
#contact form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
#contact input, #contact textarea {
    padding: 12px; border: 1px solid rgba(200,200,200,0.5); border-radius: 5px;
    font-size: 1em; background-color: rgba(255,255,255,0.3); color: #333;
}
#contact input::placeholder, #contact textarea::placeholder { color: #555; }
#contact textarea { min-height: 120px; resize: vertical; }
footer { text-align: center; padding: 30px; background-color: #2c3e50; color: #ecf0f1; position: relative; z-index: 1; }

.fish { position: absolute; display: flex; align-items: center; z-index: 0; }
.fish-body { width: 30px; height: 18px; background-color: #ffaa00; border-radius: 50% / 50%; position: relative; z-index: 1; }
.fish-tail { width: 15px; height: 15px; background-color: #ff8c00; border-radius: 0 50% 50% 0 / 0 50% 50% 0; transform: translateX(-5px) rotate(0deg); transform-origin: left center; transition: transform 0.2s ease-in-out; }
.fish.silver .fish-body { background-color: #c0c0c0; } .fish.silver .fish-tail { background-color: #a9a9a9; }
.fish.green .fish-body { background-color: #5f9ea0; } .fish.green .fish-tail { background-color: #4f8a8c; }
.fish.orange .fish-body { background-color: #FFA500; } .fish.orange .fish-tail { background-color: #FF8C00; }
.fish.blueish .fish-body { background-color: #ADD8E6; } .fish.blueish .fish-tail { background-color: #87CEEB; }
.fish.small .fish-body { width: 20px; height: 12px; } .fish.small .fish-tail { width: 10px; height: 10px; transform: translateX(-3px); }
.fish.large .fish-body { width: 45px; height: 27px; } .fish.large .fish-tail { width: 22px; height: 22px; transform: translateX(-8px); }
@keyframes tail-wag { 0%, 100% { transform: translateX(-5px) rotate(-15deg); } 50% { transform: translateX(-5px) rotate(15deg); } }
.fish.swimming .fish-tail { animation: tail-wag 0.7s infinite ease-in-out; }
.fish.small.swimming .fish-tail { animation-name: tail-wag-small; animation-duration: 0.6s; }
.fish.large.swimming .fish-tail { animation-name: tail-wag-large; animation-duration: 0.8s; }

@keyframes tail-wag-small { 0%, 100% { transform: translateX(-3px) rotate(-15deg); } 50% { transform: translateX(-3px) rotate(15deg); } }
@keyframes tail-wag-large { 0%, 100% { transform: translateX(-8px) rotate(-15deg); } 50% { transform: translateX(-8px) rotate(15deg); } }


.scenery-element { position: absolute; z-index: 0; }

.tree .tree-trunk { 
    width: 80%; /* Narrower trunk */
    max-width: 30px; /* Prevent overly thick trunks */
    height: 90%; /* Slightly shorter than tree container */
    background-color: #8B4513; 
    border-radius: 5px 5px 0 0; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
}
.tree .tree-leaf { background-color: #2E8B57; border-radius: 50%; position: absolute; opacity: 0.85; }
.tree .tree-leaf.leaf1 { background-color: #3CB371; } .tree .tree-leaf.leaf2 { background-color: #228B22; }

.fisherman { width: 25px; height: 60px; z-index: 1; }
.fisherman .fisherman-body { width: 100%; height: 70%; background-color: #4682B4; border-radius: 10px 10px 5px 5px; position: absolute; bottom: 0; left: 0; }
.fisherman .fisherman-head {
    width: 15px; height: 15px; background-color: #FFDAB9; border-radius: 50%;
    position: absolute; top: -5px; left: 50%;
    transform: translateX(-50%);
}
.fisherman .fisherman-rod {
    width: 3px; height: 70px; background-color: #333; position: absolute;
    bottom: 15px;
    transform-origin: bottom center; 
    transition: transform 0.5s ease-out; z-index: 1;
}
.fisherman.facing-right .fisherman-rod, .fisherman:not(.facing-left) .fisherman-rod {
    left: calc(100% - 3px); 
    transform: rotate(-30deg);
}
.fisherman.facing-left .fisherman-rod {
    left: 0; 
    transform: rotate(30deg);
}


#fishing-line { width: 1px; background-color: #777; position: absolute; transform-origin: top center; transition: height 0.5s ease-out, transform 0.3s ease-out; z-index: -1; }
.fish.hooked { transition: transform 1s ease-in-out, top 1s ease-in-out, left 1s ease-in-out, opacity 0.5s ease-in-out; z-index: 5 !important; }
@keyframes fish-struggle { 0%, 100% { transform: rotate(0deg) translateX(0); } 25% { transform: rotate(-15deg) translateX(-5px) scaleX(var(--facing-direction,1)); } 50% { transform: rotate(15deg) translateX(5px) scaleX(var(--facing-direction,1)); } 75% { transform: rotate(-10deg) translateX(-3px) scaleX(var(--facing-direction,1)); } }
.fish.struggling { animation: fish-struggle 0.25s infinite; } 
.splash-particle { position: absolute; width: 5px; height: 5px; background-color: rgba(173, 216, 230, 0.7); border-radius: 50%; animation: splash-up 0.5s ease-out forwards; opacity: 0; z-index: 4; }
@keyframes splash-up { 0% { transform: translateY(0) scale(0.5); opacity: 1; } 100% { transform: translateY(-30px) scale(1); opacity: 0; } }

.bush .bush-leaf { background-color: #556B2F; border-radius: 50%; position: absolute; opacity: 0.9; }
.bush .bush-leaf.leaf1 { background-color: #6B8E23; } .bush .bush-leaf.leaf2 { background-color: #8FBC8F; opacity: 0.7; }

.grass-blade { width: 3px; background-color: #32CD32; border-radius: 3px 3px 0 0; position: absolute; bottom: 0; transform-origin: bottom center; animation: sway 3s infinite ease-in-out alternate; }
.grass-blade:nth-child(2n) { background-color: #228B22; animation-delay: 0.5s; }
.grass-blade:nth-child(3n) { animation-delay: 0.2s; }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }

.pebble { background-color: #A9A9A9; border-radius: 50%; position: absolute; opacity: 0.7; }
.pebble.light { background-color: #D3D3D3; } .pebble.dark { background-color: #696969; }

.bird { position: fixed; width: 30px; height: 20px; z-index: 20; } 
.bird-body { width: 12px; height: 8px; background-color: #555; border-radius: 50% 50% 30% 30% / 50% 50% 40% 40% ; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.bird-wing { width: 15px; height: 5px; background-color: #444; border-radius: 50% 0 0 50% / 100% 0 0 100%; position: absolute; top: 50%; transform-origin: right center; }
.bird-wing.left { transform: translateY(-50%) rotate(-20deg); animation: wing-flap-left 0.4s infinite alternate ease-in-out; }
.bird-wing.right { transform: translateY(-50%) rotate(20deg) scaleX(-1); animation: wing-flap-right 0.4s infinite alternate ease-in-out; transform-origin: right center; }
@keyframes wing-flap-left { 0% { transform: translateY(-50%) rotate(-10deg); } 100% { transform: translateY(-50%) rotate(-40deg); } }
@keyframes wing-flap-right { 0% { transform: translateY(-50%) rotate(10deg) scaleX(-1); } 100% { transform: translateY(-50%) rotate(40deg) scaleX(-1); } }

.boat {
    z-index: 1;
    position: absolute; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}
.boat-body {
    width: 100%;
    height: 100%;
    background-color: #A0522D;
    border-radius: 30% 30% 10px 10px / 60% 60% 10px 10px ;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(90deg); 
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.boat-motor {
    width: 15px;
    height: 25px;
    background-color: #666;
    border-radius: 3px 3px 0 0;
    position: absolute;
    top: -35px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.boat-motor::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #444;
    border-radius: 50%;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.boat-person {
    position: relative; 
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.boat-person.person1 { margin-bottom: 2px; }
.boat-person.person2 { margin-top: 2px; }

.boat-person .person-body {
    width: 12px;
    height: 18px;
    background-color: #007BA7;
    border-radius: 4px 4px 2px 2px;
}
.boat-person .person-head {
    width: 8px;
    height: 8px;
    background-color: #FFDBAC;
    border-radius: 50%;
    position: relative;
    top: -4px;
}

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    nav { padding: 15px 20px; }
    nav .logo { font-size: 1.6em; }
    header#hero-section { padding-top: 70px; } 
    .hero-content h1 { font-size: 2.2em; }
    /* nav ul { display: none; } */
    .content-section { width: 90%; padding: 40px 20px; }

    #water { left: 15%; width: 70%; }
    #land-left { width: 15%; clip-path: polygon(0% 0%, 80% 0%, 100% 10%, 85% 25%, 100% 40%, 90% 60%, 100% 80%, 80% 100%, 0% 100%); }
    #land-right { width: 15%; clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 80%, 10% 60%, 0% 40%, 15% 25%, 0% 10%);}

    .fisherman { width: 20px; height: 50px; }
    .fisherman .fisherman-rod { height: 55px; }
}

@media (max-width: 480px) {
    nav { padding: 10px 15px; }
    nav .logo { font-size: 1.4em; }
    nav ul { display: none; } 
    header#hero-section { padding-top: 60px; } 
    .hero-content h1 { font-size: 1.8em; }
    .hero-content p { font-size: 1em; }
    .cta-button { font-size: 0.9em; padding: 10px 20px; }
    .content-section h2 { font-size: 1.8em; }
    .service-grid { grid-template-columns: 1fr; }

    #water { left: 10%; width: 80%; }
    #land-left { width: 10%; clip-path: polygon(0% 0%, 70% 0%, 100% 20%, 80% 50%, 100% 80%, 70% 100%, 0% 100%); }
    #land-right { width: 10%; clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 80%, 20% 50%, 0% 20%); }

    .boat-motor {
        width: 10px;
        height: 18px; 
        top: -25px; 
    }
    .boat-motor::before {
        width: 6px;
        height: 6px;
        bottom: -3px;
    }
    .boat-person .person-body { width: 8px; height: 12px; }
    .boat-person .person-head { width: 6px; height: 6px; top: -3px; }
}