
/* =========================================================
   Infinite Orchard - Cleaned Styles
   Layered on top of Bootstrap
   ========================================================= */

/* ---------- Base Theme Tokens ---------- */

:root {
    --io-bg: #f8f9fb;
    --io-bg-alt: #ffffff;
    --io-text-main: #111111;
    --io-text-muted: #6c757d;

    --io-accent: #0f766e;          /* orchard green / teal */
    --io-accent-soft: #ecfdf3;

    --io-border-soft: #e5e7eb;

    --io-radius-lg: 1.5rem;
    --io-radius-xl: 2rem;

    --io-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);

    /* Layout tokens */
    --io-navbar-offset: 0px; /* space for fixed navbar */
    --io-section-pad-y: 5rem;
    --io-section-pad-y-sm: 3.5rem;
}

/* ---------- Global ---------- */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
    color: var(--io-text-main);
    background-color: var(--io-bg);
    scroll-behavior: smooth;
}

main {
    padding-top: var(--io-navbar-offset);
}

/* ensure images never overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Headline font override */
.io-headline,
h1, h2, h3, h4 {
    font-family: "nunito", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p, .io-body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
    font-weight: 400;
}

/* ---------- Navbar ---------- */

.io-navbar {
    transition: box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.io-navbar.io-navbar--scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    background-color: rgba(255, 255, 255, 0.96);
}

.io-logo-thumb {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

.io-nav-btn {
    border-radius: 999px;
}

/* ---------- Sections (consistent spacing) ---------- */

.io-section {
    padding: var(--io-section-pad-y) 0;
}

@media (max-width: 767.98px) {
    .io-section {
        padding: var(--io-section-pad-y-sm) 0;
    }
}

/* Hero gets its own spacing (override baseline) */
.io-section--hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

@media (max-width: 767.98px) {
    .io-section--hero {
        padding-top: 6rem;   /* extra room under fixed nav on small screens */
        padding-bottom: 4rem;
    }
}

.io-section--light {
    background-color: var(--io-bg-alt);
}

.io-section--blog-hero {
    background: radial-gradient(circle at top, #e0f2fe, #f8fafc);
    padding-top: 7rem;
    padding-bottom: 6rem;
}

.io-section--blog-list {
    padding-top: 2rem;
}

/* Full-bleed background section */
.io-section--image {
    position: relative;
    color: #000000;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Overlay layer for readable text */
.io-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.io-overlay--soft {
    background: linear-gradient(
        120deg,
        rgba(15, 23, 42, 0.4),
        rgba(15, 23, 42, 0.1)
    );
}

.io-overlay--soft-dark {
    background: linear-gradient(
        135deg,
        rgba(40, 42, 15, 0.7),
        rgba(15, 23, 42, 0.4)
    );
}

/* Section titles */
.io-section-title {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

/* ---------- Background image helper classes ----------
   Replace URLs with your actual assets.
   Keep separated so you can change backgrounds without touching HTML.
------------------------------------------------------ */

.bg-hero {
    background-image: url("../img/iso_BG_hero.png");
}

/* .bg-philo {
    background-image: url("../img/grass_bricks.png");
} */

.bg-current-projects {
    background-image: url("../img/current-projects-bg-placeholder.jpg");
}

.bg-about {
    background-image: url("../img/about-bg-placeholder.jpg");
}

/* ---------- Hero Product Image ---------- */

.io-hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.io-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.25));
    transform: translateY(10px);
    transition: transform 0.45s ease, filter 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
    .io-hero-image:hover {
        transform: translateY(0);
        filter: drop-shadow(0 35px 55px rgba(0,0,0,0.20));
    }
}

/* Philosophy section image size */
.io-hero-image-alt {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* tighten on small screens so hero image doesn't dominate */
@media (max-width: 767.98px) {
    .io-hero-image {
        max-width: 85%;
    }
}

/* ---------- Disable / neutralize angled-card experiments ----------
   Keeps your current HTML intact but prevents spacing/margin chaos.
------------------------------------------------------ */
#no-enshitification {
    position: relative;
    z-index: 1;
    /* background:none; */
    box-shadow: 0 -100px 36px -24px rgba(0, 0, 0, 1); 
    background-image: url("../img/grass_bricks_2.png");
    background-size: 110%;
}

/* #no-enshitification .angled-card,
#no-enshitification .angled-content {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
} */

/* Optional: If you liked the subtle "card lift" feel, apply it safely here.
   Comment this block out if you want a perfectly flat transition. */
#no-enshitification {
    /* background: #ffffff; */
    box-shadow: 0 -24px 36px -24px rgba(15, 23, 42, 0.12); 
}

/* ---------- Device Mockups ---------- */

.io-device-mockup {
    border-radius: 2.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #0f172a, #020617);
    box-shadow: var(--io-shadow-soft);
    max-width: 420px;     /* a touch bigger so screenshots feel premium */
    margin-inline: auto;
}

.io-device-mockup--light {
    background: linear-gradient(135deg, #f9fafb, #e5e7eb);
}

/* The screen area itself */
.io-device-screen {
    border-radius: 2rem;
    overflow: hidden;       /* ensures screenshot respects rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Screenshot inside the mockup */
.io-device-image {
    width: 100%;
    height: auto;           /* natural sizing */
    object-fit: contain;    /* no cropping */
    display: block;
}

/* ---------- Project section styles ---------- */

.io-project {
    margin-bottom: 3rem;
}

.io-project-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background-color: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.text-white-75 {
    color: rgba(249, 250, 251, 0.85) !important;
}

.io-divider {
    border-color: rgba(148, 163, 184, 0.4);
    margin-block: 3.5rem;
}

/* ---------- Image / Content Frames ---------- */

.io-image-frame {
    border-radius: var(--io-radius-xl);
    overflow: hidden;
    background-color: #0f172a;
}

.io-image-frame img {
    display: block;
}

.io-image-frame--gradient {
    border-radius: var(--io-radius-xl);
    padding: 2rem;
    background: radial-gradient(circle at top left, #bbf7d0, #f0fdf4);
    border: 1px solid var(--io-border-soft);
}

/* ---------- Cards / Glassmorphism ---------- */

.io-card.glass {
    border-radius: var(--io-radius-lg);
    padding: 1.75rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #e5e7eb;
}

/* ---------- Contact Form ---------- */

.io-contact-form .form-control {
    border-radius: 0.75rem;
    padding-block: 0.75rem;
}

.io-contact-form .form-control:focus {
    border-color: var(--io-accent);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.18);
}

/* ---------- Blog Cards ---------- */

.io-blog-main {
    padding-top: var(--io-navbar-offset);
}

.io-blog-card {
    border-radius: var(--io-radius-lg);
    border: 1px solid var(--io-border-soft);
    background-color: #ffffff;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.io-blog-card-image-wrapper {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.io-blog-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.io-blog-card-body {
    padding: 1.25rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.io-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--io-shadow-soft);
    border-color: rgba(15, 23, 42, 0.18);
}

.io-blog-tag {
    display: inline-flex;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background-color: var(--io-accent-soft);
    color: var(--io-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Blog CTA ---------- */

.io-section--blog-cta {
    background-color: #0f172a;
    color: #e5e7eb;
}

/* ---------- Footer ---------- */

.io-footer {
    background-color: #ffffff;
}