/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
}

/* 2. Fullscreen background and layout shell */
.fullscreen-bg {
    background-image: url("images/nm-photos/face-pic.webp");
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 24px;
}

/* 3. Shared navigation stack in the top-left corner */
.site-nav-stack {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10005;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 180px;
}

.menu-toggle {
    width: 180px;
    height: 42px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #111111;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
    text-decoration: none;
    line-height: 1;
}

/* Dropdown container in the top-left corner */
.menu-dropdown {
    position: relative;
    width: 150px;
}

.menu-toggle {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #111111;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 0;
    line-height: 1;
}

.menu-toggle::-webkit-details-marker {
    display: none;
}

.menu-links {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 220px;
}

.nav-accordion {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: stretch;
    width: 100%;
    padding: 0;
}

.nav-accordion > summary {
    list-style: none;
    width: 100%;
}

.nav-accordion > summary::-webkit-details-marker {
    display: none;
}

.submenu {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: stretch;
    width: 100%;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    background: transparent;
}

.submenu-guide {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

.submenu-guide path {
    fill: none;
    stroke: #000000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 1 8;
    animation: submenuDotsUp 1.4s linear infinite reverse;
}

@keyframes submenuDotsUp {
    to {
        stroke-dashoffset: -18;
    }
}

/* 4. Navigation button styling */
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #ffffff;
    color: #111111;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
    border: 1px solid #111111;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.nav-btn:hover {
    background-color: #EC133E;
    color: #ffffff;
    border-color: #EC133E;
    transform: translateY(-1px);
}

.nav-btn:active {
    transform: scale(0.98);
}

.submenu .nav-btn {
    width: calc(100% - 6px) !important;
    max-width: none !important;
    margin-left: 6px !important;
    margin-right: 0 !important;
    padding: 12px 16px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #FFFFFF;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center;
    box-sizing: border-box !important;
}

.submenu .nav-btn:hover {
    background-color: #000000;
    color: #EC133E;
    border-color: #EC133E;
}

/* ==========================================
   ABOUT PAGE STYLES 
   ========================================== */

/* 1. Fullscreen picture container */
.about-bg {
    background-image: url("images/nm-photos/face-pic.webp");
    height: 100vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* Centers the text card neatly over the image */
    display: flex;
    justify-content: flex-start; /* Aligns card to the left side so your face stays visible on the right */
    align-items: center;
    padding: 0 10%; /* Keeps it away from the extreme edges */
}

/* 2. The Frosted Glass Text Card */
.about-card {
    background-color: rgba(255, 255, 255, 0.85); /* Clean white tint */
    backdrop-filter: blur(10px); /* Gives a premium blurred glass look over the photo background */
    -webkit-backdrop-filter: blur(10px);
    
    padding: 40px;
    border-radius: 16px;
    max-width: 500px; /* Restricts the card from covering the whole picture */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Typography styles for your content */
.about-card h1 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.about-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.6; /* Adds breathing room between sentences */
    margin-bottom: 20px;
}

/* 3. The Back Button inside the card */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease-in-out;
    margin-top: 0;
}

.back-btn:hover {
    background-color: #ffffff;
    color: #111111;
}

.about-nav-stack {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10005;
}

.about-nav-stack .back-btn.gallery-nav {
    position: relative;
    top: auto;
    left: auto;
    z-index: auto;
}
/* ==========================================
   NEWS TICKER BOTTOM BANNER STYLES 
   ========================================== */

/* 1. The Banner ribbon anchored at the absolute bottom */
.news-ticker-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #EC133E;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* 2. The Ticker Track & Seamless Loop */
.ticker-track {
    display: flex;
    width: max-content;
    animation: newsCrawl 28s linear infinite;
}

.ticker-text {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
    white-space: nowrap;
    padding-right: 3ch;
}

/* 3. The Infinite Moving Loop */
@keyframes newsCrawl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
/* Anchors the back button cleanly in the top left corner */
.back-btn.top-left-anchor {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10000; /* Keeps it layered cleanly over your portrait background */
}
/* About-page contact and statement actions */
.about-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: max-content;
}

.email-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #111111;
    color: #EC133E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.75);
    text-decoration: none;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
}

.email-box:hover {
    color: #EC133E;
}

.about-actions .email-box,
.statement-details,
.statement-trigger {
    width: 100%;
}

/* Position anchoring for the box */
.email-box.bottom-right-anchor {
    position: absolute;
    bottom: auto;
    right: auto;
    z-index: auto;
}

.about-actions.bottom-right-anchor {
    position: absolute;
    bottom: 96px;
    right: 40px;
    z-index: 10000;
}

.statement-details {
    position: relative;
}

.statement-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #111111;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
}

.statement-trigger::-webkit-details-marker {
    display: none;
}

.statement-trigger:hover,
.statement-close:hover {
    color: #EC133E;
}

.statement-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: min(520px, calc(100vw - 48px));
    max-height: 55vh;
    overflow-y: auto;
    padding: 24px;
    background-color: rgba(17, 17, 17, 0.98);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    font-family: "Geist", "Geist Mono", "Arial Narrow", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.statement-panel p {
    margin: 0 0 16px;
}

.statement-panel p:last-child {
    margin-bottom: 0;
}

.statement-link {
    color: #EC133E;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.statement-link:hover {
    color: #ffffff;
}

.statement-close {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 0;
    background: transparent;
    color: #ffffff;
    border: 0;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}