/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    position: relative;
    z-index: 1;
}

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

/* Header */
.header {
    position: relative;
    color: white;
    padding: 80px 0;
    text-align: center;
    z-index: 10;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.8);
    z-index: 2;
}

.header .container {
    position: relative;
    z-index: 3;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.authors {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.authors a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.authors a:hover {
    text-decoration: underline;
}

.affiliations {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #34495e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #34495e;
}

.btn:hover {
    background-color: #2c3e50;
    transform: translateY(-1px);
    border-color: #2c3e50;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 99999;
}

.dropdown-btn {
    cursor: pointer;
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: white;
    backdrop-filter: blur(8px);
    min-width: 350px;
    border-radius: 8px;
    z-index: 999999;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    margin-top: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 6px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    text-decoration: none;
}

.pub-title {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #2c3e50;
}

.pub-authors {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 4px;
}

.pub-year {
    display: block;
    font-size: 0.75rem;
    color: #868e96;
    font-weight: 500;
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: white;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

/* Abstract */
.abstract p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* Teaser */
.teaser {
    text-align: center;
}

.teaser-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.caption {
    font-size: 1rem;
    color: #6c757d;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Method */
.method-content {
    max-width: 900px;
    margin: 0 auto;
}

.method-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.method-text ol {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 20px 0;
    padding-left: 30px;
}

.method-text li {
    margin-bottom: 10px;
}

/* Results */
.results p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* Citation */
.citation-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.citation-box pre {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #2c3e50;
}

/* References */
.reference-list {
    max-width: 800px;
    margin: 0 auto;
}

.reference-list p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

/* Validation Stats */
.validation-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.validation-stats .stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.validation-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #34495e;
    margin-bottom: 0.5rem;
}

.validation-stats .stat-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer a:hover {
    color: #ecf0f1;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .links {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .dropdown-content {
        min-width: 280px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .dropdown:hover .dropdown-content {
        transform: translateX(-50%) translateY(0);
    }
    
    .pub-title {
        font-size: 0.85rem;
    }
    
    .pub-authors {
        font-size: 0.75rem;
    }
    
    .pub-year {
        font-size: 0.7rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .abstract p,
    .method-text p,
    .results p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .header {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .citation-box {
        padding: 20px;
    }
    
    .citation-box pre {
        font-size: 0.8rem;
    }
} 