/*
Theme Name: Hook Up Charter
Theme URI: https://hookupcharters.com
Author: Hook Up Charter
Description: Custom WordPress theme for Hook Up Charter Inshore Fishing, Hatteras NC. Fully editable via Appearance > Customize.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hookup-charter
*/

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-navy:   #1A2B3C;
    --color-orange: #f04d05;
    --color-orange2:#c16005;
    --color-white:  #ffffff;
    --color-light:  #F9FAFB;
    --color-grey:   #4B5563;
    --color-border: #ddd;
    --font-heading: 'Roboto', 'Roboto Condensed', sans-serif;
    --font-body:    'Open Sans', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: #111;
    background: #fff;
    line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Layout ───────────────────────────────────────────────────── */
.u-sheet {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ── Skip link ────────────────────────────────────────────────── */
.skip-link {
    position: absolute; left: -9999px;
    background: var(--color-navy); color: #fff;
    padding: 8px 16px; z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ────────────────────────────────────────────────────────────────
   HEADER
   ──────────────────────────────────────────────────────────────── */
#site-header {
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky; top: 0; z-index: 1000;
    width: 100%;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 10px 20px;
    max-width: 1140px;
    margin: 0 auto;
    gap: 20px;
}
.site-logo img { height: 64px; width: auto; display: block; }
.site-logo a { display: block; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav ul { list-style: none; display: flex; gap: 0; }
.site-nav ul li a {
    display: block;
    padding: 17px 20px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: #111;
    transition: color .2s;
    white-space: nowrap;
}
.site-nav ul li a:hover,
.site-nav ul li a.current-page { color: var(--color-orange); }

/* Book Now button */
.btn-book-now {
    background: var(--color-orange);
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: background .2s;
    border: none; cursor: pointer; display: inline-block;
}
.btn-book-now:hover { background: var(--color-orange2); }

/* Hamburger */
.hamburger-btn {
    display: none;
    background: none; border: none;
    cursor: pointer; padding: 8px;
    flex-direction: column; gap: 5px;
}
.hamburger-btn span {
    display: block; width: 24px; height: 2px;
    background: var(--color-navy); transition: all .3s;
}

/* Mobile nav */
.mobile-nav {
    display: none;
    background: var(--color-navy);
    position: absolute; top: 100%; left: 0; right: 0;
    z-index: 999;
}
.mobile-nav ul { list-style: none; padding: 10px 0; }
.mobile-nav ul li a {
    display: block; padding: 14px 24px;
    color: #fff; font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav ul li a:hover { background: rgba(255,255,255,0.1); }
.mobile-nav .btn-book-now {
    display: block; margin: 16px 24px; text-align: center; padding: 12px;
}
.mobile-nav.open { display: block; }

@media (max-width: 900px) {
    .site-nav { display: none; }
    .hamburger-btn { display: flex; }
    #site-header { position: sticky; }
}

/* ────────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────────── */
#site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
#site-footer h2 {
    font-size: 2rem; margin-bottom: 16px; color: #fff;
}
#site-footer h5 {
    font-size: 1rem; font-weight: 400; margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
}
#site-footer .footer-phone {
    font-size: 1.5rem; font-weight: 700;
    color: var(--color-orange); margin-bottom: 20px;
}
#site-footer .footer-phone a { color: var(--color-orange); }
#site-footer .footer-copy {
    font-size: 0.875rem; color: rgba(255,255,255,0.6);
    margin-top: 10px;
}
#site-footer .footer-email a {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
    font-size: 1rem;
}

/* ────────────────────────────────────────────────────────────────
   REUSABLE COMPONENTS
   ──────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--color-orange);
    color: #fff; font-weight: 700;
    padding: 12px 36px; border-radius: 6px;
    font-size: 0.9375rem;
    transition: background .2s;
    border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--color-orange2); color: #fff; }

.section-banner {
    background: linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)) center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}
.section-banner h1, .section-banner h2 {
    font-size: 2.5rem; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 12px; color: #fff;
}
.section-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.9); }

/* ────────────────────────────────────────────────────────────────
   HOME PAGE
   ──────────────────────────────────────────────────────────────── */

/* Hero */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.50),rgba(0,0,0,0.50)) center/cover no-repeat;
    min-height: 520px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff; padding: 80px 20px;
}
.hero-content { max-width: 700px; }
.hero-content h1 {
    font-size: 2.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 20px; color: #fff;
}
.hero-content p {
    font-size: 1.2rem; margin-bottom: 30px;
    color: rgba(255,255,255,0.92);
}
@media (max-width: 600px) {
    .hero-content h1 { font-size: 1.9rem; }
}

/* Good Times band */
.home-tagline {
    background: var(--color-navy);
    color: #fff; text-align: center;
    padding: 60px 20px;
}
.home-tagline h2 {
    font-family: 'Roboto Condensed', var(--font-heading);
    font-size: 2.2rem; color: #fff; margin-bottom: 16px;
    text-transform: uppercase;
}
.home-tagline p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto; }

