/* =========================
   Global Reset
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%; /* full viewport height */
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: linear-gradient(
        to right,
        #041d16 0%,
        #0b3d2e 15%,
        #0b3d2e 85%,
        #041d16 100%
    );

    color: #fff;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
}

/* =========================
   Header
========================= */
header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 20px;

    background: linear-gradient(
        to right,
        #041d16 0%,
        #0b3d2e 15%,
        #0b3d2e 85%,
        #041d16 100%
    );

    color: white;
}

.header-h1 {
    position: absolute;
    left: 50%;
    margin-top: 120px;
    transform: translateX(-50%);
    text-align: center;
    font-size: 28px;
    font-family: 'Assassin', sans-serif;
    color: burlywood;
    letter-spacing: 3px;
}

.header-h1 .numbers {
    font-family: 'MarcellusSC', serif;
    color: burlywood;
    font-size: 0.8em;
}

.header-h1 h1 {
    font-size: clamp(20px, 4vw, 56px);
}

@font-face {
  font-family: 'Assassin';
  src: url('/fonts/Assassin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Left section: hamburger + logo */
.header-left {
    position: fixed;
    left: 100px;
    z-index: 1002; /* above overlay */
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

/* Center section: perfectly centered title */
.header-center {
    position: absolute;
    left: 50%;
    margin-top: 40px;
    transform: translateX(-50%);
    text-align: center;
}

.header-center h1 {
    margin: 0;
    font-size: 28px;
}

/* Right section: logo */
.header-right {
    position: fixed;
    right: 20px;   /* 👈 mirror of left */
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

/* Right section: space to balance header */
/* Logo */
.logo-small {
    height: 50px;
    margin-top: 60px;
}

/* =========================
   Hamburger Menu
========================= */

/* Menu container */
.menu-container {
    position: relative;
}

/* Hamburger Button (fixed on top-left) */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    padding: 10px 14px;
    border: none;
    border-radius: 5px;
    background: #1f6b4f;
    color: white;
    cursor: pointer;
    font-size: 26px;
}

.menu-toggle:hover {
    background: #2f8a69;
}

/* Side Menu Panel */
.menu {
    position: fixed;
    top: 0;
    left: -260px; /* hidden by default */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 260px;
    height: 100%;
    padding-top: 80px;
    background: #0b3d2e;
    transition: left 0.3s ease;
}

.menu.active {
    left: 0;
}

/* Top links */
.menu-links {
    display: flex;
    flex-direction: column;
}

.menu-links a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
}

.menu-links a:hover {
    background: #14563f;
}

/* Bottom pinned links */
.menu-bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto; /* push to bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-bottom a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
}

.menu-bottom a:hover {
    background: #14563f;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: none;
    background: rgba(0, 0, 0, 0.45);
}

.menu-overlay.active {
    display: block;
}

/* =========================
   Main Content
========================= */
main {
    flex: 1; /* expand to push footer down */
    margin-top: 80px;
    padding: 40px 20px;
    text-align: center;
}

main h1 {
    margin-top: 1px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'MarcellusSC', sans-serif;
    color: tan;
    letter-spacing: 2px;
}

main h2 {
    font-family: 'MarcellusSC', sans-serif;
    color: tan;
    letter-spacing: 2px;
}

main h3 {
    max-width: 1300px;
    width: 80%;
    margin: 20px auto;
    text-align: center;
    line-height: 1.8;
}

@font-face {
  font-family: 'MarcellusSC';
  src: url('/fonts/MarcellusSC.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

main p {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 15px;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.6;
}

.logo-main {
    width: clamp(180px, 40vw, 550px);
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* =========================
   Footer
========================= */
footer {
    flex-shrink: 0; /* sticky at bottom */
    padding: 20px;

    background: linear-gradient(
        to right,
        #041d16 0%,
        #0b3d2e 15%,
        #0b3d2e 85%,
        #041d16 100%
    );

    color: white;
    text-align: center;
}

footer a {
    margin: 0 6px;
    color: #9fd8c3;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-inner {
    margin-top: 10px;
    font-size: 14px;
}

/* =========================
   Media Embeds (YouTube, etc.)
========================= */
.video-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.video-container iframe {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

/* =========================
   Reports / Blog
========================= */
.report-card {
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

.report-card h2 {
    margin: 0 0 10px;
}

.report-log {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.report-entry {
    margin-bottom: 40px;
}

.report-entry img {
    display: block;
    max-width: 100%;
    margin: 10px 0;
}

.blog-post {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.blog-post p {
    margin: 5px 0;
    text-align: center;
}

/* =========================
   Main Layout
========================= */
.fishing-updates {
    width: min(50%, 900px);
    margin: 20px auto;
}

.fishing-updates h2 {
    margin-top: 100px;
    margin-bottom: 20px;
    font-size: 50px;
    font-family: 'MarcellusSC', serif;
    color: burlywood;
}

/* =========================
   Gear Setups
========================= */
.gear-setups #setup-container {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

/* Category titles */
.gear-setups #setup-container h3 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 2.2rem;
    text-align: center;
    font-family: 'MarcellusSC', serif;
    color: burlywood;
}

/* Lists (no bullets) */
.gear-setups #setup-container ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 34px;
}

/* List items */
.gear-setups #setup-container li {
    margin-bottom: 4px;
}

/* Setup name */
.setup-name {
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.25em;
    font-family: 'MarcellusSC', serif;
    color: burlywood;
}

/* Description (wider) */
.gear-setups .setup-description {
    max-width: 900px;
    margin-top: 14px;
    margin-bottom: 50px;
}

/* =========================
   Season Container (if used elsewhere)
========================= */
.gear-setups #season-container {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.gear-setups #season-container h3 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 2.2rem;
    text-align: center;
    font-family: 'MarcellusSC', serif;
    color: burlywood;
}

.gear-setups #season-container ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 34px;
}

.gear-setups #season-container li {
    margin-bottom: 4px;
}

.gear-setups #season-container ul ul {
    padding-left: 0;
    margin-left: 0;
}

/* =========================
   Updates Container
========================= */
#updates-container {
    width: 100%;
    margin-top: 20px;
}

/* =========================
   Pressure Widget
========================= */
#pressure-widget {
    margin-top: 40px;
    text-align: center;
}

