/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #333;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Page Headers */
.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
}

.page-intro {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #666;
}

/* Page Content */
.page-content,
.list-content {
    max-width: 1200px;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 400;
}

.page-content h1 {
    font-size: 2rem;
}

.page-content h2 {
    font-size: 1.75rem;
}

.page-content h3 {
    font-size: 1.5rem;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-content a {
    color: #0066cc;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content ul,
.page-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 8px;
}

/* Images */
.page-content img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    margin: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    vertical-align: top;
}

/* Studies Grid */
.featured-studies {
    margin-top: 60px;
}

.featured-studies h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-align: center;
}

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

.study-card {
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.study-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.study-card h4 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.study-card h4 a {
    color: #333;
    text-decoration: none;
}

.study-card h4 a:hover {
    color: #0066cc;
}

.study-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


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

.gallery-card {
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.gallery-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-card h4 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.gallery-card h4 a {
    color: #333;
    text-decoration: none;
}

.gallery-card h4 a:hover {
    color: #0066cc;
}

.gallery-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all a {
    color: #0066cc;
    text-decoration: none;
    font-size: 1.1rem;
}

.view-all a:hover {
    text-decoration: underline;
}

/* Studies List */
.studies-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.study-item {
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.study-item:last-child {
    border-bottom: none;
}

.study-item h3 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.study-item h3 a {
    color: #333;
    text-decoration: none;
}

.study-item h3 a:hover {
    color: #0066cc;
}

.study-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .studies-grid {
        grid-template-columns: 1fr;
    }

    .study-item h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .page-header h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }
}

