/* 1. COOLER FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Montserrat:wght@600;800&display=swap');

/* Dark Academia / Professional Theme */
body {
    font-family: 'Georgia', serif;
    background-color: #fcfaf7; /* Off-white parchment color */
    color: #2c2c2c;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Horizontal Ribbon Navigation */
.ribbon {
    background-color: #2c3e50; /* Deep navy/slate */
    display: flex;
    justify-content: center;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ribbon a {
    color: white;
    text-decoration: none;
    margin: 0 25px;
    font-size: 1.1rem;
    font-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.ribbon a:hover {
    opacity: 0.7;
}

/* Header Section */
.main-header {
    text-align: center;
    padding: 60px 20px 20px;
}

.main-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.social-icons {
    font-size: 1.5rem;
}

.social-icons a {
    color: #2c3e50;
    margin: 0 15px;
    text-decoration: none;
    transition: transform 0.2s;
    display: inline-block;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Content & Image */
.content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%; /* Makes it a circle */
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.intro p {
    font-style: italic;
    font-size: 1.35rem; /* Increased from 1.2rem */
    color: #555;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Reduced from 20px to 5px to sit closer to the header */
    margin-top: 5px; 
    padding-top: 0;
}

.skill-tag {
    background-color: #2c3e50;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

/* About Page Specific Styles */
.bio {
    margin-bottom: 50px;
    text-align: left;
}

.experience-section {
    text-align: left;
}

.job {
    margin-bottom: 30px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.4rem; /* Increased from 1.2rem */
    color: #2c3e50;
}

.job-sub {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
    font-size: 1.1rem; /* Scaled */
}

.job ul {
    margin-top: 5px;
    padding-left: 20px;
}

.job li {
    margin-bottom: 8px;
    font-size: 1.15rem; /* Increased from 1rem */
}

/* Highlights the link for the page you are currently on */
.ribbon a.active {
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
    font-weight: bold;
}

/* Optional: Adds a bit of space for the titles on sub-pages */
h2 {
    font-size: 2.5rem; /* Increased from 2.2rem */
    margin-top: 40px;
    border-bottom: 1px solid #ddd;
    display: inline-block;
    padding-bottom: 10px;
}

/* General Layout Spacing */
.section-block {
    margin-bottom: 20px;
    text-align: left;
}

.entry {
    margin-bottom: 25px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.3rem; /* Increased from 1.15rem */
    color: #2c3e50;
}

.entry-sub {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 2px;
    font-size: 1.1rem; /* Scaled */
}

.entry-detail {
    margin: 0; /* Removes all top and bottom spacing */
    padding: 0;
    font-size: 1.1rem; /* Increased from 0.95rem */
    color: #555;
    line-height: 1.3; /* Tightens the space between the two lines of text */
}

/* Adds a small, controlled 8px gap ONLY above the detail block */
.entry-sub-wrapper + .entry-detail {
    margin-top: 8px;
}















/* 7. PERSONAL GRID SYSTEM */
.personal-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    width: 95% !important;
    max-width: 1200px !important;
    /* Reduced top margin to 0 to sit right under the subtitle */
    margin: 0 auto 100px !important; 
    padding: 0 20px !important;
}

.tile {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* Perfect square */
    min-height: 300px !important; /* Prevents collapsing */
    background-color: #2c3e50;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.tile:hover .tile-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.tile-overlay span {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.5px;
    padding: 0 15px;
}

/* 8. MISC UTILITIES */
.company-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.company-link:hover {
    text-decoration: underline;
}

.social-icons {
    font-size: 1.5rem;
    margin-top: 20px;
}

.social-icons a {
    color: #2c3e50;
    margin: 0 15px;
    transition: transform 0.2s;
    display: inline-block;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* 9. RESPONSIVE DESIGN */
@media (max-width: 850px) {
    .personal-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .personal-grid {
        grid-template-columns: 1fr !important;
    }
    .page-title {
        font-size: 2.5rem;
    }
    .job-header, .entry-header {
        flex-direction: column;
    }
}

.entry-sub-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
    margin-top: 2px;
}

.entry-grade {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
    text-align: right; /* Ensuring alignment logic */
}

/* Specific spacing for Education sections */
.edu-gap {
    margin-bottom: 70px !important; /* Adjust this number to get the exact "line" height you want */
}




/* Tightens space between any H2 and the list immediately following it */
h2 + .interests-list {
    margin-top: 10px;
    padding-top: 0px;
}

h2 {
    margin-bottom: 10px; /* Reduced from 10px/25px */
}

/* FIX: Pins GPA to the right */
.entry-sub-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
    margin-top: 2px;
}

.entry-grade {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.15rem;
    text-align: right;
}

/* Education Spacing */
.edu-gap {
    margin-bottom: 60px !important;
}


.page-title {
    /* 1. Reset any width restrictions */
    width: 100% !important;
    max-width: none !important;
    
    /* 2. Force text alignment */
    text-align: center !important;
    
    /* 3. Ensure it's a block element that takes up the full row */
    display: block !important;
    
    /* 4. Font and Spacing */
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 60px 0 30px !important;
    
    /* 5. Clear any side padding that could push it off-center */
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Tightens the gap specifically for the Interests section */
h2 + .interests-list {
    margin-top: 0;
    padding-top: 5px;
}

.interests-list {
    text-align: left;
    margin-top: 0;
}


.page-subtitle {
    text-align: center;
    width: 100%;
    display: block;
    /* Reduced bottom margin to 15px */
    margin: 0 auto 15px; 
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    line-height: 1.6;
    padding: 0 20px;

    /* Typography */
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #555;
    max-width: 800px; /* Keeps line length readable */
    line-height: 1.6;
    padding: 0 20px; /* Prevents text from hitting screen edges on mobile */
}




/* Gallery Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.gallery-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

/* The Expandable Section */
details {
    padding: 15px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

summary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
    outline: none;
    list-style: none; /* Removes the default arrow in some browsers */
}

summary::before {
    content: "+ "; /* Custom indicator */
    color: #7f8c8d;
}

details[open] summary::before {
    content: "- ";
}

details p, .simple-caption p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-top: 10px;
}

.simple-caption {
    padding: 15px;
}
















/* Top Shelf: Featured books with dark background and white text */
.top-shelf {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.shelf-item.featured {
    flex: 1;
    min-width: 280px; 
    background: #2c3e50;
    color: #ffffff !important; /* Forces all base text to white */
    padding: 40px;
    border-radius: 0;
    box-sizing: border-box;
}

.shelf-item.featured h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.shelf-item.featured .author {
    color: #ecf0f1 !important; /* Slightly softer white for contrast */
    font-weight: 600;
    margin-bottom: 15px;
}

.shelf-item.featured .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bdc3c7 !important; /* Muted silver for the category label */
    display: block;
    margin-bottom: 10px;
}

.shelf-analysis p {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

/* Library Grid: The "Grid Paper" effect for recent books */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1px; 
    background-color: #eee; 
    border: 1px solid #eee;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.shelf-item {
    background: #fff; 
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.3s ease;
}

.shelf-item:not(.featured):hover {
    background: #fcfcfc;
}

.shelf-item h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    line-height: 1.3;
    color: #333;
}

.shelf-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Headers and Dividers */
.list-header-container {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.list-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #333;
    margin-bottom: 10px;
}

.shelf-divider {
    border: 0;
    height: 1px;
    background: #333; /* Acts as the "shelf" for the grid */
    margin: 0 0 20px 0;
    width: 100%;
}







.art-masonry {
    column-count: 3; /* 3 columns on desktop */
    column-gap: 20px;
    max-width: 1200px;
    margin: 40px auto 100px;
    padding: 0 20px;
}

.art-card {
    background: #fff;
    margin-bottom: 20px; /* Space between stacked items */
    break-inside: avoid; /* Prevents cards from splitting between columns */
    border: 1px solid #eee;
    padding: 10px;
    transition: transform 0.3s ease;
}

.art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.art-card img {
    width: 100%;
    height: auto; /* Maintains original aspect ratio */
    display: block;
    margin-bottom: 10px;
}

.art-card summary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: #2c3e50;
}

.art-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin-top: 10px;
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .art-masonry {
        column-count: 1;
    }
}