/* Experience strip */
.home-experience {
    background: var(--color-light);
    padding: 60px 20px;
}
.home-experience h2 {
    font-family: 'Roboto Condensed', var(--font-heading);
    font-size: 2rem; color: var(--color-navy);
    text-transform: uppercase; margin-bottom: 12px;
}
.home-experience p { color: var(--color-grey); max-width: 600px; }
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: center;
}
.experience-img img {
    width: 100%; border-radius: 8px;
    object-fit: cover; height: 380px;
}
@media (max-width: 768px) {
    .experience-grid { grid-template-columns: 1fr; }
    .experience-img img { height: 240px; }
}

/* Pricing table */
.home-pricing {
    padding: 70px 20px;
    background: #fff;
}
.home-pricing h2 {
    text-align: center; font-size: 1.8rem;
    color: var(--color-navy); margin-bottom: 30px;
    text-transform: uppercase; letter-spacing: 1px;
}
.pricing-table-wrap { max-width: 860px; margin: 0 auto; }
.pricing-table {
    width: 100%; border-collapse: collapse;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.pricing-table th {
    background: var(--color-navy); color: #fff;
    font-family: var(--font-heading);
    padding: 18px; text-align: left; font-size: 1rem;
}
.pricing-table td {
    padding: 15px; border-bottom: 1px solid #eee;
    color: var(--color-grey); font-size: 0.95rem;
}
.pricing-table tr:nth-child(even) td { background: var(--color-light); }
.pricing-table .price-cell {
    font-weight: 700; color: var(--color-navy); font-size: 1.05rem;
}
.pricing-footnote {
    text-align: center; margin-top: 16px;
    font-size: 0.875rem; color: #6B7280; font-style: italic;
}
@media (max-width: 600px) {
    .pricing-table thead { display: none; }
    .pricing-table tr { display: block; margin-bottom: 16px; border: 1px solid var(--color-navy); }
    .pricing-table td { display: block; text-align: right; padding-left: 50%; position: relative; }
    .pricing-table td::before {
        content: attr(data-label);
        position: absolute; left: 15px;
        font-weight: 700; text-transform: uppercase;
        font-size: 0.8rem; color: var(--color-navy);
    }
}
.home-pricing .btn-primary { display: block; width: fit-content; margin: 40px auto 0; }

/* ────────────────────────────────────────────────────────────────
   CAPTAIN JOHN PAGE
   ──────────────────────────────────────────────────────────────── */
.captain-bio-section { padding: 70px 20px; }
.captain-bio-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: start;
}
.captain-photo img {
    width: 100%; border-radius: 8px;
    object-fit: cover; object-position: top;
    min-height: 480px;
}
.captain-text h2 {
    font-size: 1.9rem; color: var(--color-navy);
    margin-bottom: 20px;
}
.captain-text p { color: var(--color-grey); margin-bottom: 1.2em; line-height: 1.8; }

.captain-boat-section {
    background: var(--color-navy); color: #fff;
    padding: 70px 20px;
}
.captain-boat-section h2 {
    text-align: center; font-size: 2rem; color: #fff;
    margin-bottom: 12px; text-transform: uppercase;
}
.captain-boat-section > .u-sheet > p {
    text-align: center; color: rgba(255,255,255,0.85);
    max-width: 600px; margin: 0 auto 40px;
}
.boat-features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.boat-feature {
    background: rgba(255,255,255,0.08);
    border-radius: 8px; padding: 24px;
    text-align: center;
}
.boat-feature strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.boat-feature span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

@media (max-width: 768px) {
    .captain-bio-grid { grid-template-columns: 1fr; }
    .captain-photo img { min-height: 300px; }
    .boat-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .boat-features { grid-template-columns: 1fr; }
}

.captain-cta {
    background: var(--color-light); text-align: center;
    padding: 60px 20px;
}
.captain-cta p { font-size: 1.1rem; color: var(--color-grey); margin-bottom: 24px; }
.captain-gallery-strip {
    padding: 50px 20px;
    background: #fff;
}
.captain-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.captain-gallery-grid img {
    width: 100%; border-radius: 12px;
    object-fit: cover; height: 220px;
}

/* ────────────────────────────────────────────────────────────────
   TRIPS & PRICING PAGE
   ──────────────────────────────────────────────────────────────── */
