/* 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: #ffffff;
    background: #0a0a0a;
    min-height: 100vh;
}

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

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-section {
    margin-bottom: 40px;
}

.profile-image {
    margin-bottom: 30px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.6);
    border-color: #ffffff;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 123, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid #007bff;
    border-radius: 50px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-link:hover {
    background: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: #ffffff;
}

.social-link i {
    font-size: 1.1rem;
}

/* Section Styles */
.research-section,
.about-section {
    background: #1a1a1a;
    margin: 40px 0;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #cccccc;
    font-weight: 400;
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.research-item {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #444;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.research-item:hover::before {
    transform: scaleX(1);
}

.research-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.research-type {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.research-type.article {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.research-type.presentation {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.research-date {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.research-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.research-conference {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}

.research-authors {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.author {
    color: #007bff;
    font-weight: 500;
}

.separator {
    color: #666;
    font-weight: 300;
}

.research-links {
    margin-top: 20px;
}

.doi-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.doi-link:hover {
    color: #ffffff;
}

.doi-link i {
    font-size: 0.8rem;
}

/* Paper Preview Cover */
.paper-preview {
    margin-top: 25px;
    display: flex;
    
    justify-content: center;
    align-items: center;
}

.paper-cover {
    display: flex;
    width: 100%;
    max-width: 600px;
    background: linear-gradient(135deg, #c0c8d0 0%, #d0d8e0 50%, #c0c8d0 100%);
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    text-decoration: none;
    
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.paper-cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.paper-cover:hover .image-container {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.image-container {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    display: block;
    
}

/* Conference Image Styling */
.paper-preview .cover-image {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

.paper-preview .cover-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.cover-overlay {
    flex: 1;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #c0c8d0 0%, #d0d8e0 50%, #c0c8d0 100%);
}

.cover-text {
    color: #1a1a1a;
}

.journal-title {
    font-size: 0.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.paper-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.authors {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 14px;
    font-weight: 500;
}

.doi {
    font-size: 0.8rem;
    color: #667eea;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    
}



/* Mobile responsive for paper cover */
@media (max-width: 768px) {
    .paper-cover {
        max-width: 100%;
    }
    
    .image-container {
        width: 160px;
        height: 110px;
        margin: 10px;
    }
    
    .cover-image {
        padding: 0;
    }
    
    .cover-overlay {
        padding: 14px 16px;
    }
    
    .paper-title {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }
    
    .journal-title {
        font-size: 0.7rem;
    }
    
    .authors {
        font-size: 0.8rem;
    }
    
    .doi {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .paper-cover {
        max-width: 100%;
    }
    
    .image-container {
        width: 130px;
        height: 90px;
        margin: 8px;
    }
    
    .cover-image {
        padding: 0;
    }
    
    .cover-overlay {
        padding: 12px 14px;
    }
    
    .paper-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .journal-title {
        font-size: 0.65rem;
    }
    
    .authors {
        font-size: 0.75rem;
    }
    
    .doi {
        font-size: 0.65rem;
    }
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.7;
}

.interests-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.interests-list li {
    background: linear-gradient(135deg, #2a2a2a, #333);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.3s ease;
}

.interests-list li:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #333, #444);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

/* GIGPOSSIBLE Section */
.gigpossible-section {
    background: #1a1a1a;
    margin: 40px 0;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
}

.gigpossible-content {
    max-width: 800px;
    margin: 0 auto;
}

.company-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gigpossible-logo {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.company-title {
    text-align: left;
}

.company-title h2 {
    margin-bottom: 5px;
}

.gigpossible-content p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.7;
}

.gigpossible-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.gigpossible-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 123, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid #007bff;
    border-radius: 50px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.gigpossible-link:hover {
    background: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: #ffffff;
}

.gigpossible-link i {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .research-section,
    .about-section {
        padding: 40px 30px;
        margin: 30px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .research-item {
        padding: 25px;
    }
    
    .research-title {
        font-size: 1.2rem;
    }
    
    .social-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        padding: 12px 18px;
        font-size: 0.85rem;
        min-width: 120px;
        justify-content: center;
    }
    
    .interests-list {
        grid-template-columns: 1fr;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 50px 0 30px;
    }
    
    .name {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .research-section,
    .about-section {
        padding: 25px 15px;
        margin: 20px 0;
        border-radius: 15px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .social-link {
        width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .research-item {
        padding: 20px;
    }
    
    .research-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .research-authors {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .separator {
        display: none;
    }
    
    .interests-list li {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .profile-photo {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 360px) {
    .name {
        font-size: 1.8rem;
    }
    
    .title {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 180px;
        font-size: 0.85rem;
    }
    
    .research-section,
    .about-section {
        padding: 20px 12px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .profile-photo {
        width: 80px;
        height: 80px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.research-item,
.about-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Hover effects for better interactivity */
.research-item:hover .research-title {
    color: #007bff;
}

.social-link:active {
    transform: scale(0.95);
} 