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

:root {
    --primary-color: #FFD700;
    --text-white: #ffffff;
    --text-black: #000000;
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --section-padding: 80px 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: var(--text-white);
    background-color: var(--bg-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 50px;
    width: auto;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-notice {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--text-black);
    border: 2px solid var(--text-black);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-notice:hover {
    background-color: var(--text-black);
    color: var(--text-white);
}

.lang-switch {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-black);
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--text-white);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: var(--text-black);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #666;
}

.modal-title {
    color: var(--text-black);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.year-list {
    list-style: none;
    padding: 0;
}

.year-item {
    margin-bottom: 15px;
}

.year-link {
    display: block;
    padding: 15px 20px;
    background-color: #f5f5f5;
    color: var(--text-black);
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.year-link:hover {
    background-color: var(--primary-color);
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    padding-top: 100px;
    background-color: var(--bg-black);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--primary-color);
}

/* Content Sections */
section {
    padding: var(--section-padding);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

h2 .highlight {
    color: var(--primary-color);
}

p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Project Section */
.project-section {
    background-color: var(--bg-dark);
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.project-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

/* Team Section */
.team-section {
    background-color: var(--bg-black);
}

.team-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Team Text Section */
.team-text-section {
    margin-top: 60px;
}

.team-text-section h2 {
    margin-bottom: 40px;
}

/* Team Values with aligned semicolons */
.team-values {
    margin-top: 40px;
}

.values-list {
    list-style: none;
    margin-top: 30px;
}

.values-list li {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    display: flex;
    align-items: baseline;
}

.values-list li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 2rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.value-label {
    display: inline-block;
    min-width: 180px;
    font-weight: normal;
}

.value-separator {
    display: inline-block;
    margin: 0 10px;
    color: var(--text-white);
}

.value-desc {
    display: inline-block;
    flex: 1;
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-dark);
    text-align: center;
}

.btn-apply {
    display: inline-block;
    padding: 20px 60px;
    background-color: var(--primary-color);
    color: var(--text-black);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 40px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-apply:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1.1rem;
    }
    
    .value-label {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }
    
    .logo {
        height: 40px;
    }
    
    .btn-notice {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .lang-switch {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 20px;
        min-height: auto;
    }
    
    .team-videos {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .values-list li {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }
    
    .value-label {
        min-width: 120px;
    }
    
    .btn-apply {
        padding: 15px 40px;
        font-size: 1.2rem;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .btn-notice {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .lang-switch {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .team-videos {
        grid-template-columns: 1fr;
    }
    
    .values-list li {
        font-size: 1rem;
        display: block;
    }
    
    .value-label {
        display: block;
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .value-separator {
        display: none;
    }
    
    .value-desc {
        display: block;
        padding-left: 0;
    }
}

/* Smooth Transitions */
section, .project-image, .btn-apply, .btn-notice, .lang-switch {
    transition: all 0.3s ease;
}

/* Hidden class for language switching */
.hidden {
    display: none !important;
}
