@import url('font.css');

/* PROFILE Section Styles */
#profile {
    font-family: 'Johnston ITC Std Medium';
    font-weight: bold;
}
.profile-content {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #B028EF 0%, #8A1CC7 100%);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.profile-text h3 {
    color: #B028EF;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-role {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.profile-description {
    color: #cccccc;
    line-height: 1.6;
}

/* Experience & Education Sections */
.experience,
.education,
.hobby {
    margin-top: 3rem;
}

.experience h4,
.education h4,
.hobby h4 {
    color: #B028EF;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Hobby Section Styles */
.hobby-section {
    margin-bottom: 3rem;
}

.hobby-section h5 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(176, 40, 239, 0.3);
}

.hobby-content {
    background: rgba(39, 39, 39, 0.8);
    border: 1px solid rgba(176, 40, 239, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

/* Bike Section */
.hobby-details {
    display: flex;
    gap: 2rem;
}

.bike-specs, .touring-spots {
    flex: 1;
}

.bike-specs h6, .touring-spots h6 {
    color: #B028EF;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

.specs-list strong {
    color: #ffffff;
}

.touring-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(176, 40, 239, 0.1);
    border-radius: 5px;
    border-left: 3px solid #B028EF;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.touring-item:hover {
    background: rgba(176, 40, 239, 0.2);
    transform: translateX(5px);
}

.touring-icon {
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.touring-item:hover .touring-icon {
    opacity: 1;
}

.touring-place {
    color: #ffffff;
    font-weight: 500;
}

.touring-date {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Game Section */
.game-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.game-item {
    background: rgba(176, 40, 239, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: translateY(-5px);
}

.game-details {
    padding: 1rem;
}

.game-details h6 {
    color: #B028EF;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.game-details p {
    color: #cccccc;
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

/* Hobby Images */
.hobby-image {
    width: 100%;
    height: 400px;
    background: rgba(176, 40, 239, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hobby-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Image placeholders */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(176, 40, 239, 0.8);
    text-align: center;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Placeholder for missing images */
.hobby-image:empty::after {
    content: '📷';
    font-size: 3rem;
    opacity: 0.5;
}

.experience-list,
.education-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item,
.education-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(39, 39, 39, 0.8);
    border: 1px solid rgba(176, 40, 239, 0.2);
    border-radius: 10px;
}

.experience-year,
.education-year {
    color: #B028EF;
    font-weight: bold;
    min-width: 120px;
    font-size: 0.9rem;
}

.experience-content h5,
.education-content h5 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.experience-content p,
.education-content p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* PROFILE Page Responsive Design */
@media (max-width: 768px) {
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .experience-item,
    .education-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .experience-year,
    .education-year {
        min-width: auto;
    }
    
    /* Hobby responsive */
    .hobby-details {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .touring-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
        min-height: 60px;
        touch-action: manipulation;
    }
    
    .touring-place {
        font-size: 0.95rem;
        line-height: 1.3;
        width: 100%;
        padding-right: 2rem;
    }
    
    .touring-date {
        font-size: 0.85rem;
    }
    
    .touring-icon {
        position: absolute;
        top: 0.8rem;
        right: 0.8rem;
        font-size: 1.1rem;
        opacity: 0.8;
    }
}

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

.modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(176, 40, 239, 0.3);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

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

.modal-image-container {
    position: relative;
    width: 100%;
    height: 60vh;
    background: rgba(176, 40, 239, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.modal-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(176, 40, 239, 0.8);
    text-align: center;
}

.modal-placeholder .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-placeholder .placeholder-text {
    font-size: 1.2rem;
    opacity: 0.8;
}

.modal-info {
    padding: 2rem;
    background: #1a1a1a;
}

.modal-info h3 {
    color: #B028EF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-info p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

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

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

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-image-container {
        height: 45vh;
    }
    
    .modal-info {
        padding: 1.5rem;
    }
    
    .modal-info h3 {
        font-size: 1.3rem;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hobby-image {
        height: 200px;
    }
    
    .touring-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 8px;
    }
    
    .modal-image-container {
        height: 40vh;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .modal-info p {
        font-size: 0.9rem;
    }
    
    .modal-placeholder .placeholder-icon {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-placeholder .placeholder-text {
        font-size: 1rem;
    }
    
    .modal-close {
        top: 8px;
        right: 12px;
        font-size: 28px;
    }
}
