
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #102a35;
    --navy2: #062330;
    --teal: #176c6a;
    --aqua: #6ed6ce;
    --paper: #f4f5f1;
    --muted: #64748b;
    --line: #dce5e7;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--navy);
    background: var(--paper);
    line-height: 1.6;
}

a {
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

h1, h2, h3, p {
    margin-top: 0;
}

/* NAVIGATION */
.navbar {
    min-height: 76px;
    padding: 16px 5%;
    background: var(--navy2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 3;
}

.brand {
    font-weight: 800;
    letter-spacing: 2px;
    color: white;
    font-size: 23px;
    white-space: nowrap;
}

.brand-mark {
    color: var(--aqua);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #e8f4f5;
    font-size: 12px;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--aqua);
}

.nav-cta {
    border: 1px solid var(--aqua);
    border-radius: 30px;
    padding: 8px 18px;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: white;
    border: 0;
    font-size: 24px;
    cursor: pointer;
}

/* HERO AND MAIN IMAGE */
.hero {
    min-height: 490px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 65px 5%;
    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(3, 30, 43, .94) 0%,
            rgba(3, 30, 43, .72) 42%,
            rgba(3, 30, 43, .08) 100%
        ),
        url('../images/fishing-pond.jpg')
        center / cover no-repeat;
}

.hero-content {
    max-width: 590px;
}

.eyebrow {
    color: #16a8a5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.hero .eyebrow {
    color: var(--aqua);
}

.hero h1 {
    font-size: clamp(35px, 5vw, 58px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero h1 span {
    color: var(--aqua);
    display: block;
}

.hero-content > p:not(.eyebrow) {
    max-width: 510px;
    color: #e3eff0;
    font-size: 14px;
}

/* BUTTONS */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background: var(--aqua);
    color: var(--navy);
    border: 0;
    border-radius: 30px;
    padding: 14px 24px;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    cursor: pointer;
    transition: .3s ease;
}

.button:hover {
    filter: brightness(.94);
    transform: translateY(-2px);
}

.button-outline {
    background: transparent;
    border: 1px solid var(--teal);
    color: var(--teal);
}

.button-light {
    background: white;
}

.hero-note {
    position: absolute;
    right: 5%;
    bottom: 28px;
    color: white;
    font-style: italic;
    font-size: 23px;
    line-height: 1.2;
    text-shadow: 0 2px 8px #000;
}

.hero-note strong {
    color: var(--aqua);
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 30px 5%;
    background: white;
}

.features article {
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid var(--line);
    padding-right: 14px;
}

.features article:last-child {
    border: 0;
}

.feature-icon {
    font-size: 32px;
    color: var(--teal);
}

.features h3 {
    font-size: 13px;
    margin-bottom: 4px;
}

.features p {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
}

/* ABOUT SECTION */
.section {
    padding: 70px 5%;
}

.about {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
}

.pond-photo {
    min-height: 330px;
    border-radius: 15px;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, .1),
            transparent
        ),
        url('../images/fishing-pond.jpg')
        center / cover no-repeat;
}

.about-copy h2,
.section-heading h2,
.booking-banner h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
}

.about-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
    font-size: 14px;
    color: var(--muted);
}

/* FISHING SESSIONS */
.spots {
    background: #edf3f2;
}

.section-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 32px;
}

.spot-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.spot-card {
    background: white;
    border: 1px solid var(--line);
    padding: 26px;
    border-radius: 14px;
    transition: .3s ease;
}

.spot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px #102a3510;
}

.spot-number {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #d7f4ef;
    color: var(--teal);
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.spot-card h3 {
    margin-bottom: 6px;
}

.spot-card p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 0;
}

.center {
    text-align: center;
}

/* BOOKING BANNER */
.booking-banner {
    background: var(--navy);
    color: white;
    padding: 45px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.booking-banner h2 {
    margin-bottom: 10px;
}

.booking-banner p:not(.eyebrow) {
    color: #c9d9dd;
    margin-bottom: 0;
}

/* FOOTER */
.footer {
    padding: 35px 5%;
    background: #061c26;
    color: #c5d5d9;
    text-align: center;
    font-size: 12px;
}

.footer .brand {
    display: inline-block;
    margin-bottom: 10px;
}

.footer p {
    margin-bottom: 6px;
}

.footer small {
    color: #8fa8af;
}

/* LOGIN AND REGISTER */
.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 60px 18px 30px;
    background: linear-gradient(135deg, #062330, #176c6a);
}

.auth-back {
    position: absolute;
    top: 22px;
    left: 5%;
    color: white;
    font-size: 13px;
}

.auth-card {
    width: min(440px, 100%);
    padding: 36px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 20px 60px #00131c66;
}

.auth-brand {
    display: block;
    color: var(--navy);
    margin-bottom: 26px;
}

.auth-card h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 24px;
}

