/*!
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

html {
    width: 100%;
    height: 100%;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar .navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar .navbar-nav>li>a {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 15px 20px;
}

.navbar .navbar-nav>li>a:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

/* Sections */
.intro-section {
    padding: 150px 0 50px 0;
    background-color: var(--light-gray);
}

.about-section, .news-section, .publications-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Publication Cards */
.list-group-item {
    border: none;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    padding: 20px;
}

.list-group-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.list-group-item-heading {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.detail {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-warning:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    color: white;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer .text-muted {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 767px) {
    .intro-section {
        padding: 100px 0 30px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .list-group-item {
        padding: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-section, .about-section, .news-section, .publications-section {
    animation: fadeIn 0.8s ease-out;
}

/* Container Widths */
.container {
    max-width: 1200px;
    padding: 0 20px;
}

@media (min-width: 1200px) {
    .container {
        width: 85%;
    }
}