/* -----------------------------------------------------------------------------
 * Little Fish Tours - Homepage polish
 * ---------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------
 * Global: header/navbar — white bar with dark labels
 * ---------------------------------------------------------------------------*/
.wp-site-blocks > .wp-block-group.alignfull.has-paper-background-color:first-of-type,
header.wp-block-template-part .wp-block-group.has-paper-background-color {
    background-color: #ffffff !important;
    border-bottom-color: rgba(0,0,0,0.08) !important;
    border-bottom-width: 1px !important;
}
/* Nav labels: black, lime on hover */
header.wp-block-template-part .wp-block-navigation-item__label,
.wp-site-blocks > .wp-block-group.alignfull.has-paper-background-color:first-of-type .wp-block-navigation-item__label {
    color: #000000;
    transition: color 0.15s ease;
}
header.wp-block-template-part .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.wp-site-blocks > .wp-block-group.alignfull.has-paper-background-color:first-of-type .wp-block-navigation-item__content:hover .wp-block-navigation-item__label {
    color: #98d46f;
}
/* Submenu card: white with soft border/shadow, black text */
header.wp-block-template-part .wp-block-navigation__submenu-container,
.wp-site-blocks > .wp-block-group.alignfull.has-paper-background-color:first-of-type .wp-block-navigation__submenu-container {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* Submenu chevrons */
header.wp-block-template-part .wp-block-navigation__submenu-icon svg,
.wp-site-blocks > .wp-block-group.alignfull.has-paper-background-color:first-of-type .wp-block-navigation__submenu-icon svg {
    stroke: #000000;
}

/* 3-column header layout: logo (left) | wordmark (centre) | nav (right).
 * The wordmark is the WP site-title block; we absolutely-centre it so the
 * flex row stays honest with the logo + nav. */
header.wp-block-template-part .lf-header-row {
    position: relative;
    align-items: center;
}
header.wp-block-template-part .lf-header-wordmark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    white-space: nowrap;
    pointer-events: auto;
}
header.wp-block-template-part .lf-header-wordmark a {
    color: #000000;
    text-decoration: none;
    transition: color 0.15s ease;
}
header.wp-block-template-part .lf-header-wordmark a:hover {
    color: #98d46f;
}
/* On small screens hide the wordmark so nothing collides with the mobile menu. */
@media (max-width: 780px) {
    header.wp-block-template-part .lf-header-wordmark { display: none; }
}
/* Logo image: black-on-transparent, no filter needed. */
header.wp-block-template-part .wp-block-site-logo img,
.wp-site-blocks > .wp-block-group.alignfull.has-paper-background-color:first-of-type .wp-block-site-logo img {
    display: block;
    height: auto;
}