.theatre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 100px;
    padding: 0 20px;
}

.showcard {
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.showcard:hover {
    transform: translateY(-5px);
}

.showcard-image {
    position: relative;
    width: 100%;
    height: 450px; /* Traditional Playbill aspect ratio */
    overflow: hidden;
}

.showcard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcard-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.9); /* Dark scholarly blue */
    padding: 10px;
    text-align: center;
}

.venue-tag {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.showcard-content {
    padding: 20px;
}

.show-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: #333;
}

.show-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.showcard-content summary {
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: #2980b9;
}

.showcard-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 10px;
}












.maintenance-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.placeholder-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    text-align: left;
    margin-top: 40px;
    box-shadow: 10px 10px 0px #2c3e50; /* Hard shadow for that rigorous look */
}

.placeholder-header {
    background: #2c3e50;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    height: 8px;
    width: 8px;
    background-color: #e67e22; /* Warning orange */
    border-radius: 50%;
    display: inline-block;
}

.status-text {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.placeholder-content {
    padding: 40px;
}

.placeholder-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}

.beta-list {
    list-style: none;
    padding: 0;
}

.beta-list li {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.beta-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2c3e50;
}

.beta-footer {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 20px;
}








.art-masonry {
    column-count: 3;
    column-gap: 20px;
    max-width: 1200px;
    margin: 40px auto 100px;
}

.art-card {
    background: #fff;
    margin-bottom: 20px;
    break-inside: avoid;
    border: 1px solid #eee;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.art-card img {
    width: 100%;
    height: auto;
    display: block;
}

.caption-box {
    padding: 15px 5px 5px 5px;
}

.caption-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.caption-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* 1 Column for Mobile */
@media (max-width: 768px) {
    .art-masonry { column-count: 1; }
}