/* Modern CSS for Tuan Do's Homepage */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/gc_nir_fir_xray.jpg');
    background-size: cover;
    background-position: center;
    color: whitesmoke;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 1rem 1rem;
}

.hero-section h1,
.hero-section h2 {
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section a {
    color: var(--accent-color);
    text-decoration: underline;
}

.hero-section a:hover {
    color: #fff;
}

/* Custom Banners for Sub-pages */
.subpage-banner {
    padding: 4rem 0;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.gal-center-banner {
    background-image: url('../images/mwcenter_spitzer_banner.jpg');
}

.virgo-banner {
    background-image: url('../images/virgo_banner.png');
}

.tmt-banner {
    background-image: url('../images/mauna_kea_banner.jpg');
}

.subpage-banner h2 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.subpage-banner .lead {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    border-radius: 0.5rem;
    display: inline-block;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


/* Contact Section */
.profile-img {
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.contact-info {
    font-size: 0.95rem;
    color: #555;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Content Sections */
.section-title {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-custom {
    background: var(--card-bg);
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    margin-bottom: 1rem;
}

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

.btn-custom {
    background-color: var(--accent-color);
    color: white;
    border: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

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

/* Members Section */
.member-list {
    list-style: none;
    padding: 0;
}

.member-item {
    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.member-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}