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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
}

/* Hero Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-image {
    margin-bottom: 1.5rem;
}

.hero-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.title {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.description {
    color: #888;
    font-size: 1rem;
    margin-bottom: 1rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero .social-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.hero .social-links a {
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.hero .social-links a:hover {
    color: #888;
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
}

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

.about-content p {
    margin-bottom: 1.5rem;
    color: #888;
}

.skills {
    margin-top: 3rem;
}

.skills h3 {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
}

.skills li {
    padding: 0.5rem 1.5rem;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    right: -48px;
    top: 0;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -48px;
}

.timeline-content {
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.company-info h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.company-info .role {
    display: block;
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.company-info .date {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.company-info .type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #888;
}

.description {
    color: #888;
    line-height: 1.6;
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-item {
    background-color: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 0.5rem;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-item:hover .project-logo img {
    transform: scale(1.05);
}

.project-title h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-role {
    display: inline-block;
    color: #888;
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.project-desc {
    color: #888;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
    flex: 1;
    overflow: visible;
    height: auto;
}

.project-tech {
    color: #888;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-links {
    margin-top: auto;
}

.project-links .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}

.project-links .col-md-4 {
    flex: 1;
    min-width: 120px;
}

.store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}

.store-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

@media (max-width: 768px) {
    .project-item {
        height: auto;
    }

    .project-desc {
        height: auto;
    }
}

/* Make sure the grid is responsive */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}

/* Contact Section */
#contact {
    background-color: #111;
    padding: 3rem 2rem;
}

.contact-content {
    text-align: center;
}

.contact-info p {
    color: #888;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 1rem;
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

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

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

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 3px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.cta-button.secondary {
    border-color: #888;
    color: #888;
}

.cta-button:hover {
    background-color: #fff;
    color: #000;
}

.cta-button.secondary:hover {
    background-color: #888;
    color: #000;
}

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

footer p {
    content: "© 2024 Muhammet Ali Kayacan | All rights reserved.";
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #home {
        padding: 1rem;
        padding-top: 4rem;
    }

    .hero-image img {
        width: 150px;
        height: 150px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .title {
        font-size: 1.3rem;
    }

    .description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .hero .social-links {
        gap: 1.5rem;
    }

    .hero .social-links a {
        font-size: 1.5rem;
    }

    .scroll-down {
        bottom: 1rem;
    }

    .scroll-down i {
        font-size: 1.2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 22px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 22px;
    }

    .company-info h3 {
        font-size: 1.5rem;
    }

    .company-info .role {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .project-logo {
        width: 60px;
        height: 60px;
        padding: 0.4rem;
    }

    .project-title h3 {
        font-size: 1.6rem;
    }

    .project-role {
        font-size: 0.8rem;
    }

    .project-desc {
        text-align: center;
        font-size: 0.9rem;
    }

    .project-links {
        flex-direction: column;
    }

    .store-link {
        justify-content: center;
    }
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .burger {
        display: block;
    }
}

/* Alfosoft Section */
#alfosoft {
    padding: 6rem 2rem;
}

.alfosoft-card {
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.alfosoft-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.alfosoft-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.alfosoft-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.alfosoft-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.alfosoft-title h2 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alfosoft-description {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.alfosoft-button {
    display: flex;
    justify-content: center;
}

.alfosoft-button a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.alfosoft-button a:hover {
    background-color: #222;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.alfosoft-button i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .alfosoft-card {
        padding: 2rem;
    }

    .alfosoft-logo {
        width: 100px;
        height: 100px;
    }

    .alfosoft-title h2 {
        font-size: 1.8rem;
    }

    .alfosoft-description {
        font-size: 1rem;
    }
}

.scroll-down {
    margin-top: 1rem;
    animation: bounce 2s infinite;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.scroll-down i {
    color: #888;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.scroll-down:hover i {
    color: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Çok küçük ekranlar için */
@media screen and (max-width: 380px) {
    .hero-image img {
        width: 120px;
        height: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .title {
        font-size: 1rem;
    }

    .description {
        font-size: 0.85rem;
    }
}

/* Yüksek ekranlar için */
@media screen and (min-height: 800px) {
    #home {
        min-height: 90vh;
    }
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 2px;
    background: rgba(17, 17, 17, 0.7);
    padding: 3px;
    border-radius: 30px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #888;
    cursor: pointer;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Design için */
@media screen and (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
} 