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

body, html {
    height: 100%;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
}

.landing-container {
    height: 100vh;
    background: url('images/hero-background-hq.jpg') center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay for better text readability */
.landing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 40px;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 2.5s ease-in forwards;
}

.fade-in.active {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main title with ISLANDS branding */
.main-title {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.islands-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.3));
}

/* Full acronym */
.acronym-full {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 20px auto;
    max-width: 700px;
    line-height: 1.4;
}

/* Divider line */
.divider {
    width: 600px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    margin: 30px auto;
}

/* PI name and info */
.pi-name {
    font-size: 28px;
    font-weight: 300;
    margin: 20px 0 10px 0;
    letter-spacing: 2px;
}

.position {
    font-size: 18px;
    font-weight: 400;
    margin: 10px 0 5px 0;
    opacity: 0.95;
}

.institution {
    font-size: 18px;
    font-weight: 300;
    margin: 5px 0 30px 0;
    opacity: 0.9;
}

.research-tagline {
    font-size: 16px;
    font-weight: 300;
    margin: 30px auto 60px auto;
    max-width: 800px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Research interests list */
.research-interests {
    margin: 30px auto 60px auto;
    max-width: 600px;
}

.interests-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: center;
}

.interests-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.interests-list li {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.95;
    position: relative;
}

.interests-list li:before {
    content: "•";
    color: #2c7a7b;
    font-weight: bold;
    font-size: 20px;
    margin-right: 8px;
}

/* Circular navigation */
.circle-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.nav-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.nav-circle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff7b7b 0%, #ff6a7f 100%);
}

.nav-circle span {
    text-align: center;
    padding: 10px;
}

/* Image credit */
.image-credit {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 40px;
    max-width: 1000px;
    line-height: 1.4;
    font-style: italic;
    text-align: center;
}

/* Contact Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    color: white;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 400;
}

.modal-content p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .islands-logo {
        height: 90px;
    }
    
    .acronym-full {
        font-size: 18px;
    }
    
    .divider {
        width: 90%;
    }
    
    .pi-name {
        font-size: 22px;
    }
    
    .position, .institution {
        font-size: 16px;
    }
    
    .interests-list {
        gap: 25px;
    }
    
    .interests-list li {
        font-size: 14px;
    }
    
    .nav-circle {
        width: 110px;
        height: 110px;
        font-size: 14px;
    }
    
    .image-credit {
        font-size: 10px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .islands-logo {
        height: 70px;
    }
    
    .acronym-full {
        font-size: 16px;
    }
    
    .interests-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-circle {
        width: 90px;
        height: 90px;
        font-size: 12px;
    }
    
    .image-credit {
        font-size: 9px;
    }
}
