@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --text-main: #1a1a1a;
    --text-muted: #999999;
    --border: #eeeeee;
}

body {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-main);
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

/* --- TOP BAR --- */
.top-bar {
    border-bottom: none;
    padding: 20px 0; /* Increased padding to give the big logo room */
}

.top-bar-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensures social icons stay centered with the big logo */
    padding: 0 40px;
}

.top-logo-icon {
    height: 80px; /* Increased from 30px to make it much bigger */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.top-logo-icon:hover {
    transform: scale(1.05); /* Subtle pop effect when hovering */
}

.top-right a {
    text-decoration: none;
    color: var(--text-muted);
    margin-left: 20px;
    font-size: 18px; /* Slightly bigger icons to match the bigger logo */
}

/* --- NAVBAR --- */
.navbar {
    padding: 60px 0 40px 0;
    display: flex;
    justify-content: center;
    border-bottom: none; /* Ensure no line here either */
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 4.5rem;
    margin: 0;
    letter-spacing: -2px;
    cursor: pointer;
    line-height: 1;
}

.nav-separator {
    width: 1px;
    height: 50px;
    background: #ddd;
    margin: 25px 0;
    display: none; /* Controlled by app.js */
}

.current-title {
    font-size: 13px;
    letter-spacing: 6px;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
}

.current-count {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 10px;
    text-transform: uppercase;
}

/* --- GRID --- */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    padding: 0 50px 100px 50px;
    max-width: 1800px;
    margin: 0 auto;
}

/* --- CATEGORY CARDS (Main Page Folders) --- */
.category-card {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 1.2s cubic-bezier(0.15, 0.75, 0.5, 1);
}

.category-card:hover img { transform: scale(1.05); }

.category-card .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0,0,0,0.2);
}

.category-card .title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3rem;
    margin: 0;
}

.category-card .count {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 15px;
}

/* --- ALBUM CARDS (Standard Albums) --- */
.album-card { cursor: pointer; }

.album-card .media-container {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: 20px;
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-card .title {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 400;
}

.album-card .count {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- FOOTER --- */
.footer {
    padding: 40px 0; /* Reduced from 100px to 40px */
    border-top: 1px solid var(--border);
    text-align: center;
    margin-top: 2rem;
    background: #fff;
}

.footer-content p {
    font-size: 9px; /* Slightly smaller for a more "legal" feel */
    letter-spacing: 2px;
    color: var(--text-muted);
    margin: 4px 0;
    text-transform: uppercase;
}

.footer .credits {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px; /* Reduced slightly */
    color: var(--text-main);
    letter-spacing: 0;
    margin-top: 10px; /* Tighter spacing to the text above */
}