/* ==========================================================================
   Jack Bevan Carpentry - site.css
   Fonts: "Arvo" (headings, nav, buttons) / "Inter" (body)
   Flat, clean design - solid colours, no gradients/3D effects
   ========================================================================== */

:root {
    --brown-darkest: #2B1B0F;   /* footer, dark text on light */
    --brown-dark: #4A2C17;      /* primary brand brown */
    --brown-mid: #6B4226;       /* secondary brown */
    --brown-light: #8B5E34;     /* accent brown */
    --brown-pale: #C79A63;      /* highlight / hover */
    --cream: #FBF6EE;           /* light background */
    --cream-dark: #F0E4D3;
    --text-dark: #2B2018;
    --text-muted: #5B4A3C;
    --white: #FFFFFF;

    --font-heading: 'Arvo', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.65;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brown-darkest);
    line-height: 1.3;
}

h1 { font-size: 2.9rem; }
h2 { font-size: 2.1rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--brown-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brown-light);
}

.eyebrow {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brown-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-lead {
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-muted);
}

section {
    padding: 4.5rem 0;
}

/* ==========================================================================
   Buttons - flat, solid colour, minimal border
   ========================================================================== */

.btn-wood,
.btn-wood-outline,
.btn-wood-light {
    font-family: var(--font-heading);
    font-weight: 700;
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-wood {
    background: var(--brown-dark);
    color: var(--cream);
}

.btn-wood:hover {
    background: var(--brown-mid);
    color: var(--cream);
}

.btn-wood-outline {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
}

.btn-wood-outline:hover {
    background: var(--cream);
    color: var(--brown-dark);
}

.btn-wood-light {
    background: var(--cream);
    color: var(--brown-dark);
}

.btn-wood-light:hover {
    background: var(--brown-pale);
    color: var(--brown-darkest);
}

.btn-contact {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    background: var(--brown-dark);
    color: var(--cream) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.btn-contact:hover {
    background: var(--brown-mid);
}

/* ==========================================================================
   Top bar
   ========================================================================== */

.topbar {
    background: var(--brown-darkest);
    color: var(--cream-dark);
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-contact a {
    color: var(--cream-dark);
    margin-right: 1.5rem;
}

.topbar-contact a:hover,
.topbar-address {
    color: var(--brown-pale);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
    padding: 0;
    position: sticky;
  top: 0;
  z-index: 99999;
}

.logo {
    max-height: 80px;
    width: auto;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--brown-dark);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--brown-darkest);
    opacity: 0.65;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--cream);
    max-width: 750px;
}

