/*
Theme Name: Jimmy Cruise Theme
Description: A custom theme for Friends of Jimmy K. Cruise.
Author: Assistant
Version: 1.0
*/

:root {
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --accent-gradient: linear-gradient(135deg, #004b87 0%, #002855 100%);
    --input-bg: #ffffff;
    --border-color: #d1d5db;
    --glass-border: rgba(0, 0, 0, 0.05);
    --primary-color: #004b87;
    --text-color: #111827;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 75, 135, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(251, 176, 52, 0.1) 0px, transparent 50%);
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    box-sizing: border-box;
    flex: 1;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
}

h1, .entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

h2:first-of-type {
    margin-top: 0;
}

/* Header Title Styles */
.site-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.site-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
    transition: opacity 0.2s;
}

.site-title:hover {
    opacity: 0.8;
}

/* Top Bar Layout */
.top-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Breadcrumbs Styles */
.breadcrumbs {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--text-main);
}

.breadcrumbs .separator {
    color: var(--border-color);
    margin: 0 0.25rem;
}

.breadcrumbs span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

/* Hamburger Menu Styles */
.hamburger-nav {
    display: flex;
    position: relative;
    z-index: 100;
}

.hamburger-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
    position: absolute;
    top: 50px;
    left: 0; /* Align dropdown to the left edge of the hamburger button */
    margin: 0; /* Reset UL margin */
    padding: 0.5rem 0; /* Match UL padding to existing padding */
    list-style: none; /* Remove bullet points */
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    flex-direction: column;
    min-width: 200px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.nav-menu li {
    width: 100%;
    box-sizing: border-box;
}

.nav-menu a, .nav-menu li a {
    color: var(--text-color);
    padding: 12px 20px;
    display: block; /* Make sure <a> fills <li> */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    border-left: 3px solid transparent;
}

.nav-menu a:hover, .nav-menu li a:hover {
    background-color: rgba(0, 75, 135, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}
