/* Jon Barron Academic Portfolio Style */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Links */
a {
    color: #1772d0;
    text-decoration: none;
}

a:hover {
    color: #f09228;
}

/* Name styling */
.name {
    font-size: 32px;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

/* Section headers */
h2 {
    font-size: 22px;
    font-weight: normal;
    color: #333333;
    margin: 0 0 10px 0;
    padding: 0;
    border-bottom: 1px solid #999;
    padding-bottom: 5px;
}

/* Paragraphs */
p {
    margin: 0 0 10px 0;
}

/* Paper/Project titles */
.papertitle {
    font-size: 14px;
    font-weight: bold;
    color: #224b8d;
}

.papertitle:hover {
    color: #f09228;
}

/* Author names */
strong {
    font-weight: bold;
}

/* Highlight for featured projects */
tr.highlight {
    background-color: #ffffd0;
}

/* Highlight text span */
span.highlight {
    background-color: #ffffd0;
    padding: 1px 4px;
}

/* Project images container */
.one {
    width: 280px;
    height: 210px;
    position: relative;
    overflow: hidden;
}

.one img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #ddd;
}

/* Hover effect for images */
.hoverZoomLink {
    transition: transform 0.3s ease;
}

.hoverZoomLink:hover {
    transform: scale(1.02);
}

/* Table styling */
table {
    border-collapse: separate;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

/* Responsive adjustments */
@media screen and (max-width: 1100px) {
    body {
        padding: 10px;
    }
    
    .name {
        font-size: 24px;
    }
    
    table {
        width: 100% !important;
    }
    
    td {
        display: block;
        width: 100% !important;
        padding: 10px !important;
    }
    
    .one {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    
    .one img {
        width: 100%;
        height: auto;
    }
}

/* Publication venue styling */
em {
    font-style: italic;
    color: #555;
}

/* Code/Project links styling */
td p a {
    font-size: 13px;
}

/* Skills section */
td p strong {
    color: #224b8d;
}

/* Footer */
p[style*="text-align:center"] {
    color: #999;
}

/* Smooth transitions */
* {
    transition: color 0.2s ease;
}

/* Profile photo specific */
img[alt="profile photo"] {
    border: 3px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    a {
        color: #224b8d;
    }
    
    tr.highlight {
        background-color: #f5f5f5;
    }
}
