/*
Theme Name: Bare Soles Explorers
Theme URI: https://www.baresolesexplorers.org
Author: Bare Soles Explorers
Description: Custom lightweight Elementor-ready theme with floating pill navigation and modern design system.
Version: 1.3.0
Text Domain: bare-soles-explorers
*/

:root {
    --bse-cream: #F6F5EC;
    --bse-cream-dark: #EBE9DA;
    --bse-forest: #4a6741;
    --bse-teal: #003F51;
    --bse-terracotta: #C26D4A;
    --bse-terracotta-hover: #A85838;
    --bse-footer-green: #4a6741;
    --bse-text-dark: #1E2420;
    --bse-text-muted: #525C55;
    --bse-white: #FFFFFF;
    --bse-radius-lg: 28px;
    --bse-radius-pill: 9999px;
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bse-cream);
    color: var(--bse-text-dark);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .bse-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--bse-forest);
    margin-top: 0;
}

/* =========================================
   FLOATING NAVIGATION & OVERHANGING LOGO
   ========================================= */
.bse-header-wrapper {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--bse-teal);
    color: var(--bse-white);
}

.bse-header-overlay {
    background: linear-gradient(180deg, rgba(0, 63, 81, 0.76) 0%, rgba(0, 63, 81, 0.58) 100%);
    padding-top: 28px;
    padding-bottom: 60px;
}

/* Homepage vs Inner Page Sizing */
.home .bse-header-overlay {
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 75px;
}

.page:not(.home) .bse-header-overlay {
    min-height: 240px;
    padding-bottom: 45px;
}

.bse-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Pill Navbar */
.bse-navbar {
    background: rgba(246, 245, 236, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

/* 120px Overhanging Logo Badge */
.bse-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 110;
}

.bse-logo-badge {
    background-color: var(--bse-teal);
    border-radius: 50%;
    padding: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border: 3px solid var(--bse-cream);
    margin-top: -24px;
    margin-bottom: -38px;
    transition: transform 0.25s ease;
}

.bse-logo-link:hover .bse-logo-badge {
    transform: translateY(-2px) scale(1.02);
}

.bse-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav Menu Links */
.bse-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}

.bse-nav-menu li a {
    color: var(--bse-text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.bse-nav-menu li a:hover,
.bse-nav-menu li.current-menu-item a {
    color: var(--bse-terracotta);
}

/* CTA Pill Button */
.bse-nav-menu li.bse-nav-cta a {
    background-color: var(--bse-terracotta);
    color: var(--bse-white);
    padding: 10px 22px;
    border-radius: var(--bse-radius-pill);
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bse-nav-menu li.bse-nav-cta a:hover {
    background-color: var(--bse-terracotta-hover);
    color: var(--bse-white);
    transform: translateY(-1px);
}

.bse-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bse-teal);
    cursor: pointer;
}

/* Homepage Hero Content & Gradient Accent */
.bse-hero-content {
    margin-top: 52px;
    max-width: 780px;
}

.bse-hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--bse-cream);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--bse-radius-pill);
    margin-bottom: 18px;
}

.bse-hero-title {
    color: var(--bse-white);
    font-size: clamp(2.2rem, 4.4vw, 3.35rem);
    text-transform: none;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 20px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.bse-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #D9E8D4 50%, #F2B880 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bse-hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 620px;
}

.bse-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Inner Page Header Title */
.bse-page-header-content {
    margin-top: 44px;
    text-align: center;
}

