/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
}

body {
    background-color: #1e1e1e;
    color: #f8f8f2;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Terminal styles */
.terminal {
    background-color: #282a36;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}

.terminal-header {
    background-color: #44475a;
    padding: 10px;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.close { background-color: #ff5555; }
.minimize { background-color: #f1fa8c; }
.maximize { background-color: #50fa7b; }

.terminal-title {
    color: #f8f8f2;
    font-size: 0.9rem;
}

.terminal-content {
    padding: 20px;
}

/* Command line styles */
.command-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.prompt {
    color: #50fa7b;
    margin-right: 10px;
}

.command {
    color: #f8f8f2;
}

/* Output styles */
.output {
    margin-bottom: 30px;
    padding-left: 20px;
}

h1 {
    color: #ffb86c;
    font-size: 2rem;
    margin-bottom: 10px;
}

.typing-text {
    color: #8be9fd;
    border-right: 2px solid #8be9fd;
    animation: blink 1s step-end infinite;
}

.typing-text-secondary {
    color: #50fa7b;
    border-right: 2px solid #50fa7b;
    animation: blink 1s step-end infinite;
}

/* Profile section */
.profile-section {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #50fa7b;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(80, 250, 123, 0.3);
}

/* Section styles */
.section {
    margin-bottom: 2rem;
}

.section-title {
    color: #ffb86c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #44475a;
}

.section-content {
    color: #f8f8f2;
    line-height: 1.6;
}

/* Terminal text output */
.section-content p {
    font-family: 'JetBrains Mono', monospace;
    color: #8be9fd;
    line-height: 1.6;
    padding: 10px;
    background-color: #282a36;
    border-radius: 5px;
    border-left: 3px solid #50fa7b;
    margin: 10px 0;
    white-space: pre-wrap;
    animation: typewriter 1s steps(40) 1s 1 normal both;
}

@keyframes typewriter {
    from {
        width: 0;
        border-right: 2px solid #50fa7b;
    }
    to {
        width: 100%;
        border-right: 2px solid #50fa7b;
    }
}

/* Skills styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px;
    background-color: #282a36;
    border-radius: 8px;
    border: 2px solid #44475a;
}

.skill-item {
    padding: 12px 20px;
    background-color: #44475a;
    color: #f8f8f2;
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #6272a4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
}

.skill-item:hover {
    transform: translateY(-2px);
    background-color: #6272a4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #ff79c6;
}

/* Skills grid */
.skill-category {
    background-color: #44475a;
    padding: 15px;
    border-radius: 5px;
}

.skill-category h3 {
    color: #ff79c6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: #f8f8f2;
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
}

.skill-category li::before {
    content: ">";
    color: #50fa7b;
    position: absolute;
    left: 0;
}

/* Timeline styles */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #44475a;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff79c6;
}

.timeline-date {
    color: #8be9fd;
    margin-bottom: 5px;
}

.timeline-content h3 {
    color: #ff79c6;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #f8f8f2;
}

/* Contact section */
.contact {
    text-align: center;
}

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

.social-links a {
    color: #f8f8f2;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff79c6;
}

/* Animations */
@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #8be9fd }
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .terminal {
        border-radius: 0;
    }
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background-color: #44475a;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #ff79c6;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-description {
    color: #f8f8f2;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background-color: #6272a4;
    color: #f8f8f2;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

/* Experience list */
.experience-list {
    list-style: none;
    padding-left: 20px;
}

.experience-list li {
    color: #f8f8f2;
    margin: 8px 0;
    position: relative;
}

.experience-list li::before {
    content: ">";
    color: #50fa7b;
    position: absolute;
    left: -20px;
}

/* Terminal link */
.terminal-link {
    display: block;
    text-align: right;
    color: #8be9fd;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.terminal-link:hover {
    color: #ff79c6;
    transform: translateX(-5px);
}

/* Education styles */
.education-item {
    margin-bottom: 2rem;
    padding: 20px;
    background-color: #282a36;
    border-radius: 8px;
    border: 2px solid #44475a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #44475a;
}

.education-school {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff79c6;
}

.education-date {
    font-weight: bold;
    font-size: 0.9rem;
    color: #8be9fd;
}

.education-degree {
    font-size: 1.2rem;
    font-weight: bold;
    color: #bd93f9;
}

/* Language styles */
.language-item {
    margin-bottom: 1rem;
    padding: 15px;
    background-color: #282a36;
    border-radius: 8px;
    border: 2px solid #44475a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff79c6;
}

.language-level {
    font-size: 1rem;
    color: #8be9fd;
    padding: 4px 12px;
    background-color: #44475a;
    border-radius: 4px;
    border: 1px solid #6272a4;
}

/* Contact styles */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 15px;
    background-color: #282a36;
    border-radius: 8px;
    border: 2px solid #44475a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    border-color: #ff79c6;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ff79c6;
}

.contact-link {
    color: #f8f8f2;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #8be9fd;
}

/* Project styles */
.project-item {
    margin-bottom: 2rem;
    padding: 20px;
    background-color: #282a36;
    border-radius: 8px;
    border: 2px solid #44475a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    border-color: #ff79c6;
}

.project-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff79c6;
    margin-bottom: 15px;
}

.project-description {
    color: #f8f8f2;
    margin: 15px 0;
    line-height: 1.6;
    padding: 15px;
    background-color: #44475a;
    border-radius: 5px;
}

.project-tech {
    margin-top: 15px;
    padding: 10px;
    background-color: #44475a;
    border-radius: 5px;
}

.tech-title {
    color: #8be9fd;
    margin-bottom: 10px;
    font-weight: bold;
}

.project-tech ul {
    list-style: none;
    padding-left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech li {
    color: #f8f8f2;
    background-color: #6272a4;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Project image styles */
.project-images {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.project-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #44475a;
    transition: all 0.3s ease;
}

.project-image:hover {
    transform: scale(1.02);
    border-color: #ff79c6;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Experience tech styles */
.experience-tech {
    margin-top: 15px;
    padding: 15px;
    background-color: #44475a;
    border-radius: 5px;
}

.tech-title {
    color: #8be9fd;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1rem;
}

.experience-tech ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-tech li {
    color: #f8f8f2;
    background-color: #6272a4;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #44475a;
}

.experience-tech li:hover {
    transform: translateY(-2px);
    background-color: #ff79c6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Experience styles */
.experience-item {
    margin-bottom: 2rem;
    padding: 20px;
    background-color: #282a36;
    border-radius: 8px;
    border: 2px solid #44475a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Serwizer Theme */
.experience-item:nth-child(1) {
    border-color: #ff79c6;
}

.experience-item:nth-child(1) .experience-company {
    color: #ff79c6;
}

.experience-item:nth-child(1) .experience-title {
    color: #bd93f9;
}

.experience-item:nth-child(1) .experience-date {
    color: #8be9fd;
}

/* Bitaksi Theme */
.experience-item:nth-child(2) {
    border-color: #50fa7b;
}

.experience-item:nth-child(2) .experience-company {
    color: #50fa7b;
}

.experience-item:nth-child(2) .experience-title {
    color: #ffb86c;
}

.experience-item:nth-child(2) .experience-date {
    color: #8be9fd;
}

/* Kodzilla Theme */
.experience-item:nth-child(3) {
    border-color: #bd93f9;
}

.experience-item:nth-child(3) .experience-company {
    color: #bd93f9;
}

.experience-item:nth-child(3) .experience-title {
    color: #ff79c6;
}

.experience-item:nth-child(3) .experience-date {
    color: #8be9fd;
}

/* Digiturk Theme */
.experience-item:nth-child(4) {
    border-color: #ffb86c;
}

.experience-item:nth-child(4) .experience-company {
    color: #ffb86c;
}

.experience-item:nth-child(4) .experience-title {
    color: #50fa7b;
}

.experience-item:nth-child(4) .experience-date {
    color: #8be9fd;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #44475a;
}

.experience-date {
    font-weight: bold;
    font-size: 0.9rem;
}

.experience-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.experience-company {
    font-size: 1.3rem;
    font-weight: bold;
}

.experience-description {
    color: #f8f8f2;
    margin: 15px 0;
    line-height: 1.6;
    padding: 10px;
    background-color: #44475a;
    border-radius: 5px;
}

/* Reference note styles */
.reference-note {
    margin-top: 20px;
    padding: 15px;
    background-color: #44475a;
    border-radius: 5px;
    text-align: center;
}

.reference-note p {
    color: #8be9fd;
    font-style: italic;
    margin: 0;
    font-size: 0.95rem;
}