.form-stack label {
    font-size: 12px;
    font-weight: 700;
    margin-top: 7px;
}

.form-stack input,
.form-stack select,
.inline-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    background: white;
}

.form-stack input:focus,
.form-stack select:focus {
    outline: 2px solid var(--aqua);
    border-color: var(--teal);
}

.form-stack .button {
    width: 100%;
    margin-top: 15px;
}

.form-stack small {
    font-size: 11px;
    color: var(--muted);
}

.auth-switch {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin: 24px 0 0;
}

.alert {
    padding: 12px 15px;
    border-radius: 9px;
    margin: 16px 0;
    font-size: 13px;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

.success {
    background: #d1fae5;
    color: #065f46;
}

.full {
    width: 100%;
}

/* BOOKING PAGES */
.page-shell {
    width: min(1200px, 92%);
    margin: 45px auto 75px;
}

.page-heading {
    margin-bottom: 26px;
}

.page-heading h1 {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 8px;
}

.page-heading > p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(280px, .85fr)
                           minmax(380px, 1.15fr);
    gap: 22px;
    align-items: start;
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 8px 28px #102a3508;
}

.panel h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.availability-panel > .muted {
    font-size: 12px;
}

.spot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
    margin: 22px 0;
}

.spot-tile {
    padding: 12px 3px;
    border-radius: 9px;
    text-align: center;
    border: 1px solid;
}

.spot-tile span {
    display: block;
    font-weight: 800;
    font-size: 15px;
}

.spot-tile small {
    display: block;
    font-size: 9px;
}

.spot-tile.available {
    background: #e0f7ef;
    border-color: #a4dfc8;
    color: #12654e;
}

.spot-tile.booked {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.legend {
    display: flex;
    gap: 20px;
    font-size: 11px;
    color: var(--muted);
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 5px;
}

.available-dot {
    background: #26a879;
}

.booked-dot {
    background: #dc4545;
}

.fine-print {
    font-size: 10px;
    color: var(--muted);
    margin: 18px 0 0;
}

/* TABLES */
.table-wrap {
    overflow-x: auto;
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.table-wrap th,
.table-wrap td {
    padding: 13px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.table-wrap th {
    background: var(--navy);
    color: white;
}

.table-wrap tr:last-child td {
    border-bottom: 0;
}

.table-sub {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}

/* BOOKING STATUS */
.status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* ADMIN ACTIONS */
.small-button {
    border: 0;
    background: var(--teal);
    color: white;
    border-radius: 6px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.danger-button {
    background: #b91c1c;
}

.inline-form {
    display: flex;
    gap: 6px;
    align-items: center;
    min-width: 150px;
}

.inline-form select {
    min-width: 105px;
    padding: 7px;
}

.delete-form {
    margin-top: 6px;
}

/* DASHBOARD */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.stat-card {
    background: white;
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: 12px;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.stat-card strong {
    font-size: 30px;
}

.table-wrap > h2 {
    margin-bottom: 20px;
}

/* RESPONSIVE TABLET */
@media (max-width: 850px) {
    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .features article:nth-child(2) {
        border-right: 0;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pond-photo {
        min-height: 280px;
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* RESPONSIVE MOBILE */
@media (max-width: 620px) {
    .navbar {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        min-height: 510px;
        padding-top: 55px;
        padding-bottom: 80px;
        background-position: 58% center;
    }

    .hero-note {
        font-size: 18px;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 24px 6%;
        gap: 18px;
    }

    .features article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 14px;
    }

    .features article:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 48px 6%;
    }

    .spot-cards {
        grid-template-columns: 1fr;
    }

    .booking-banner {
        padding: 35px 6%;
    }

    .auth-card {
        padding: 27px 22px;
    }

    .page-shell {
        margin-top: 30px;
    }

    .panel {
        padding: 18px;
    }

    .spot-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }

    .spot-tile {
        padding: 9px 2px;
    }

    .spot-tile small {
        font-size: 8px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 13px;
    }

    .stat-card strong {
        font-size: 24px;
    }
}