.bse-page-title {
    color: var(--bse-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0;
}

/* Topographic Contour Lines Background for Why Unplugging Matters */
.bse-topo-bg {
    background-color: #4a6741 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%2358774e' stroke-width='1.5' stroke-opacity='0.38'><path d='M-50 100 Q 150 50, 350 150 T 650 100' /><path d='M-50 180 Q 180 120, 380 220 T 650 160' /><path d='M-50 280 Q 120 220, 320 320 T 650 250' /><path d='M-50 380 Q 200 320, 420 400 T 650 350' /><path d='M-50 480 Q 150 420, 350 500 T 650 460' /><path d='M50 -50 Q 120 150, 200 350 T 100 650' /><path d='M180 -50 Q 250 180, 320 380 T 250 650' /><path d='M320 -50 Q 380 200, 450 420 T 400 650' /><path d='M480 -50 Q 520 220, 580 450 T 520 650' /></g></svg>") !important;
    background-size: 600px 600px !important;
    background-repeat: repeat !important;
}

/* =========================================
   ELEMENTOR UTILITY & COMPONENT CLASSES
   ========================================= */
.bse-btn-primary {
    display: inline-block;
    background-color: var(--bse-terracotta);
    color: var(--bse-white) !important;
    padding: 13px 28px;
    border-radius: var(--bse-radius-pill);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bse-btn-primary:hover {
    background-color: var(--bse-terracotta-hover);
    transform: translateY(-2px);
}

.bse-btn-outline-light {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: var(--bse-white) !important;
    padding: 12px 28px;
    border-radius: var(--bse-radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bse-btn-outline-light:hover {
    background: var(--bse-white);
    color: var(--bse-teal) !important;
}

/* Section Eyebrow Pill */
.bse-eyebrow-pill {
    display: inline-block;
    background-color: rgba(74, 103, 65, 0.1);
    color: var(--bse-forest);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--bse-radius-pill);
    margin-bottom: 10px;
}

.bse-bg-cream { background-color: var(--bse-cream); }
.bse-bg-forest { background-color: var(--bse-forest); color: var(--bse-white); }
.bse-bg-teal { background-color: var(--bse-teal); color: var(--bse-white); }
.bse-bg-forest h2, .bse-bg-forest h3,
.bse-bg-teal h2, .bse-bg-teal h3 { color: var(--bse-white); }

/* Play Is Important Highlight Pills */
.bse-play-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

.bse-play-pill-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 12px 18px;
    border-radius: 16px;
    color: var(--bse-white);
    font-size: 0.96rem;
}

.bse-play-pill-item i {
    color: #F2B880;
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

/* Immersive Photo Background with Semi-Transparent Glass Box */
.bse-immersive-section {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    padding: 90px 24px !important;
}

.bse-immersive-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(28, 43, 33, 0.65); /* Dims background photo for readability */
    z-index: 1;
}

.bse-immersive-section > .e-con,
.bse-immersive-section > * {
    position: relative;
    z-index: 2;
}

.bse-glass-box {
    background: rgba(0, 39, 51, 0.82) !important; /* Semi-transparent dark teal */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 32px !important;
    padding: 48px 40px !important;
    color: #FFFFFF !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3) !important;
}

.bse-glass-box h2, 
.bse-glass-box h3 {
    color: #FFFFFF !important;
}

/* Sleek Modern Rounded Cards */
.bse-card,
.elementor-element.bse-card,
.e-con.bse-card {
    background-color: var(--bse-white) !important;
    border-radius: 28px !important;
    overflow: hidden;
    padding: 28px 26px !important;
    box-shadow: 0 18px 40px -12px rgba(30, 36, 32, 0.08), 0 4px 12px -2px rgba(30, 36, 32, 0.04) !important;
    border: 1px solid rgba(30, 36, 32, 0.06) !important;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease !important;
}

.bse-card-cream,
.elementor-element.bse-card-cream,
.e-con.bse-card-cream {
    background-color: var(--bse-cream) !important;
    border-radius: 28px !important;
    overflow: hidden;
    padding: 30px 24px !important;
    text-align: center;
    color: var(--bse-forest);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease !important;
}

.bse-card:hover,
.elementor-element.bse-card:hover,
.e-con.bse-card:hover,
.bse-card-cream:hover,
.elementor-element.bse-card-cream:hover,
.e-con.bse-card-cream:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px -12px rgba(30, 36, 32, 0.14) !important;
}

/* Side-by-Side Icon + Text Layout on Desktop for Become An Explorer Cards */
.bse-step-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
}

.bse-card-icon-blob {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background-color: #EAE6D5;
    color: var(--bse-forest);
    border-radius: 44% 56% 62% 38% / 46% 42% 58% 54%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0;
}

.bse-step-body h3 {
    color: #1E2420;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.bse-step-body p {
    color: #525C55;
    font-size: 0.95rem;
    margin: 0;
}

.bse-rounded-img img {
    border-radius: 28px !important;
    box-shadow: 0 20px 44px -12px rgba(30, 36, 32, 0.16);
}

/* =========================================
   SITE-WIDE FOOTER QUOTE & FOOTER (#colophon)
   ========================================= */
.bse-footer-quote-band {
    background-color: var(--bse-cream);
    padding: 45px 24px 10px;
    text-align: center;
}

.bse-footer-quote-text {
    margin: 0 auto;
    color: var(--bse-forest);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.25rem, 2.4vw, 1.45rem);
    line-height: 1.0;
	padding-bottom: 1.5rem;
}

.site-footer {
    background-color: var(--bse-footer-green);
    color: var(--bse-white);
    text-align: center;
}

.bse-footer-trees {
    background: var(--bse-cream) url('assets/images/tree-bottom.svg') center bottom repeat-x;
    height: 110px;
    width: 100%;
}

.footer-widget-area {
    padding: 20px 20px 16px;
}

.footer-widget-area .wp-block-image {
    margin: 0 auto 14px;
}

.footer-widget-area .wp-block-image img {
    margin: 0 auto;
    display: block;
}

.bse-footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

.bse-footer-socials a {
    color: var(--bse-white);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bse-footer-socials a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

#site-generator {
    padding: 18px 20px 28px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

#site-generator a {
    color: var(--bse-white);
}

/* Responsive Navigation & Mobile Card Stack */
@media (max-width: 900px) {
    .bse-mobile-toggle { display: block; }
    .bse-nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        background: var(--bse-cream);
        padding: 24px;
        border-radius: 18px;
        box-shadow: 0 14px 30px rgba(0,0,0,0.18);
        gap: 16px;
    }
    .bse-nav-menu.is-open { display: flex; }
}

@media (max-width: 767px) {
    .bse-step-row {
        flex-direction: column;
    }
}