@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cormorant+Garamond:wght@300;400;600&display=swap');

:root {
    --primary-color: #c19b4f; /* Darker gold (main color) */
    --secondary-color: #000000; /* Black */
    --text-color: #f0e6d2; /* Light gold / off-white */
    --heading-color: #c19b4f; /* Darker gold for headings */
    --subheading-color: #d4af37; /* Brighter gold for subheadings */
    --link-color: #ffd700; /* Bright gold for links */
    --background-color: rgba(0, 0, 0, 0.8);
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 18px;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--heading-color);
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(193, 155, 79, 0.1);
}

header h1 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0.5rem 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

main {
    flex: 1 0 auto;
    max-width: 900px;
    width: 100%;
    margin: 3rem auto;
    padding: 3rem;
    background-color: var(--background-color);
    box-shadow: 0 0 20px rgba(193, 155, 79, 0.2);
    border-radius: 15px;
}

h1, h2 {
    font-family: 'Cinzel', serif;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--subheading-color);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

.intro-image {
    max-width: 100%;
    height: auto;
/*     margin: 1.5rem 0; */
    margin: 1.5rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(193, 155, 79, 0.2);
    transition: transform 0.3s ease;
    display: block;
}

.intro-image:hover {
    transform: scale(1.02);
}

.data-image {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(193, 155, 79, 0.2);
    transition: transform 0.3s ease;
    display: block;
}

.data-image:hover {
    transform: scale(1.02);
}

#research-questions ol {
    padding-left: 2rem;
}

#research-questions li {
    margin-bottom: 1rem;
}

footer {
    flex-shrink: 0;
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    font-size: 0.9rem;
    width: 100%;
}

/* Styles for team.html */
.team-member {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--primary-color);
}

.team-member-image {
    width: 200px;
    height: 250px;
    flex-shrink: 0;
    margin-right: 2rem;
    overflow: hidden;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--primary-color);
}

.team-member-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    flex-grow: 1;
}

.team-member-info h3 {
    margin-top: 0;
    color: var(--heading-color);
}

.social-links {
    margin-top: auto;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}

button, .button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover, .button:hover {
    background-color: var(--heading-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-member-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .team-member-info {
        min-height: auto;
    }
}
