/* ===========================================================
   Lumaris Studios — Clean Production Stylesheet (v4)
   Dark/Light theme compatible (via theme.css)
   =========================================================== */

/* -------------------------------
   GLOBAL RESET
-------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, div, .container, a, span, li, h1, h2, h3, h4, h5, h6, button, input, textarea, ::before, ::after {
    transition: background-color 0.9s ease, color 0.9s ease, border-color 0.9s ease, fill 0.9s ease, stroke 0.9s ease;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Display font for headers + brand */
h1, h2, h3, .brand, .nav-menu a {
    font-family: "JetBrains Mono", monospace;
    letter-spacing: -0.5px;
}

/* Containers */
.container {
    width: min(100% - 2 * var(--space), var(--max-width));
    margin-inline: auto;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space);
}

.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}

/* Cards */
.card {
    background: var(--color-panel);
    border: 1px solid var(--color-accent-dk);
    padding: var(--space);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

ul {
    list-style-type: disc;
    list-style-position: inside;
    margin: 0.5rem 0 0.5rem 0;
    padding-left: 0.0rem;
    line-height: 1.5;
}

/* -------------------------------
   HEADER / NAVIGATION (CLEAN)
   Matches header.html with:
   - .nav-bar.container
   - .nav-menu-desktop (desktop only)
   - .nav-menu-mobile (mobile only)
-------------------------------- */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--color-bg) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-accent-dk);
}

/* Header bar */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

/* Brand */
.brand {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(1.8rem, 5vw, 2.6rem); /* bigger brand */
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    padding-left: 0.35rem;
}

/* Reset bullets + links for both menus */
.nav-menu-desktop li,
.nav-menu-mobile li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-desktop a,
.nav-menu-mobile a {
    padding: 0.35rem 0;
    text-decoration: none;
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 500;
    /*transition: color 0.25s ease, opacity 0.25s ease;*/
}

.nav-menu-desktop a:hover,
.nav-menu-mobile a:hover {
    color: var(--color-accent);
    text-shadow: 0 0 6px rgba(214, 177, 94, 0.45);
    opacity: 1;
}

.nav-menu-mobile a {
    font-size: 1.25rem;        /* bigger mobile menu entries */
    font-weight: 600;
    line-height: 1.4;
}

/* -------------------------------
   Hamburger (mobile)
-------------------------------- */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid var(--color-text);
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    margin-inline: auto;
    background: var(--color-text);
    border-radius: 2px;
    /*transition: transform 0.25s ease, opacity 0.25s ease;*/
}

/* Turn into X when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------
   Mobile menu (dropdown)
-------------------------------- */
.nav-menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1.25rem;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: var(--color-panel);
    border-bottom: 1px solid var(--color-accent-dk);
    /*transition: max-height 0.35s ease, opacity 0.35s ease;*/
}

.nav-menu-mobile.open {
    max-height: 260px;        /* plenty for 4–6 links */
    opacity: 1;
    visibility: visible;
    padding-bottom: 1.25rem;
}

/* Desktop menu hidden on mobile */
.nav-menu-desktop {
    display: none;
    gap: 2rem;
}

/* Tiny screens: slightly smaller brand */
@media (max-width: 480px) {
    .brand {
        font-size: 2rem;
    }
}

/* -------------------------------
   Desktop layout
-------------------------------- */
@media (min-width: 720px) {

    .hamburger {
        display: none;
    }

    .nav-menu-mobile {
        display: none;
    }

    .nav-menu-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-menu-desktop a {
    font-size: 1.15rem;        /* bigger */
    font-weight: 600;          /* bolder */
    letter-spacing: 0.5px;     /* subtle premium spacing */
}
}




/* -------------------------------
   HERO
-------------------------------- */
.hero {
    padding-block: clamp(3rem, 8vw, 7rem);
}

.hero h1 {
    font-size: var(--fs-1);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lead {
    color: var(--color-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* -------------------------------
   NEWSLETTER
-------------------------------- */
.newsletter-container {
    background: var(--color-panel);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--color-accent);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 4rem;

    /* Hybrid Glow */
    box-shadow:
        0 0 25px rgba(214, 177, 94, 0.40),
        0 0 60px rgba(214, 177, 94, 0.22),
        inset 0 0 12px rgba(214, 177, 94, 0.16);
}

.signup {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.signup input {
    flex: 1 1 260px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--color-accent-dk);
    background: var(--color-panel);
    color: var(--color-text);
}

.signup button {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--color-accent-dk);
    background: var(--color-accent);
    color: var(--color-bg);
    font-weight: 600;
    cursor: pointer;
}

.signup button:hover {
    filter: brightness(1.07);
}

/* -------------------------------
   LINKS
-------------------------------- */
a,
.gold-link {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    filter: brightness(1.15);
}

/* Underline for section titles */
.gold-underline {
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 0.35rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* -------------------------------
   FOOTER
-------------------------------- */
.site-footer {
    padding-block: 3rem;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.theme-toggle-wrapper {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.theme-toggle {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    background: none;
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    color: var(--color-accent);
    cursor: pointer;
    /*transition: opacity 0.25s ease, box-shadow 0.25s ease;*/
}

.theme-toggle:hover {
    opacity: 0.75;
    box-shadow:
        0 0 10px rgba(214, 177, 94, 0.35),
        0 0 20px rgba(214, 177, 94, 0.22);
}

/* -------------------------------
   SKIP LINK
-------------------------------- */
.skip {
    position: absolute;
    top: -999px;
    left: -999px;
}

.skip:focus {
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    z-index: 1000;
}




/* Hide the <br> tag by default on larger screens */
.mobile-only-break {
  display: none;
}

/* Show the <br> tag only on screens with a maximum width (e.g., 767px for mobile) */
@media (max-width: 767px) {
  .mobile-only-break {
    display: block; /* or inline-block, depending on desired behavior */
  }
}



@media (max-width: 767px) { /* Adjust the max-width value as needed for your definition of "mobile" */
  .no-dot-on-mobile {
    display: none;
  }
}