/* Navigation Dropdown Styles */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 260px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 0;
}

.dropdown-content a {
    display: block;
    padding: 12px 22px;
    text-decoration: none;
    color: #333;
    font-size: 17px;
    text-transform: none;
    font-variant: normal;
}

.dropdown-content a {
    text-transform: none !important;
    font-variant: normal !important;
}
}

.dropdown-content a:hover {
    background: #f8f8f8;
    color: #d48b00;
}
/* Gary Eckstein | Global Styles
    Minimalist Black & White Theme
*/

:root {
    --bg: #ffffff;
    --text: #000000;
    --border: #000000;
    --hover-bg: #f8f8f8;
    --accent-red: #b91c1c; /* Kept for specific highlights/links */
}

/* Base Reset */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    display: flex;
    justify-content: center;
}

/* Main Container - Widened to 1000px per request */
.wrapper { 
    width: 100%; 
    max-width: 1000px; 
    padding: 40px 20px; 
}

/* Header & Navigation */
header { 
    border-bottom: 2px solid var(--border); 
    margin-bottom: 40px; 
    padding-bottom: 20px; 
}

h1 { 
    margin: 0; 
    font-size: 2.2rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}


nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

nav > a,
nav > .dropdown {
    display: inline-block;
    vertical-align: middle;
}

nav > a {
    text-decoration: none;
    color: var(--text);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin: 0 2px;
}


nav > a:hover {
    text-decoration: underline;
}

.dropbtn {
    text-decoration: none !important;
}

.dropbtn:hover {
    text-decoration: none !important;
}

.dropdown-content {
    left: 0;
    min-width: 260px;
    text-align: left;
}

.dropdown-content a {
    display: block;
    padding: 12px 22px;
    text-decoration: none;
    color: #333;
    font-size: 17px;
    text-transform: none !important;
    font-variant: normal !important;
    text-align: left;
}

.dropdown-content a:hover {
    background: #f8f8f8;
    color: #d48b00;
}

/* Main Content Area */
main {
    min-height: 50vh;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Project List (Homepage) */
.page-list { 
    list-style: none; 
    padding: 0; 
}

.page-list li { 
    border: 1px solid var(--border); 
    margin-bottom: 15px; 
    transition: background 0.2s, transform 0.1s; 
}

.page-list li:hover { 
    background: var(--hover-bg); 
    transform: translateX(5px);
}

.page-list a { 
    display: block; 
    padding: 25px; 
    text-decoration: none; 
    color: var(--text); 
    font-size: 1.3rem; 
    font-weight: bold;
}

.page-list .sub-text {
    display: block;
    font-size: 0.95rem;
    font-weight: normal;
    margin-top: 8px;
    color: #555;
}

/* Footer Section */
footer { 
    margin-top: 80px; 
    padding-top: 30px; 
    border-top: 1px solid #eee; 
    text-align: center; 
}

/* Social Sharing Icons */
.share-container { 
    margin-bottom: 30px; 
}

.share-container p {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.share-icons { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
}

.share-icons a { 
    transition: transform 0.2s ease; 
}

.share-icons a:hover { 
    transform: translateY(-5px); 
}

.share-icons img { 
    filter: grayscale(100%); 
    opacity: 0.7;
    transition: all 0.2s ease;
}

.share-icons a:hover img { 
    filter: grayscale(0%); 
    opacity: 1;
}

/* Links */
a {
    color: inherit;
}

.footer-credit a {
    text-decoration: none;
    font-weight: bold;
}

.footer-credit a:hover {
    color: var(--accent-red);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wrapper {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .share-icons {
        gap: 15px;
    }
}