.hero-content .eyebrow {
    color: var(--brown-pale);
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--cream-dark);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-img {
    width: 100%;
    border-radius: 4px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.about-points li {
    margin-bottom: 0.6rem;
}

.about-points i {
    color: var(--brown-dark);
    margin-right: 0.5rem;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-section {
    background: var(--cream-dark);
}

.service-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

@media(max-width:991px){
    .service-card img {
        height: 220px;
    }
}

.service-card-body {
    padding: 2rem 1rem;
}

.service-card-body h3 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

.service-card-body p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 4px;
}

.gallery-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* ==========================================================================
   Why choose us
   ========================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.why-item i {
    font-size: 1.5rem;
    color: var(--brown-dark);
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.why-img {
    width: 100%;
    border-radius: 4px;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
    background: var(--brown-dark);
    color: var(--cream);
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
}

.cta-banner p {
    color: var(--cream-dark);
    max-width: 550px;
    margin: 0 auto 1.5rem auto;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.contact-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.contact-list i {
    color: var(--brown-dark);
    width: 1.5rem;
    text-align: center;
    margin-right: 0.4rem;
}

.contact-form {
    background: var(--white);
    border-radius: 4px;
    padding: 2rem;
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form .form-control {
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
}

.contact-form .form-control:focus {
    border-color: var(--brown-dark);
    box-shadow: 0 0 0 0.15rem rgba(74, 44, 23, 0.12);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--brown-darkest);
    color: var(--cream-dark);
    padding: 3.5rem 0 0 0;
}

.site-footer h4 {
    color: var(--brown-pale);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer-logo {
    max-height: 55px;
}

.site-footer .tagline {
    font-family: var(--font-heading);
    color: var(--cream);
    font-size: 1rem;
}

.site-footer .credentials {
    font-size: 0.85rem;
    color: var(--brown-pale);
}

.footer-links,
.contact-info {
    list-style: none;
    padding: 0;
}

.footer-links li,
.contact-info li {
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}

.footer-links a,
.contact-info a {
    color: var(--cream-dark);
}

.footer-links a:hover,
.contact-info a:hover {
    color: var(--brown-pale);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    font-size: 0.85rem;
    color: var(--brown-pale);
}

.footer-bottom a {
    color: var(--cream-dark);
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brown-darkest);
    color: var(--cream-dark);
    padding: 1.25rem 0;
    z-index: 1050;
    display: none;
}

.cookie-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    max-width: 700px;
}

.cookie-banner p a {
    color: white;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-block-white,
.btn-block-outline-white {
    font-family: var(--font-heading);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: none;
}

.btn-block-white {
    background: var(--cream);
    color: var(--brown-darkest);
}

.btn-block-outline-white {
    background: transparent;
    color: var(--cream-dark);
    border: 1px solid var(--cream-dark);
}

.btn-block-white:hover {
    background: var(--brown-pale);
}

.btn-block-outline-white:hover {
    background: rgba(255,255,255,0.08);
}

@media (max-width: 991.98px) {
    .hero h1 { font-size: 2.3rem; }
    h2 { font-size: 1.7rem; }
    .why-grid { grid-template-columns: 1fr; }
    .topbar-inner { justify-content: center; text-align: center; }
    .topbar-contact {
        display: flex;
        flex-direction: column;
    }
    .topbar-address {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero { min-height: 70vh; }
    section { padding: 3rem 0; }
}
.why-item {
  padding: 2rem;
  background: white;
  border-radius: 4px;
  text-align: center;
}
.why-item p {
    margin-bottom: 0;
}
/* ==========================================================================
   ADDITIONS - append these to your existing site.css
   Covers: new outline button variant, inner-page hero, services detail
   page, gallery + lightbox, about page stats, dedicated contact page
   ========================================================================== */

/* --------------------------------------------------------------------
   New button variant - solid outline for use on light backgrounds
   (e.g. "More About Us" on the homepage About section)
   -------------------------------------------------------------------- */

.btn-wood-outline-dark {
    font-family: var(--font-heading);
    font-weight: 700;
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-size: 0.95rem;
    background: transparent;
    color: var(--brown-dark);
    border: 2px solid var(--brown-dark);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-wood-outline-dark:hover {
    background: var(--brown-dark);
    color: var(--cream);
}

/* ==========================================================================
   Inner page hero (About / Services / Gallery / Contact)
   ========================================================================== */

.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 46vh;
}

.page-hero--short {
    min-height: 34vh;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--brown-darkest);
    opacity: 0.7;
    z-index: 1;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    color: var(--cream);
}

.page-hero__inner h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-hero__inner p {
    color: var(--cream-dark);
    max-width: 600px;
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* ==========================================================================
   Services (detail) page
   ========================================================================== */

.service-detail {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail.bg-alt {
    background: var(--cream-dark);
}

.service-detail img {
    width: 100%;
    border-radius: 4px;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.service-detail-list li {
    margin-bottom: 0.5rem;
}

.service-detail-list i {
    color: var(--brown-dark);
    margin-right: 0.5rem;
}

/* ==========================================================================
   Gallery page + lightbox
   ========================================================================== */

.gallery-item {
    display: block;
    cursor: pointer;
    border: none;
    padding: 0;
    background: none;
    margin: 0 auto;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 6, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--cream);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   About page
   ========================================================================== */

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
    text-align: center;
}

.stats-row .stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--brown-dark);
    display: block;
}

.stats-row .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Contact page (dedicated)
   ========================================================================== */

.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-detail-list li {
    margin-bottom: 1rem;
}

.contact-detail-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brown-light);
    margin-bottom: 0.15rem;
}

.contact-detail-list a,
.contact-detail-list span {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.form-success {
    background: var(--white);
    border-left: 4px solid var(--brown-dark);
    padding: 1.75rem;
    border-radius: 4px;
}

.form-error {
    background: #F8E6E2;
    color: #8A3B2B;
    padding: 0.85rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.contact-map {
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
    .stats-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ADDITIONS - append to your existing site.css
   Simplified contact page: big phone/email blocks + full-height map
   ========================================================================== */

.contact-big {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 1.5rem 0;
}

.contact-big-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    transition: background-color 0.2s ease;
}

.contact-big-item:hover {
    background: var(--cream-dark);
}

.contact-big-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brown-dark);
    color: var(--cream);
    font-size: 1.4rem;
}

.contact-big-text {
    display: flex;
    flex-direction: column;
}

.contact-big-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brown-light);
}

.contact-big-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-address {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-address i {
    color: var(--brown-dark);
    margin-right: 0.4rem;
}

.contact-map--tall {
    min-height: 420px;
    height: 100%;
}

@media (max-width: 991.98px) {
    .contact-map--tall {
        min-height: 320px;
    }
}
/* ==========================================================================
   ADDITIONS - append to your existing site.css
   Homepage big-project feature pods + "everyday carpentry" subheading
   ========================================================================== */

.feature-pods {
    margin-bottom: 1.5rem;
}

.feature-pod {
    position: relative;
    display: block;
    min-height: 380px;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    color: var(--cream);
}

.feature-pod img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-pod__overlay {
    position: absolute;
    inset: 0;
    background: var(--brown-darkest);
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.feature-pod__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    padding: 1.75rem;
}

.feature-pod h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-pod p {
    color: var(--cream-dark);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.feature-pod__link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brown-pale);
}

.feature-pod:hover {
    color: var(--cream);
}

.feature-pod:hover img {
    transform: scale(1.04);
}

.feature-pod:hover .feature-pod__overlay {
    opacity: 0.7;
}

.services-subhead {
    margin: 2.5rem 0 1.5rem 0;
    color: var(--brown-dark);
}