/* Custom styles for Physics × Data Science portfolio */

/* Custom list styles for feature lists */
.features-list {
    list-style: none;
    margin: 1em 0;
    padding: 0;
}

.features-list li {
    margin: 0.5em 0;
    padding-left: 1.5em;
    position: relative;
}

.features-list li:before {
    content: "▶";
    color: #6cc04a;
    position: absolute;
    left: 0;
    top: 0;
}

/* Actions list for collaboration links */
.actions-list {
    list-style: none;
    margin: 1em 0;
    padding: 0;
}

.actions-list li {
    margin: 0.5em 0;
}

/* Enhanced intro section with JSA_profile.jpg background */
#intro {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('../../images/JSA_profile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    min-height: 100vh;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

#intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: background 0.3s ease;
}

#intro .inner {
    position: relative;
    z-index: 2;
    padding: 10rem 2rem 8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

#intro h1 {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

#intro h2 {
    font-size: 2em;
    font-weight: 300;
    margin-bottom: 2em;
    color: #ffeb3b;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#intro .intro-content {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 3em;
    color: #f8f8f8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#intro .intro-content p {
    margin-bottom: 1.5em;
}

/* Dark theme with JSA profile background for all sections */
.wrapper.style2 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../../images/JSA_profile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.wrapper.style3 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../../images/JSA_profile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.wrapper.style2 h2,
.wrapper.style2 h3,
.wrapper.style3 h2,
.wrapper.style3 h3 {
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.wrapper.style2 p,
.wrapper.style3 p {
    color: #f8f8f8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Enhanced project sections with dark theme */
.spotlights section .content .inner h2 {
    color: #ffeb3b;
    border-bottom: 2px solid #ffeb3b;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.spotlights section .content .inner p {
    color: #f8f8f8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Skills section icons with physics theme */
.features section .icon.major {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
}

/* Contact section with photo background */
#contact {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../../images/JSA_profile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

#contact h2,
#contact h3 {
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#contact p {
    color: #f8f8f8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#contact .contact li:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Footer with physics theme */
#footer {
    background: #1a1a2e;
    border-top: 3px solid #6cc04a;
}

/* Responsive typography improvements */
@media screen and (max-width: 736px) {
    #intro h1 {
        font-size: 2.5em;
    }
    
    #intro h2 {
        font-size: 1.4em;
    }
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Add subtle animations */
.features section,
.spotlights section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Button enhancements */
.button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.button.primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Physics symbols and mathematical typography */
.math-symbol {
    font-family: 'Times New Roman', serif;
    font-style: italic;
}

/* Loading animation for better UX */
.is-preload #intro {
    opacity: 0;
    transform: translateY(50px);
}

body:not(.is-preload) #intro {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
}

/* News section styling with photo background */
#news {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../../images/JSA_profile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.news-timeline {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    border-left: 4px solid #6cc04a;
}

.timeline-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.timeline-list li {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    border-left: 3px solid #667eea;
    color: #e0e0e0;
}

.timeline-list li strong {
    color: #6cc04a;
}