/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #6b46c1;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation Bar */
.navbar {
    background-color: #6b46c1;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.nav-menu {
    display: flex;
}

.nav-link {
    color: white;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #d6bcfa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
    color: white;
    padding: 10rem 0 5rem;
    text-align: center;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: white;
    color: #6b46c1;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #f7fafc;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* About Preview Section */
.about-preview {
    padding: 5rem 0;
    background: #f0ebf8;
}

.about-preview .about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-preview .about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.3);
}

.about-preview .about-text h2 {
    text-align: left;
    color: #6b46c1;
}

.about-image-mobile {
    display: none;
}

/* Blog Gönderileri */
.blog-posts {
    padding: 5rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    color: #6b46c1;
    margin-bottom: 0.5rem;
}

.read-more {
    color: #6b46c1;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background-color: #f0ebf8;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Diğer Sayfalar İçin Temel Yapı */
.page-content {
    padding: 8rem 0 3rem;
    min-height: 70vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* About Sayfası Stilleri */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    text-align: left;
    color: #6b46c1;
}

.about-text h3 {
    color: #6b46c1;
    margin-top: 2rem;
}

.about-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Skills Stilleri */
.skills {
    margin: 1.5rem 0;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-bar {
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 5px;
    margin-top: 0.5rem;
}

.skill-level {
    height: 100%;
    background-color: #6b46c1;
    border-radius: 5px;
}

/* Projects Sayfası Stilleri */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-category h2 {
    text-align: left;
    color: #6b46c1;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.projects-list {
    display: grid;
    gap: 2rem;
}

.project-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info h3 {
    color: #6b46c1;
    margin-bottom: 0.5rem;
}

.project-date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    background: #e9d8fd;
    color: #6b46c1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.project-link {
    color: #6b46c1;
    font-weight: 600;
    display: inline-block;
}

.project-link:hover {
    text-decoration: underline;
}

/* Progress Bar */
.project-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #6b46c1;
    border-radius: 4px;
    transition: width 0.3s;
}

.project-progress span {
    font-size: 0.9rem;
    color: #718096;
}

/* Future Projects */
.future-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.future-project-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #6b46c1;
}

.future-project-item h3 {
    color: #6b46c1;
    margin-bottom: 0.5rem;
}

.future-project-item p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.project-status {
    display: inline-block;
    background: #fed7d7;
    color: #c53030;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Sayfası Stilleri */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2 {
    text-align: left;
    color: #6b46c1;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    background: #e9d8fd;
    padding: 0.8rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    color: #6b46c1;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-link {
    background: #e9d8fd;
    color: #6b46c1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: #6b46c1;
    color: white;
}

.working-hours {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.working-hours h3 {
    color: #6b46c1;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    text-align: left;
    color: #6b46c1;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-family: 'Quicksand', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6b46c1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-label a {
    color: #6b46c1;
    text-decoration: underline;
}

.submit-btn {
    background: #6b46c1;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #5a3dab;
}

/* Map Section */
.map-section {
    margin-top: 3rem;
}

.map-section h2 {
    text-align: left;
    color: #6b46c1;
    margin-bottom: 1.5rem;
}

.map-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    color: #718096;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #6b46c1;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        margin: 0;
        padding: 1rem;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-mobile {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-image-mobile img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
    }
    
    .about-image {
        display: none;
    }
    
    .about-preview .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-preview .about-text h2 {
        text-align: center;
    }
    
    .project-item {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .future-projects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 8rem 0 3rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card, .project-item, .contact-item {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Özelleştirme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6b46c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a3dab;
}

/* Selection Renkleri */
::selection {
    background: #6b46c1;
    color: white;
}

::-moz-selection {
    background: #6b46c1;
    color: white;
}