/* JeDutchy Public Site Styles */

@font-face {
    font-family: Inter;
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url("../fonts/inter-700.woff2") format("woff2");
}

:root {
    /* Colors */
    --color-text-default: #37352F;
    --color-text-default-light: #7d7c78;
    --color-bg-default: #ffffff;
    --color-border-default: #E9E9E7;
    --color-ui-hover-bg: #efefef;
    
    /* Orange highlight */
    --color-orange: hsl(30, 87%, 45%);
    --color-bg-orange: hsl(30, 87%, 90%);
    
    /* Green */
    --color-green: hsl(149, 31%, 39%);
    --color-bg-green: hsl(149, 31%, 90%);
    --color-bg-green-light: hsl(149, 31%, 93%);
    
    /* Layout */
    --layout-max-width: 900px;
    --column-spacing: 46px;
    --padding-layout: 0.6rem;
    --border-radii-layout: 5px;
    
    /* Navbar */
    --navbar-height: 56px;
    --navbar-text-color: #37352F;
    --navbar-background-color: #ffffff;
    --navbar-button-text-color: #333333;
    --navbar-button-background-color: rgba(245, 192, 191, 1);
    
    /* Footer */
    --footer-text-color: #37352F;
    --footer-background-color: #ffffff;
    
    /* Fonts */
    --primary-font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 62px;
    font-size: 16px;
}

body {
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-default);
    background-color: var(--color-bg-default);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.super-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--navbar-background-color);
    border-bottom: 1px solid var(--color-border-default);
}

.super-navbar__content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 96px;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.super-navbar__logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--navbar-text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.super-navbar__item-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.super-navbar__item {
    padding: 8px 12px;
    color: var(--navbar-text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    cursor: pointer;
    display: inline-block;
}

.super-navbar__item:hover {
    background-color: var(--color-ui-hover-bg);
}

.super-navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.super-navbar__cta {
    padding: 8px 16px;
    background-color: var(--navbar-button-background-color);
    color: var(--navbar-button-text-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    display: inline-block;
}

.super-navbar__cta:hover {
    opacity: 0.9;
}

.super-navbar__menu-open {
    display: none;
    cursor: pointer;
    padding: 8px;
}

/* Content wrapper */
.super-content-wrapper {
    min-height: calc(100vh - var(--navbar-height) - 200px);
}

.super-content {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 48px 96px;
}

/* Page elements */
.notion-root {
    max-width: var(--layout-max-width);
}

.notion-heading {
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 8px;
}

.notion-heading h1 {
    font-size: 2.5rem;
    margin: 0;
    line-height: 1.2;
}

.notion-heading h2 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
}

.notion-text {
    margin: 4px 0;
}

.notion-text__content {
    padding: 3px 2px;
    line-height: 1.6;
}

/* Column layout */
.notion-column-list {
    display: flex;
    gap: var(--column-spacing);
    margin: 16px 0;
}

.notion-column {
    flex: 1;
}

/* Image */
.notion-image {
    margin: 16px 0;
    text-align: center;
}

.notion-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.notion-image.align-start {
    text-align: left;
}

.notion-image.align-start img {
    margin: 0 auto;
    display: block;
}

/* Callout */
.notion-callout {
    display: flex;
    gap: 12px;
    padding: calc(var(--padding-layout) + 0.4rem);
    border-radius: var(--border-radii-layout);
    margin: 12px 0;
    border: 1px solid var(--color-border-default);
}

.notion-callout.bg-green-light {
    background-color: var(--color-bg-green-light);
    border-color: hsl(149, 31%, 75%);
}

.notion-callout__icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.notion-callout__content {
    flex: 1;
}

.notion-semantic-string {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.notion-semantic-string strong {
    white-space: nowrap;
}

.highlighted-color {
    padding: 0 2px;
    border-radius: 2px;
}

.highlighted-color.color-orange {
    background-color: var(--color-bg-orange);
    color: var(--color-orange);
}

/* Links */
a.notion-link, .notion-link {
    text-decoration: none;
    color: inherit;
}

a.link {
    color: var(--color-text-default);
    text-decoration: underline;
    text-decoration-color: rgba(55, 53, 47, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
    white-space: nowrap;
}

a.link:hover {
    text-decoration-color: rgba(55, 53, 47, 0.8);
}

/* Footer */
.super-footer {
    background-color: var(--footer-background-color);
    border-top: 1px solid var(--color-border-default);
    padding: 48px 96px 32px;
}

.super-footer.floating {
    margin-top: 64px;
}

.super-footer__content {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.super-footer__logo {
    display: inline-block;
}

.super-footer__logo-image img {
    width: 43px;
    height: auto;
}

.super-footer__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 1rem;
}

.super-footer__link {
    padding: 0.35rem;
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.04);
    transition: background-color 0.2s;
}

.super-footer__link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.super-footer__link p {
    margin: 0;
}

.super-footer__footnote {
    font-size: 0.8rem;
    color: var(--color-text-default-light);
    margin: 0;
}

.super-footer__icons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.super-footer__icons svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-default);
    transition: opacity 0.2s;
}

