﻿/* ═══════════════════════════════════════════════════
   Just Amina & Ben — Custom styles (Bootstrap 4.3.1)
   ═══════════════════════════════════════════════════ */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&display=swap");

/* CSS tokens */
:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --grass: #22c55e;
    --grass-dark: #16a34a;
    --blue-b: #3b82f6;
    --blue-dark: #2563eb;
    --sun: #fbbf24;
    --orange: #f97316;
    --purple: #9333ea;
    --ink: #1e293b;
    --muted: #64748b;
    --cream: #fefce8;
    --grass-light: #f0fdf4;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", system-ui, sans-serif;
    color: var(--ink);
    background: #fefffe;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.font-display {
    font-family: "Baloo 2", "Nunito", cursive;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--grass);
    border-radius: 3px;
}

/* Colour utilities */
.text-pink {
    color: var(--pink) !important;
}

.text-grass {
    color: var(--grass) !important;
}

.text-blue-b {
    color: var(--blue-b) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.text-purple {
    color: var(--purple) !important;
}

.text-sun {
    color: var(--sun) !important;
}

.text-ink {
    color: var(--ink) !important;
}

.text-muted-c {
    color: var(--muted) !important;
}

.bg-pink {
    background-color: var(--pink) !important;
}

.bg-grass {
    background-color: var(--grass) !important;
}

.bg-blue-b {
    background-color: var(--blue-b) !important;
}

.bg-sun {
    background-color: var(--sun) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

.bg-dark-teal {
    background: linear-gradient(135deg, #1e3a5f 0%, #134e4a 100%) !important;
}

.bg-hero {
    background: linear-gradient(180deg, #e8f7fd 0%, #d1f2e1 60%, #a7e6c4 100%);
}

.bg-series {
    background: linear-gradient(180deg, #f0fdf4 0%, #fefffe 100%);
}

/* Typography helpers */
.fw-extrabold {
    font-weight: 800 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.tracking-wide {
    letter-spacing: 0.15em !important;
}

/* Rounded helpers (Bootstrap 4 only has rounded / rounded-pill) */
.rounded-2xl {
    border-radius: 1rem !important;
}

.rounded-3xl {
    border-radius: 1.5rem !important;
}

/* Section padding */
.section-py {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ── Navbar ── */
.navbar-custom {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(8px);
    border-bottom: 2.5px solid var(--grass);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

    .navbar-custom .nav-link {
        font-weight: 700;
        color: var(--ink) !important;
        font-size: 0.9rem;
        transition: color 0.2s;
    }

        .navbar-custom .nav-link:hover {
            color: var(--grass) !important;
        }

/* CSS-only mobile nav toggle */
#nav-toggle {
    display: none;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
}

#nav-toggle:checked ~ .nav-mobile-menu {
    display: flex;
}

.nav-toggle-label {
    cursor: pointer;
}

/* ── Hero ── */
.hero-section {
    padding-top: 5.5rem;
    padding-bottom: 0;
    overflow: hidden;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--sun);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-headline {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-weight: 900;
}

.btn-pill {
    border-radius: 50px !important;
    font-weight: 800 !important;
}

.book-display {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
}

.book-side {
    width: 144px;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.book-side-l {
    transform: rotate(-6deg) translateY(24px);
}

.book-side-r {
    transform: rotate(6deg) translateY(24px);
}

.book-hero {
    width: 220px;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid #fff;
    filter: drop-shadow(0 20px 40px rgba(34, 197, 94, 0.35));
}

/* ── Stats ── */
.stats-strip {
    padding: 1.5rem 0;
}

.stat-icon {
    font-size: 2rem;
}

.stat-value {
    font-family: "Baloo 2", cursive;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1;
    margin: 0;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin: 0;
}

/* ── Meet ── */
.ants-img {
    border-radius: 1.5rem;
    border: 4px solid var(--sun);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.ant-badge {
    position: absolute;
    bottom: -18px;
    right: -12px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--sun);
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.char-card {
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    border-width: 2px;
    border-style: solid;
}

/* ── Series cards ── */
.series-card {
    border-radius: 1.5rem;
    overflow: hidden;
    border-width: 2px;
    border-style: solid;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .series-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
    }

.series-img-box {
    height: 220px;
    overflow: hidden;
    position: relative;
}

    .series-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

.series-placeholder {
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vol-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.series-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tag-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.affirmation-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    color: #fff;
    display: inline-block;
}

/* ── Coaching ── */
.coaching-step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--ink);
    flex-shrink: 0;
}

.coaching-tile {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: background 0.2s;
}

    .coaching-tile:hover {
        background: rgba(255, 255, 255, 0.18);
    }

    .coaching-tile .tile-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

/* ── Partner ── */
.partner-card {
    background: #fff;
    border-radius: 1.5rem;
    border-width: 2px;
    border-style: solid;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .partner-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1) !important;
    }

.partner-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
    border-width: 2px;
    border-style: solid;
}

.cta-band {
    border-radius: 1.5rem;
}

/* ── About ── */
.author-img {
    width: 260px;
    border-radius: 1.5rem;
    border: 4px solid var(--sun);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.author-badge {
    position: absolute;
    top: -16px;
    right: -16px;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    padding: 8px 14px;
    font-size: 0.8rem;
    line-height: 1.4;
    border-radius: 12px;
    transform: rotate(3deg);
}

.author-quote {
    border-left: 4px solid var(--sun);
    padding-left: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-right: 1rem;
    background: var(--cream);
    border-radius: 0 0.75rem 0.75rem 0;
}

.skill-tag {
    display: inline-block;
    background: var(--grass-light);
    color: var(--grass-dark);
    border: 1px solid #86efac;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    margin: 3px;
}

/* ── Footer ── */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.footer-link {
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

    .footer-link:hover {
        color: var(--sun) !important;
        text-decoration: none;
    }

.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

    .dl-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff !important;
        text-decoration: none;
    }

/* ── Responsive ── */
@media (max-width: 767px) {
    .book-side {
        display: none;
    }

    .book-hero {
        width: 180px;
    }

    .hero-headline {
        font-size: 2.8rem;
    }
}