/* Tour cards */
.lf-tour-card {
    --lf-card-radius: 14px;
    display: block;
    background: #fff;
    border-radius: var(--lf-card-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.lf-tour-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    transform: translateY(-3px);
}
.lf-tour-card:hover .lf-tour-card__media img {
    transform: scale(1.04);
}
.lf-tour-card__body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 140px;
}
.lf-tour-card__name {
    font-family: var(--wp--preset--font-family--cormorant, serif);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.15;
    margin: 0;
    color: inherit;
}
.lf-tour-card__headline {
    margin: 0;
    color: #6b6b6b;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
}
.lf-tour-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(0,0,0,0.07);
    font-size: 0.9rem;
}
.lf-tour-card__price {
    font-weight: 700;
    color: #000000;
    font-variant-numeric: tabular-nums;
}
.lf-tour-card__cta {
    color: #6b6b6b;
    letter-spacing: 0.02em;
    transition: color 0.15s ease;
}
.lf-tour-card:hover .lf-tour-card__cta { color: #ace584; }

/* Hero polish - override the block-cover on the home page */
.home .wp-block-cover.alignfull,
.page-id-6 .wp-block-cover.alignfull:first-of-type {
    min-height: min(85vh, 720px) !important;
    max-height: 900px;
}
.home .wp-block-cover.alignfull .wp-block-cover__inner-container {
    max-width: 900px;
    padding: 0 1rem;
}
.home .wp-block-cover.alignfull h1.wp-block-heading {
    font-size: clamp(2rem, 2rem + 2.5vw, 4rem) !important;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.home .wp-block-cover.alignfull p {
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem);
    line-height: 1.55;
    max-width: 620px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.home .wp-block-cover.alignfull .wp-block-button__link {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    background: #ace584;
    color: #0e2a05 !important;
    border-radius: 999px;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 20px rgba(172,229,132,0.4);
}
.home .wp-block-cover.alignfull .wp-block-button__link:hover {
    background: #98d46f;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(172,229,132,0.5);
}

/* Trust strip */
.lf-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 2.5rem;
    padding: 1.5rem 1rem;
    color: #6b6b6b;
    font-size: 0.9rem;
    text-align: center;
    background: #faf8f4;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.lf-trust__item { display: inline-flex; align-items: center; gap: 0.4rem; }
.lf-trust__item strong { color: #111; font-weight: 700; }
.lf-trust__stars { color: #f5a623; letter-spacing: 0.1em; font-size: 1rem; }

/* Section headings */
.lf-section-head {
    text-align: center;
    max-width: 700px;
    margin: 3.5rem auto 1.5rem;
    padding: 0 1rem;
}
.lf-section-head h2 {
    font-family: var(--wp--preset--font-family--cormorant, serif);
    font-weight: 700;
    font-size: clamp(1.7rem, 1.5rem + 1.5vw, 2.6rem);
    margin: 0 0 0.5rem;
    line-height: 1.15;
}
.lf-section-head p {
    color: #6b6b6b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Feature block (why us) */
.lf-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1080px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}
.lf-feature {
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.lf-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.lf-feature__icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.lf-feature__title {
    font-family: var(--wp--preset--font-family--cormorant, serif);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.4rem;
}
.lf-feature__body { color: #6b6b6b; margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* Private tours callout */
.lf-callout {
    background: linear-gradient(135deg, #ace584 0%, #98d46f 100%);
    color: #0e2a05;
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 3rem 0 0;
    border-radius: 0;
}
.lf-callout h2 {
    color: #0e2a05;
    font-family: var(--wp--preset--font-family--cormorant, serif);
    font-weight: 700;
    font-size: clamp(1.7rem, 1.5rem + 1.5vw, 2.6rem);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}
.lf-callout p {
    max-width: 620px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
}
.lf-callout .wp-block-button__link,
.lf-callout__cta {
    display: inline-block;
    background: #0e2a05;
    color: #ace584;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.lf-callout__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* Final CTA */
.lf-final {
    padding: 4rem 1.5rem;
    text-align: center;
    background: #faf8f4;
}
.lf-final h2 {
    font-family: var(--wp--preset--font-family--cormorant, serif);
    font-weight: 700;
    font-size: clamp(1.6rem, 1.4rem + 1.2vw, 2.2rem);
    margin: 0 0 1rem;
}
.lf-final p { color: #6b6b6b; margin: 0 0 1.5rem; }
.lf-final__cta {
    display: inline-block;
    background: #ace584;
    color: #0e2a05;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 18px rgba(172,229,132,0.35);
}
.lf-final__cta:hover {
    background: #98d46f;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(172,229,132,0.5);
}

/* Remove the awkward "Home" title, top spacer, and cramped max-width on home */
.home .wp-block-post-title,
.page-id-6 .wp-block-post-title { display: none; }
.home main.wp-block-group,
.page-id-6 main.wp-block-group { margin-top: 0 !important; }
.home main .wp-block-group.alignfull:first-of-type,
.page-id-6 main .wp-block-group.alignfull:first-of-type {
    padding-top: 0 !important;
}

/* Constrain intro paragraph nicely */
.home .alignwide > .wp-block-paragraph,
.home .wp-block-group.alignwide > p {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

/* Reviews */
.lf-reviews-wrap {
    padding: 4rem 1.5rem;
    background: #faf8f4;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.lf-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1080px;
    margin: 2rem auto 0;
}
.lf-review {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1.75rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.lf-review:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.lf-review__quote-mark { display: none; }
.lf-review__stars {
    color: #f5a623;
    letter-spacing: 0.1em;
    font-size: 1rem;
}
.lf-review__tour {
    font-family: var(--wp--preset--font-family--cormorant, serif);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
    color: #0e2a05;
}
.lf-review__body {
    font-style: italic;
    color: #333;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}
.lf-review__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.85rem;
    color: #6b6b6b;
}
.lf-review__author { font-weight: 700; color: #333; }
.lf-review__source { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.lf-reviews-cta {
    text-align: center;
    margin-top: 2rem;
}
.lf-reviews-cta a {
    color: #6b6b6b;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.lf-reviews-cta a:hover {
    color: #75c53f;
    border-bottom-color: #ace584;
}

@media (max-width: 600px) {
    .lf-callout { padding: 2.5rem 1rem; }
    .lf-final   { padding: 3rem 1rem; }
    .lf-reviews-wrap { padding: 3rem 1rem; }
}