.super-footer__icons a:hover svg {
    opacity: 0.7;
}

/* Utility classes */
.max-width {
    max-width: var(--layout-max-width);
    margin: 0 auto;
}

.has-footer {
    padding-bottom: 32px;
}

/* Mobile Menu */
.super-navbar__mobile-menu {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background-color: var(--navbar-background-color);
    border-bottom: 1px solid var(--color-border-default);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.super-navbar__mobile-menu-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 12px 20px;
    gap: 4px;
}

.super-navbar__mobile-menu-list .super-navbar__item {
    display: block;
    padding: 12px 16px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    :root {
        --column-spacing: 24px;
        --navbar-height: 64px;
    }
    
    html {
        font-size: 15px;
    }
    
    .super-navbar__content {
        padding: 0 20px;
    }
    
    .super-navbar__item-list {
        display: none;
    }
    
    .super-navbar__menu-open {
        display: block;
    }
    
    .super-navbar__cta {
        font-size: 14px;
        padding: 6px 14px;
    }
    
    .super-content {
        padding: 32px 20px;
    }
    
    .super-footer {
        padding: 32px 20px 24px;
    }
    
    .notion-column-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .notion-column {
        width: 100% !important;
        margin-inline-start: 0 !important;
    }
    
    .notion-heading h1 {
        font-size: 2rem;
        line-height: 1.15;
    }
    
    .notion-heading h2 {
        font-size: 1.35rem;
        line-height: 1.25;
    }
    
    .notion-image {
        text-align: center;
    }
    
    .notion-image img {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .notion-callout {
        padding: 16px;
    }
    
    .notion-callout__icon {
        font-size: 20px;
    }
    
    .super-footer__links {
        font-size: 0.95rem;
    }
    
    .super-footer__icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .super-navbar__content {
        padding: 0 16px;
    }
    
    .super-navbar__logo {
        font-size: 15px;
    }
    
    .super-navbar__cta {
        font-size: 13px;
        padding: 6px 12px;
        white-space: normal;
    }
    
    .super-content {
        padding: 24px 16px;
    }
    
    .super-footer {
        padding: 24px 16px 20px;
    }
    
    .notion-heading h1 {
        font-size: 1.75rem;
        line-height: 1.15;
    }
    
    .notion-heading h2 {
        font-size: 1.25rem;
        line-height: 1.25;
    }
    
    .notion-image img {
        max-width: 180px;
    }
    
    .notion-callout {
        padding: 14px;
        gap: 10px;
        flex-direction: column;
    }
    
    .notion-callout__icon {
        font-size: 22px;
        text-align: center;
    }
    
    .super-footer__icons {
        gap: 20px;
        justify-content: center;
    }
    
    .super-footer__links {
        justify-content: center;
    }
    
    .super-footer__footnote {
        text-align: center;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .super-navbar__item,
    .super-navbar__cta,
    .super-footer__link,
    .super-footer__icons a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .notion-link.link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Larger tap targets for mobile */
    .notion-callout {
        padding: 18px 16px;
    }
}

/* Improve readability on mobile */
@media (max-width: 768px) {
    .notion-text__content,
    .notion-callout__content {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .notion-heading {
        margin-bottom: 12px;
    }
    
    .notion-heading h1,
    .notion-heading h2 {
        margin-bottom: 0;
    }
    
    /* Better text flow on mobile */
    .notion-callout__content {
        hyphens: none;
        -webkit-hyphens: none;
        -moz-hyphens: none;
    }
}

/* Better spacing for mobile callouts */
@media (max-width: 480px) {
    .notion-callout {
        margin: 16px 0;
    }
    
    .notion-column-list {
        gap: 20px;
    }
    
    .notion-text__content {
        line-height: 1.65;
    }
    
    /* Tighter spacing for very small screens */
    .notion-semantic-string {
        font-size: 0.95rem;
    }
    
    .notion-semantic-string strong {
        font-size: 1rem;
    }
}

