@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-bottom: 96px;
    background: white;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

@keyframes testFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-hero {
    --section-bg: #ffffff;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    background: transparent;
    color: black;
}

    .intro-hero h1 {
        font-size: clamp(2.5rem, 6vw, 5rem);
        font-weight: 800;
        animation: testFade 5s ease forwards;
    }

.intro-content {
    padding: 2rem;
}

.intro-list {
    width: fit-content;
    margin: 2rem auto;
    padding-left: 1.5rem;
    text-align: left;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.8;
}

.intro-scroll {
    margin-top: 3rem;
    font-size: 1rem;
    font-style: italic;
    opacity: 0.7;
}

.story-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    background: transparent;
}

.story-section-content {
    width: 100%;
    max-width: 1320px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 0 auto;
    padding: 6rem 10%;
}

.bg-person {
    --section-bg: #aaaaaa;
}

.bg-it {
    --section-bg: #156082;
    color: white;
}

.bg-golf {
    --section-bg: #4EA72E;
    color: white;
}

.bg-military {
    --section-bg: #4EA72E;
    color: white;
}

.bg-guard {
    --section-bg: #0F9ED5;
    color: white;
}

.bg-jujutsu {
    --section-bg: #DFDA00;
    color: black;
}

.story-image {
    flex: 1;
    opacity: 0;
    transition: opacity 900ms ease, transform 900ms ease;
}

.story-text {
    flex: 1;
}

    .story-image img {
        width: 100%;
        max-height: 70vh;
        object-fit: cover;
        border-radius: 28px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    }

.image-left {
    transform: translateX(-140px) scale(0.96);
}

.image-right {
    order: 2;
    transform: translateX(140px) scale(0.96);
}

.story-text h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 650;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.story-text p {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.85;
    max-width: 680px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 900ms ease 150ms, transform 900ms ease 150ms;
}

.story-section.is-visible .image-left {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.story-section.is-visible .image-right {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.story-section.is-visible .story-text p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 800px) {
    .story-section-content {
        flex-direction: column;
        padding: 4rem 1.5rem;
        gap: 2rem;
    }

    .image-right {
        order: 0;
    }

    .story-text h2 {
        font-size: 2.2rem;
    }
}