.trips-intro {
    background: #fff; padding: 60px 20px; text-align: center;
}
.trips-intro p {
    max-width: 700px; margin: 0 auto;
    color: var(--color-grey); font-size: 1.05rem;
}
.trips-grid-section { padding: 20px 20px 70px; background: #fff; }
.trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}
.trip-card {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow .2s;
}
.trip-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.trip-card h4 {
    font-size: 1rem; color: var(--color-navy);
    margin-bottom: 16px; line-height: 1.4;
    min-height: 48px;
}
.trip-card .trip-price {
    color: var(--color-grey); font-size: 0.9rem; line-height: 1.8;
}
@media (max-width: 900px) {
    .trips-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 550px) {
    .trips-grid { grid-template-columns: 1fr; }
}
.trips-cta {
    background: var(--color-navy); color: #fff;
    text-align: center; padding: 60px 20px;
}
.trips-cta h3 { font-size: 1.6rem; margin-bottom: 16px; color: #fff; }
.trips-cta p { color: rgba(255,255,255,0.85); margin-bottom: 8px; font-size: 1.1rem; }
.trips-cta a.cta-phone { color: var(--color-orange); font-size: 1.4rem; font-weight: 700; }
.trips-cta a.cta-email { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* ────────────────────────────────────────────────────────────────
   WHAT TO BRING PAGE
   ──────────────────────────────────────────────────────────────── */
.bring-section { padding: 70px 20px; }
.bring-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}
.bring-list { list-style: none; }
.bring-list li {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 0; border-bottom: 1px solid var(--color-border);
}
.bring-list li:last-child { border-bottom: none; }
.bring-list .bring-icon {
    font-size: 1.6rem; flex-shrink: 0; margin-top: 2px;
}
.bring-list .bring-label {
    font-weight: 700; color: var(--color-navy);
}
.bring-list .bring-desc { color: var(--color-grey); font-size: 0.95rem; }

.included-box {
    background: var(--color-navy); color: #fff;
    border-radius: 10px; padding: 32px 28px;
}
.included-box h3 { font-size: 1.4rem; margin-bottom: 6px; color: #fff; }
.included-box .included-sub {
    font-size: 0.9rem; color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}
.included-list { list-style: none; }
.included-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.included-list li:last-child { border-bottom: none; }
.included-list .check { color: #4ade80; font-size: 1.1rem; }

@media (max-width: 768px) {
    .bring-grid { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────────
   YOUR CATCH PAGE
   ──────────────────────────────────────────────────────────────── */
.fish-grid-section { padding: 60px 20px; }
.fish-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
}
.fish-card { text-align: center; }
.fish-card img {
    width: 100%; border-radius: 8px;
    height: 200px; object-fit: cover;
    margin-bottom: 14px;
}
.fish-card h3 { font-size: 1.2rem; color: var(--color-navy); margin-bottom: 8px; }
.fish-card p { font-size: 0.9rem; color: var(--color-grey); }
@media (max-width: 900px) { .fish-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .fish-grid { grid-template-columns: 1fr; } }

/* ────────────────────────────────────────────────────────────────
   GALLERY PAGE
   ──────────────────────────────────────────────────────────────── */
.gallery-section { padding: 60px 20px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1140px; margin: 0 auto;
}
.gallery-grid img {
    width: 100%; border-radius: 8px;
    object-fit: cover; height: 260px;
    transition: transform .3s;
}
.gallery-grid img:hover { transform: scale(1.02); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ────────────────────────────────────────────────────────────────
   WORDPRESS ALIGNMENT HELPERS
   ──────────────────────────────────────────────────────────────── */
.alignleft  { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: #666; text-align: center; margin-top: 6px; }

/* ────────────────────────────────────────────────────────────────
   BLOCK EDITOR – page content area
   ──────────────────────────────────────────────────────────────── */
.page-content-area {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
}

/* Block editor wide/full alignment */
.page-content-area .alignwide  { max-width: 1140px; margin-left: auto; margin-right: auto; }
.page-content-area .alignfull  { max-width: 100%; margin-left: 0; margin-right: 0; }

/* Groups used as section bands */
.page-content-area .wp-block-group { width: 100%; max-width: 100%; }
.page-content-area .wp-block-group.home-tagline { background: var(--color-primary); color: #fff; }
.page-content-area .wp-block-group.home-tagline h2,
.page-content-area .wp-block-group.home-tagline p { color: #fff; text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.page-content-area .wp-block-group.home-experience { background: var(--color-light); }
.page-content-area .wp-block-group.captain-boat-section { background: var(--color-primary); color: #fff; }
.page-content-area .wp-block-group.captain-boat-section h2,
.page-content-area .wp-block-group.captain-boat-section p { color: #fff; }

/* Columns inside page content */
.page-content-area .wp-block-columns { max-width: 1140px; margin-left: auto; margin-right: auto; }

/* Gallery inside page content */
.page-content-area .wp-block-gallery { max-width: 1140px; margin: 0 auto; }
.page-content-area .wp-block-gallery img { object-fit: cover; height: 180px; border-radius: 8px; }

/* Cover blocks */
.page-content-area .wp-block-cover { border-radius: 0; }

/* Buttons */
.page-content-area .wp-block-button__link {
    background: var(--color-accent);
    color: #fff;
    border-radius: 6px;
    padding: 10px 28px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.page-content-area .wp-block-button__link:hover { background: var(--color-accent-dark); }

/* Tables */
.page-content-area table { width: 100%; border-collapse: collapse; }
.page-content-area th { background: var(--color-primary); color: #fff; padding: 14px; text-align: left; }
.page-content-area td { padding: 12px 14px; border-bottom: 1px solid #eee; color: var(--color-muted); }

/* Separator */
.page-content-area .wp-block-separator { border-color: var(--color-border); margin: 32px auto; }
