/* ============================================================
   YVOKE: Layout: Containers, Navigation, Footer
   Extracted from base.html inline styles
   ============================================================ */

/* ============================================================
   CONTAINERS
   ============================================================ */
.yvoke-container {
    max-width: var(--yvoke-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.yvoke-container-wide {
    max-width: var(--yvoke-max-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.yvoke-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--yvoke-border);
    transition: box-shadow 0.3s ease;
}

.yvoke-nav-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.yvoke-nav-inner {
    max-width: var(--yvoke-max-wide);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--yvoke-nav-height);
}

.yvoke-nav-logo { flex-shrink: 0; }
.yvoke-nav-logo img { height: 42px; width: auto; display: block; }

.yvoke-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.yvoke-nav-links a {
    font-family: var(--yvoke-font);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--yvoke-text-mid);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.yvoke-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--yvoke-purple);
    transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.yvoke-nav-links a:hover {
    color: var(--yvoke-purple);
    text-decoration: none;
}

.yvoke-nav-links a:hover::after { width: 100%; }

.yvoke-nav-links .yvoke-nav-cta,
.yvoke-nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--yvoke-purple);
    color: var(--yvoke-white) !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border-radius: 3px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.yvoke-nav-cta:hover {
    background: var(--yvoke-purple-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 45, 110, 0.25);
    text-decoration: none !important;
    color: var(--yvoke-white) !important;
}

.yvoke-nav-cta::after { display: none !important; }

/* Hamburger */
.yvoke-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.yvoke-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--yvoke-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.yvoke-nav-toggle.yvoke-nav-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.yvoke-nav-toggle.yvoke-nav-open span:nth-child(2) { opacity: 0; }
.yvoke-nav-toggle.yvoke-nav-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.yvoke-nav-mobile {
    display: none;
    position: absolute;
    top: var(--yvoke-nav-height);
    left: 0;
    right: 0;
    background: var(--yvoke-white);
    border-bottom: 1px solid var(--yvoke-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.yvoke-nav-mobile.yvoke-nav-mobile-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.yvoke-nav-mobile a {
    display: block;
    font-size: 1.05rem;
    color: var(--yvoke-text-mid);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--yvoke-border);
    text-decoration: none;
}

.yvoke-nav-mobile a:last-child { border-bottom: none; }
.yvoke-nav-mobile a:hover { color: var(--yvoke-purple); text-decoration: none; }

.yvoke-nav-mobile .yvoke-nav-cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem 1.4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.yvoke-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 3rem;
}

.yvoke-footer-inner {
    max-width: var(--yvoke-max-wide);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.yvoke-footer-brand { max-width: 380px; }

.yvoke-footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 1.2rem;
    filter: brightness(0) invert(1);
}

.yvoke-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.yvoke-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.yvoke-footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.yvoke-footer-nav a:hover { color: var(--yvoke-white); text-decoration: none; }

.yvoke-footer-bottom {
    max-width: var(--yvoke-max-wide);
    margin: 0 auto;
    padding: 2.5rem 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yvoke-footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}
