/* 
   BRAIN Lab @ UTA Website Styles
   Main stylesheet for the Biomedical Research in AI and Neuroimaging Laboratory website
*/

/* Global Styles and Variables */
:root {
    --primary-color: #0064b1; /* UTA blue */
    --secondary-color: #ff5a00; /* UTA orange */
    --accent-color: #5c068c; /* Purple accent */
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #222222;
    --light-bg: #f5f7fa;
    --gray-bg: #e9ecef;
    --border-color: #dde2e8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
}

.primary-btn:hover {
    background-color: #00518e;
    color: white;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav .menu {
    display: flex;
    gap: 1.5rem;
}

nav .menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav .menu li a:hover, 
nav .menu li a.active {
    color: var(--primary-color);
}

nav .menu li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Lab Overview Section */
.lab-overview {
    background-color: var(--light-bg);
}

.lab-overview p {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.research-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Publications Section */
.recent-publications {
    text-align: center;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.publication-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.publication-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.authors, .journal {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.journal {
    font-style: italic;
    color: #666;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all {
    margin-top: 2rem;
}

/* News Section */
.news-updates {
    background-color: var(--light-bg);
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: var(--shadow);
}

.news-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p, .footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        width: 100%;
        margin-top: 1rem;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 20px;
    }
    
    nav .menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        gap: 0;
        display: none;
    }
    
    nav .menu.active {
        display: flex;
    }
    
    nav .menu li {
        width: 100%;
    }
    
    nav .menu li a {
        display: block;
        padding: 0.8rem 1.5rem;
    }
    
    nav .menu li a.active:after {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .research-highlights,
    .publications-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* About Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.about-mission {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

.light-bg {
    background-color: var(--light-bg);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.focus-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.focus-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.approach-content {
    margin-top: 3rem;
}

.approach-item {
    margin-bottom: 3rem;
}

.approach-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.funding-list {
    list-style: disc;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.funding-list li {
    margin-bottom: 0.5rem;
}

/* Responsive styles for about page */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-image img {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Page Styles */
.team-section {
    padding: 4rem 0;
}

.team-section h2 {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.team-section h2:first-of-type {
    margin-top: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.team-member.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member:not(.featured) .member-photo {
    aspect-ratio: 1;
}

.team-member:not(.featured) h3,
.team-member:not(.featured) .member-title,
.team-member:not(.featured) .member-bio,
.team-member:not(.featured) .member-links {
    padding: 0 1.5rem;
}

.team-member:not(.featured) h3 {
    margin-top: 1.5rem;
}

.team-member:not(.featured) .member-links {
    padding-bottom: 1.5rem;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.member-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.member-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    text-decoration: none;
}

.member-links a i {
    color: var(--primary-color);
}

.member-links a:hover {
    color: var(--primary-color);
}

.join-us-section {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.join-us-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.join-option {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.join-option h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive styles for team page */
@media (max-width: 992px) {
    .team-member.featured {
        grid-template-columns: 1fr;
    }
    
    .team-member.featured .member-photo {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .join-options {
        grid-template-columns: 1fr;
    }
    
    .join-us-section {
        padding: 2rem;
    }
}

/* Project Page Styles */
.projects-overview {
    padding-bottom: 2rem;
}

.project-card-section {
    padding: 4rem 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.project-header {
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
}

.project-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.project-icon i {
    font-size: 1.5rem;
    color: white;
}

.project-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h4 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.project-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.project-content ul li {
    margin-bottom: 0.5rem;
}

.project-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.pdf-link i {
    margin-right: 0.5rem;
}

.pdf-link:hover {
    color: var(--secondary-color);
}

.tools-resources {
    padding: 4rem 0;
}

.tools-grid {
    margin-top: 2rem;
}

.tool-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem;
}

.tool-icon i {
    font-size: 1.8rem;
    color: white;
}

.tool-info {
    flex-grow: 1;
}

.tool-info h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.github-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-weight: 600;
}

.github-link i {
    margin-right: 0.5rem;
}

.collaborations {
    padding: 4rem 0;
}

.collaborations-list {
    margin-top: 2rem;
}

.collaboration-item {
    margin-bottom: 2rem;
}

.collaboration-item h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.info-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-icons.large a {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-form-container {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.join-us-section {
    padding: 4rem 0;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.opportunity-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    height: 100%;
}

.opportunity-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.opportunity-card h4 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.opportunity-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    list-style-type: disc;
}

.opportunity-card ul li {
    margin-bottom: 0.5rem;
}

.visit-us {
    padding: 4rem 0;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.map-placeholder {
    background-color: #f0f0f0;
    height: 350px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #777;
}

.directions {
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.directions h3 {
    margin-top: 0;
}

.directions h4 {
    margin: 1.5rem 0 0.5rem;
}

/* Media Queries for Project and Contact Pages */
@media (max-width: 992px) {
    .project-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid,
    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-card {
        width: 100%;
    }
    
    .tool-item {
        flex-direction: column;
    }
    
    .tool-icon {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .project-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-links .btn,
    .project-links .pdf-link {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .project-header {
        flex-direction: column;
        text-align: center;
    }
    
    .project-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.empty-section-message {
    padding: 2rem;
    text-align: center;
    background-color: #f5f7fa;
    border-radius: 8px;
    font-style: italic;
    color: #666;
    width: 100%;
    margin: 1rem 0;
}

/* Grants Page Styles */
.grants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.grant-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grant-card:hover {
    transform: translateY(-5px);
}

.grant-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.grant-details {
    color: #666;
}

.grant-details strong {
    color: #2c3e50;
}

.grant-resources {
    padding: 4rem 0;
}

.resources-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.resource-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #2c3e50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.resource-link:hover {
    background: #34495e;
} 