/* style.css - Final für Fischereiverein Muster */
:root {
    --primary-color: #3C8D0D;
    --secondary-color: #003366;
    --accent-color: #FFA726;
    --bg-color: #F9F9F9;
    --text-color: #333333;
    --footer-bg: #113639;
    --footer-accent: #b5e3e0;
}

* { margin:0; padding:0; box-sizing:border-box; }
html,body { height:100%; }
body { 
    font-family: 'Open Sans', sans-serif; 
    color: var(--text-color);
    background: var(--bg-color);
    scroll-behavior: smooth;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%;height: auto; display: block; }

/* Header */
header {
    background: var(--primary-color);
    color: #fff;
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: nowrap;
}
header h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    white-space: nowrap;
    margin-right: 10px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
    align-items: center;
}
nav ul li a {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding: 6px 4px;
    white-space: nowrap;
    font-size: 0.95rem;
}
nav ul li a::after {
    content: '';
    height: 2px;
    width: 0;
    background: var(--accent-color);
    position: absolute;
    bottom: -6px;
    left: 0;
    transition: width 0.25s;
}
nav ul li a:hover::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger div { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* Hero */
.hero {
    background: url('https://source.unsplash.com/1600x600/?lake,fishing') center/cover no-repeat fixed;
    height: 60vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-content {
    display: flex;
    gap: 36px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}
.hero-text {
    flex: 1;
    color: #333;
}
.hero-text h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 34px;
    margin-bottom: 12px;
}
.hero-text p { color: #333; margin: 10px 0 18px; font-size: 1.05rem;}
.hero-image { flex: 1; display:flex; justify-content:center; }
.hero-image img { border-radius: 10px; box-shadow: 0 10px 26px rgba(0,0,0,0.45); transition: transform 0.3s; }
.hero-image img:hover { transform: scale(1.03); }

/* Buttons */
.btn {
    background: var(--secondary-color);
    padding: 12px 22px;
    color: #fff;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn:hover { background: var(--accent-color); color: #000; transform: translateY(-3px); }

/* Sections */
section { padding: 56px 6%; }
section h2 {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
}
.text-block { max-width: 920px; margin: auto; font-size: 17px; line-height: 1.7; color: var(--text-color); }

/* Grid / Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; }
.gallery img { border-radius:8px; transition: transform 0.3s ease; }
.gallery img:hover { transform: scale(1.04) rotate(0.6deg); cursor: pointer; }

/* Fade-In */
.fade-in { opacity: 0; transform: translateY(18px); transition: all 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Form */
.form { display:flex; flex-direction:column; gap:12px; max-width:520px; margin-top:12px; }
.form input, .form textarea {
    padding:10px 12px; border-radius:6px; border:1px solid #ddd; font-size:1rem;
}
.form button { width:fit-content; }

/* Footer 3-col */
.footer-3col {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    padding: 36px 6%;
    background: var(--footer-bg);
    color: #fff;
    flex-wrap: wrap;
}
.footer-col { flex:1; min-width:200px; }
.footer-col h4 { color: var(--footer-accent); margin-bottom:8px; font-size:1.05rem; }
.footer-col a { color: var(--footer-accent); text-decoration:none; display:inline-block; margin:6px 0; }
.footer-col a:hover { text-decoration:underline; }
.footer-logo { text-align:right; }
.footer-logo h2 { font-size:2rem; margin:0; }

/* Lightbox */
#lightbox { position:fixed; inset:0; background:rgba(0,0,0,0.82); display:flex; justify-content:center; align-items:center; opacity:0; pointer-events:none; transition:opacity 0.28s ease; z-index:300; }
#lightbox.show { opacity:1; pointer-events:auto; }
#lightbox img { max-width:92%; max-height:92%; border-radius:10px; box-shadow:0 25px 60px rgba(0,0,0,0.6); }

/* Responsive */
@media (max-width: 1024px) {
    nav ul { display:none; position:absolute; right:12px; top:66px; background:var(--primary-color); padding:14px; border-radius:6px; flex-direction:column; gap:10px; }
    nav ul.show { display:flex; }
    .hamburger { display:flex; }
    .hero-content { flex-direction:column; }
    .footer-logo { text-align:center; }
    .footer-3col { text-align:center; }
}
@media (max-width:480px) {
    header { padding:14px; }
    header h1 { font-size:18px; }
    .hero { height:52vh; }
    .hero-text h2 { font-size:22px; }
    section { padding:40px 6%; }
}
#start {
    padding-top: 300px;
}
#about {
    padding-top: 120px;
}