/* =====================================================
   LiftLogger — Custom Styles  (refreshed)
   www.liftlogger.com
   ===================================================== */

/* ---- Brand variables ---- */
:root {
    --ll-green-dark:  #6A8E00;
    --ll-green:       #8CC147;
    --ll-green-light: #A1CF49;
    --ll-green-pale:  #CFE2B0;
    --ll-green-wash:  #f0f7e6;
    --ll-charcoal:    #2c2c2c;
    --ll-text:        #333333;
    --ll-muted:       #666666;
    --ll-border:      #e0e0e0;
    --ll-bg:          #f7f7f7;
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.92rem;
    color: var(--ll-text);
    background: var(--ll-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main { flex: 1; background: #fff; }

a             { color: var(--ll-green-dark); }
a:hover       { color: var(--ll-green); text-decoration: underline; }

/* ---- Navbar brand (combined LiftLogger + RAMM logos) ---- */
.ll-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none !important;
}

.ll-brand-sep {
    display: inline-block;
    width: 1px;
    height: 38px;
    background: var(--ll-border);
    flex-shrink: 0;
}

.ll-brand-ramm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1;
}

.ll-brand-by {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ll-muted);
}

/* ---- Header / Nav ---- */
.ll-header {
    background: #fff;
    border-bottom: 3px solid var(--ll-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ll-header .navbar { padding: 0.5rem 0; }

.ll-header .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ll-charcoal);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.ll-header .nav-link:hover { color: var(--ll-green-dark); background: var(--ll-green-wash); }
.ll-header .nav-link.active { color: var(--ll-green-dark); text-decoration: underline; }

/* ---- Green button ---- */
.btn-ll-green {
    background: linear-gradient(135deg, var(--ll-green) 0%, var(--ll-green-dark) 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(106,142,0,0.35);
    padding: 0.5rem 1.5rem;
    text-decoration: none !important;
    transition: filter 0.2s, box-shadow 0.2s, transform 0.15s;
    display: inline-block;
}

.btn-ll-green:hover {
    filter: brightness(1.1);
    box-shadow: 0 5px 12px rgba(106,142,0,0.45);
    transform: translateY(-1px);
}

/* ---- Home hero ---- */
.ll-home-hero {
    position: relative;
    overflow: hidden;
    background: #2a3800;
    color: #fff;
    padding: 4.5rem 0 4rem;
    text-align: center;
}

.ll-home-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vmax;
    height: 150vmax;
    background: linear-gradient(
        0deg,
        #1e2d00 0%,
        #2a3800 20%,
        var(--ll-green-dark) 42%,
        var(--ll-green) 50%,
        var(--ll-green-dark) 58%,
        #2a3800 80%,
        #1e2d00 100%
    );
    animation: llHeroSpin 12s linear infinite;
    z-index: 0;
}

.ll-home-hero .container-xl {
    position: relative;
    z-index: 1;
}

@keyframes llHeroSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.ll-home-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.ll-home-hero-sub {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- White button (for use on dark/green backgrounds) ---- */
.btn-ll-white {
    background: #fff;
    color: var(--ll-green-dark) !important;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid #fff;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    padding: 0.55rem 1.75rem;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    display: inline-block;
}

.btn-ll-white:hover {
    background: transparent;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transform: translateY(-2px);
}

/* ---- Page hero banner (contact / inner pages) ---- */
.ll-page-hero {
    background: linear-gradient(135deg, var(--ll-green-dark) 0%, var(--ll-green) 100%);
    color: #fff;
    padding: 2.5rem 0 2rem;
}

.ll-page-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
}

.ll-page-hero-sub {
    font-size: 1rem;
    opacity: 0.85;
    margin: 0;
}

/* ---- Home: headline ---- */
.ll-headline {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--ll-charcoal);
    margin-bottom: 1rem;
}

/* ---- Feature / question lists ---- */
.ll-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--ll-border);
}

.ll-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    line-height: 1.5;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--ll-border);
}

.ll-list li:last-child { border-bottom: none; }
.ll-list li i { flex-shrink: 0; font-size: 0.85rem; position: relative; top: 1px; }

.ll-list-grey { background: #fafafa; }
.ll-list-grey li i { color: var(--ll-green); }

.ll-list-green { background: var(--ll-green-wash); border-color: var(--ll-green-pale); }
.ll-list-green li { border-bottom-color: var(--ll-green-pale); }
.ll-list-green li i { color: var(--ll-green-dark); }

.ll-sample-link {
    font-size: 0.74rem;
    margin-left: 0.35rem;
    color: var(--ll-muted);
    white-space: nowrap;
}

/* ---- Image Slider ---- */
.ll-slider {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    background: #000;
}

.ll-slider-track {
    display: flex;
    width: 300%;
    animation: llSlide 15s infinite;
}

.ll-slider-track img {
    width: calc(100% / 3);
    height: auto;
    display: block;
    flex-shrink: 0;
    object-fit: cover;
}

@keyframes llSlide {
    0%,   30%   { transform: translateX(0); }
    33.3%       { transform: translateX(-33.333%); }
    33.3%, 63.3%{ transform: translateX(-33.333%); }
    66.6%       { transform: translateX(-66.666%); }
    66.6%, 96.6%{ transform: translateX(-66.666%); }
    100%        { transform: translateX(0); }
}

.ll-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.ll-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    display: inline-block;
    transition: background 0.3s;
}

.ll-dot.active { background: #fff; }

/* ---- Contact page ---- */
.ll-contact-card {
    background: #fff;
    border: 1px solid var(--ll-border);
    border-radius: 12px;
    padding: 2rem 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.ll-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--ll-border);
}

.ll-contact-row:last-of-type { border-bottom: none; }

.ll-contact-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ll-green-wash);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ll-contact-icon-wrap i {
    font-size: 1.15rem;
    color: var(--ll-green-dark);
}

.ll-contact-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ll-muted);
    margin-bottom: 0.2rem;
}

.ll-contact-card a { color: var(--ll-green-dark); text-decoration: none; }
.ll-contact-card a:hover { text-decoration: underline; }

.ll-contact-divider {
    border: none;
    border-top: 1px solid var(--ll-border);
    margin: 1rem 0;
}

.ll-contact-blurb {
    font-size: 0.86rem;
    color: var(--ll-muted);
    line-height: 1.6;
}

/* ---- Map ---- */
.ll-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    height: 100%;
    min-height: 420px;
}

#contact-map {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* ---- Footer ---- */
.ll-footer {
    background: var(--ll-charcoal);
    color: #ccc;
    font-size: 0.78rem;
    padding: 1rem 0;
    margin-top: auto;
}

.ll-footer a { color: #ccc; text-decoration: none; }
.ll-footer a:hover { color: #fff; text-decoration: underline; }
.ll-footer-sep { color: #555; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .ll-header .navbar-nav { padding-top: 0.75rem; gap: 0.25rem; }
    .btn-ll-green.ms-lg-3 { margin-left: 0 !important; display: inline-block; margin-top: 0.5rem; }
}

@media (max-width: 767.98px) {
    .ll-slider  { max-width: 100%; }
    .ll-map-wrap, #contact-map { min-height: 300px; }
    .ll-page-hero-title { font-size: 1.5rem; }
    .ll-home-hero { padding: 3rem 0 2.5rem; }
    .ll-home-hero-title { font-size: 1.8rem; }
    .ll-home-hero-sub { font-size: 0.95rem; }
}
