/* UR2NLP Lab Styles */

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #001E5F; /* UR Navy */
}

.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #FFD82B; /* Dandelion Yellow accent */
}

/* Links - UR Brand Colors */
a {
    color: #0066FD; /* Arpeggio Azure */
    text-decoration: none;
}

a:hover {
    color: #003EFF; /* Quantum Cobalt */
    text-decoration: none;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lab-name {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-logo {
    height: 32px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background-color: #001E5F; /* UR Navy */
    color: white;
}

.hero-section h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero-logo {
    max-width: 500px;
    width: 80%;
    height: auto;
}

.hero-section .lead {
    font-size: 1.3rem;
    color: #FFC200;
    font-weight: 500;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
section {
    padding: 60px 0;
    scroll-margin-top: 70px;
}

section.bg-light {
    background-color: #f8f9fa;
}

/* Person Cards */
.person-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.person-card .card-body {
    display: flex;
    align-items: center;
}

.person-card .person-info {
    flex: 1;
}

.person-card .card-title {
    color: #001E5F;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.person-photo {
    width: 40%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 1rem;
    flex-shrink: 0;
}

/* News Cards */
.news-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-card .card-title {
    color: #001E5F;
    font-weight: 600;
    font-size: 1.1rem;
}

.news-card .card-text {
    font-size: 0.95rem;
}

.badge-date {
    background-color: #001E5F;
    color: white;
    font-weight: 500;
}

.news-image {
    max-width: 150px;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto 0.75rem;
    display: block;
}

/* Project Cards */
.project-card {
    border: none;
    border-left: 4px solid #FFD82B; /* Yellow accent */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateX(4px);
}

.project-card .card-title {
    color: #001E5F;
    font-weight: 600;
}

.project-image {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
}

.badge-primary {
    background-color: #0066FD;
}

.badge-secondary {
    background-color: #707070; /* UR Gray */
}

/* Publications */
.publication-list {
    list-style: none;
    padding-left: 0;
}

.publication-list li {
    padding-left: 1.5rem;
    position: relative;
}

.publication-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #FFD82B;
    font-weight: bold;
}

/* Join Section */
#join {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: #001E5F;
    color: white;
}

.footer a {
    color: #FFD82B;
}

.footer a:hover {
    color: #FFF3B1; /* Ever Butter */
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Buttons */
.btn-outline-primary {
    border-color: #0066FD;
    color: #0066FD;
}

.btn-outline-primary:hover {
    background-color: #0066FD;
    border-color: #0066FD;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 40px 0;
    }
}