#current-pressure {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

#pressure-trend {
    margin-bottom: 15px;
    font-style: italic;
}

.chart-container {
    width: 100%;
    height: 400px;
    margin: 20px auto;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 10px;
}

/* =========================
   Forecast
========================= */
#forecast {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.forecast-card {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

.best-day {
    border: 2px solid green;
    background: rgba(0, 128, 0, 0.08);
}

/* =========================
   Mobile Adjustments
========================= */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .header-left {
        position: fixed;
        top: 10px;
        left: 70px; /* sits right beside hamburger */
        margin-top: 0;
    }

    .header-right {
        position: fixed;
        top: 10px;
        right: 20px; /* sits right beside hamburger */
        margin-top: 0;
    }

    .header-center {
        position: static;
        margin-top: 0;
        transform: none;
        text-align: center;
    }

    .header-h1 {
        position: static;
        margin-top: 0;
        padding-top: 10px;
        transform: none;
        text-align: center;
    }

    .logo-small {
        height: 40px;
        margin-top: 10px;
    }

    .logo-main {
        width: clamp(250px, 80vw, 650px);
    }

    main {
        padding: 20px 15px;
    }

    .fishing-updates {
        width: 100%;
    }

    .menu-toggle {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 22px;
    }

    .menu {
        left: -220px;
        width: 220px;
    }

    #reports {
        width: 95%;
        gap: 20px;
    }

    .report-entry {
        padding: 15px;
    }

    .report-entry h3 {
        font-size: 1.3rem;
    }

    .report-meta {
        font-size: 1rem;
    }

    .chart-container {
        height: 280px;
  }

    #forecast {
    flex-direction: column; /* 👈 stack instead of row */
  }

  .forecast-card {
    width: 100%;
  }
}
