:root {
    --color-primary: #e46400;
    --color-primary-hover: #bf5300;
    --color-secondary: #c0c6c8;
    --color-tertiary: #1c1f2a;
    --color-tertiary-hover: #3a3f4f;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-light-gray: #e7ebec;
    --color-dark-gray: #3e4244;
    --color-link: #87cefa;
    --color-link-visited: #6d4b8d;
    --color-link-active: #ff4040;
    --color-error: #c53030;
    --radius-large: 20px;
    --radius: 12px;
    --radius-small: 6px;
    --max-width: 1500px;
    --theme-font-stack-default: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    --box-shadow-alt: 
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 20px rgba(0, 0, 0, 0.06);
    --box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* General Styles */
* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
html {
    scroll-behavior: smooth;
}
/* textarea {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Roboto", "Arial";
} */
body {
    margin: 0;
    line-height: 1.45;
    background: var(--color-secondary);
    color: var(--color-tertiary);
    font-weight: 500;
    transition: none;
    font-family: var(--theme-font-stack-default);
}
a:link {
    color: var(--color-link)
}
a:visited {
    color: var(--color-link-visited);
}
a:active {
    color: var(--color-link-active);
}
.mobile {
    display: none;
}
.hide {
    display: none !important;
}

/* Main Structure */
.full-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}
.main-content {
    width: 100%;
    flex: 1;
}
.container {
    flex: 1;
    padding: 72px 56px;
    width: 100%;
    height: auto;
}
.content {
    max-width: var(--max-width);
    height: auto;
    margin: 0 auto;
    gap: 10px;
}

/* Text */
h1, h2, h3, h4 {
    margin: 0;
}
h1.huge {
    font-size: 2.5em;
}
p {
    color: var(--color-tertiary);
    font-size: 16px;
    margin: 0;
}
p.lead, ul.lead {
    color: var(--color-secondary);
    font-weight: 400;
}
p.clickable a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: var(--color-secondary);
}
p.lead a {
    text-decoration: none;
    transition: color 0.3s ease;
}
p.lead.small {
    font-style: italic;
    font-size: 12px;
}
p.small {
    font-weight: 400;
    font-size: 12px;
}
p.big {
    font-size: 20px;
    font-weight: 700;
}
p.error {
    color: var(--color-error);
}
h1.primary, h2.primary, h3.primary, h4.primary, p.primary, span.primary {
    color: var(--color-primary);
}
h1.secondary, h2.secondary, h3.secondary, h4.secondary, p.secondary, span.secondary {
    color: var(--color-secondary);
}
h1.tertiary, h2.tertiary, h3.tertiary, h4.tertiary, p.tertiary, span.tertiary {
    color: var(--color-tertiary);
}
h1.light, h2.light, h3.light, h4.light, p.light, span.light {
    color: var(--color-light-gray);
}

/* Buttons */
a.button, button.button {
    text-decoration: none;
    transition: transform 0.5s ease, background 0.5s ease;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}
a.button.big, button.button.big {
    padding: 12px 16px;
    border-radius: var(--radius-small);
}
a.button.small, button.button.small {
    padding: 8px 16px;
    border-radius: var(--radius-large);
}
a.button.primary, button.button.primary {
    background: var(--color-primary);
    color: var(--color-white);
}
a.button.tertiary, button.button.tertiary {
    border: 1px;
    border-style: solid;
    border-color: var(--color-secondary);
    background: var(--color-tertiary);
    color: var(--color-secondary);
}

/* Cards */
.cards {
    margin-top: 40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}
.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px;
    gap: 15px;
    padding: 20px;
    text-decoration: none;
    background: var(--color-white);
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-tertiary);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    transition: border 0.5s ease, transform 0.5s ease;
}
.card.clickable {
    cursor: pointer;
}
.card h2, .card h3, .card p {
    margin: 0;
}
.card-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}
.card-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.card-list > i {
    color: var(--color-primary)
}
.price-container {
    padding: 6px 18px;
    background: var(--color-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-large);
}

/* Header */
.header {
    background: var(--color-light-gray);
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(0,0,0,0.4);
    padding-top: 0px;
    padding-bottom: 0px;
    backdrop-filter: blur(4px);
    float: right;
    flex: 0;
}
.header .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 0;
    gap: 12px;
}
.header-left {
    display: flex;
    align-items: center;
    max-width: 40%;
    gap: 10px
}
.logo {
    display: flex;
}
.logo img {
    object-fit: contain;
    max-width: 100%;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav a {
  margin: 0px;
  padding: 5px 9px;
  border-radius: var(--radius);
  text-decoration:none;
  color:var(--color-tertiary);
  font-weight:600;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--color-tertiary);
  padding: 4px 8px;
}
.nav-toggle .icon-close {
  display: none;
}

/* Footer */
.footer {
    text-align: center;
    justify-content: center;
    background: var(--color-tertiary);
    padding-bottom: 0px;
    flex: 0;
}
.footer-content {
    z-index: 20;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-items: center;
    padding: 20px 0;
    margin: auto;
}
.footer-top {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 25px;
}
.footer-top-card {
    width: 300px;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-top-card.center {
    align-items: center;
    justify-content: center;
}
.footer-top-card .logo img {
    border-radius: var(--radius);
}
.footer-line {
    height: 1px;
    width: 100%;
    background: var(--color-secondary);
    margin: 10px 0;
}
.footer-bottom {
    display: flex;
    flex-direction: row;
}
.footer-copyright {
    flex: 1;
    margin: auto;
}
.footer-credits {
    font-size: 12px;
}
.footer-credits > a {
    color: var(--color-secondary);
    text-decoration: none;
}
.footer p {
    margin: 0;
    text-align: left;
    color: var(--color-secondary)
}
.footer p.title {
    color: var(--color-primary);
}


/* Only enable hover effects on mouse devices */
@media (hover: hover) and (pointer: fine) {
    .button.primary:hover {
        transform: translateY(-3px);
        background: var(--color-primary-hover);
    }
    .button.tertiary:hover {
        background: var(--color-tertiary-hover);
    }

    .card.clickable:hover {
        border-color: var(--color-primary);
        transform: translateY(-3px);
    }
    .card.animated:hover {
        border-color: var(--color-primary);
        transform: translateY(-5px);
    }

    .nav a:hover {
        color: var(--color-primary);
    }

    .footer-top-card p.clickable:hover a {
        color: var(--color-primary);
    }
}


/* Small Screens: < 900px */
@media (max-width:900px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }

    .header-right {
        flex: 1,

    }
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        padding: 6px;
        cursor: pointer;
        color: var(--header-text-light);
        position: relative;
    }
    .nav-toggle .icon-menu {
        display: block;
        transition: opacity 0.3s ease;
    }
    .nav-toggle.open .icon-menu {
        opacity: 0;
    }
    .nav-toggle .icon-close {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .nav-toggle.open .icon-close {
        opacity: 1;
    }
    .nav {
        position: absolute;
        top: 100%;
        right: 56px;
        width: 200px;
        background: var(--color-secondary);
        border: 1px solid rgba(0,0,0,0.3);
        border-radius: var(--radius-small);
        overflow: hidden;
        flex-direction: column;
        z-index: 1000;

        /* collapsed */
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
        max-height 0.5s ease,
        opacity 0.5s ease,
        transform 0.5s ease;
    }
    .nav.open {
        max-height: 600px;      
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav a {
        padding: 12px 14px;
        display: block;
        font-weight: 600;
        border-radius: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}

/* Small Screens: < 500px */
@media (max-width:500px) {
    .header {
        padding: 0 28px;
    }
    .nav {
        right: 28px;
    }
}