/* Genel Stil */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e; /* Koyu morumsu arka plan */
    color: #e0e0e0; /* Açık gri yazı rengi */
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #2a2a4e; /* Daha koyu mor */
    color: #ffffff;
    padding: 1rem 0;
    border-bottom: 3px solid #6a05ad; /* Mor çizgi */
}

header h1 {
    float: left;
    margin: 0;
    font-size: 2rem;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header a:hover {
    color: #9d50e8; /* Parlak mor vurgu */
}

/* Hero Section */
.hero {
    min-height: 400px;
    background: url('https://placehold.co/1500x400?text=Clayt+Studio+Banner') no-repeat center center/cover;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
}

.hero::before { /* Hafif karartma */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    z-index: 1; /* İçeriği öne getir */
}

.hero p {
    font-size: 1.5rem;
    z-index: 1;
}

/* Slider Section */
.slider-section {
    padding: 40px 0;
    background: #2a2a4e;
    text-align: center;
    position: relative;
}

.slider-container {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 80%; /* Resimlerin genişliği */
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.slider-container img {
    width: 100%;
    flex-shrink: 0; /* Küçülmesini engelle */
    display: block;
    border-radius: 10px;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.slider-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-nav .prev {
    left: 10%;
}

.slider-nav .next {
    right: 10%;
}

/* Projeler */
.projects {
    padding: 40px 0;
    text-align: center;
    background: #1a1a2e;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #9d50e8;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: #2a2a4e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.project-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-card p {
    font-size: 1rem;
    color: #cccccc;
}

/* İletişim */
.contact {
    padding: 40px 0;
    text-align: center;
    background: #2a2a4e;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #9d50e8;
}

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid #5a5a7e; /* Koyu morumsu kenarlık */
    border-radius: 5px;
    background: #1a1a2e;
    color: #e0e0e0;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form button {
    padding: 12px 20px;
    background: #6a05ad; /* Mor buton */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #9d50e8; /* Buton hover efekti */
}

.contact-info {
    margin-top: 20px;
    font-size: 1.1rem;
}

.contact-info a {
    color: #9d50e8;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #cccccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid #3a3a5e;
}

/* ========================================= */
/* HAKKIMIZDA SAYFASI STİLLERİ */
/* ========================================= */

/* Aktif sayfa linkini vurgulamak için */
header nav a.active {
    color: #9d50e8; /* Parlak mor vurgu */
    font-weight: bold;
}

/* Sayfanın genel başlığı */
.page-title {
    background: #1a1a2e;
    padding: 30px 0;
    text-align: center;
    border-bottom: 2px solid #3a3a5e;
}

.page-title h1 {
    font-size: 3rem;
    color: #9d50e8;
    margin: 0;
}

/* Zig-Zag Bölümü */
.about-section {
    padding: 60px 0;
    background: #1a1a2e;
}

/* Arka planları değiştirebiliriz (isteğe bağlı) */
.about-section:nth-child(even) {
     background: #2a2a4e; /* Her 2. bölüm farklı renk */
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 40px; /* Resim ve yazı arası boşluk */
}

.about-image {
    flex: 1; /* %50 yer kapla */
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.about-text {
    flex: 1; /* %50 yer kapla */
}

.about-text h2 {
    font-size: 2.5rem;
    color: #9d50e8;
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cccccc;
}

/* TERS DÜZEN (Sağ Foto - Sol Yazı) */
.about-section.reverse .about-flex {
    flex-direction: row-reverse;
}


/* "Güzel bir şey" dediğin bölüm (Call to Action) */
.cta-section {
    background: #6a05ad; /* Vurgulu mor arka plan */
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    background: #ffffff;
    color: #6a05ad; /* Mor yazı */
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Mobil cihazlar için zig-zag'ı düzeltme */
@media (max-width: 768px) {
    .about-flex,
    .about-section.reverse .about-flex {
        flex-direction: column;
    }

    .about-text {
        margin-top: 20px;
    }
}
/* ========================================= */
/* PROJELER SAYFASI STİLLERİ */
/* ========================================= */

/* Filtreleme Navigasyonu */
.filter-section {
    background: #2a2a4e;
    padding: 20px 0;
    border-bottom: 1px solid #3a3a5e;
}

.filter-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background: #1a1a2e;
    color: #e0e0e0;
    border: 2px solid #5a5a7e;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #5a5a7e;
    color: #ffffff;
}

/* Aktif filtre butonu */
.filter-btn.active {
    background: #6a05ad;
    color: #ffffff;
    border-color: #9d50e8;
}

/* Proje Kartları (Galeri) */
.projects-gallery {
    padding: 40px 0;
}

.project-grid-interactive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card-interactive {
    background: #2a2a4e;
    border-radius: 10px;
    overflow: hidden; /* Resmin taşmasını engelle */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: block; /* JS ile bunu 'none' yapacağız */
}

/* Kartın gizlenme/gösterilme animasyonu (Filtreleme için) */
.project-card-interactive.hidden {
    transform: scale(0.8);
    opacity: 0;
    display: none;
}


.project-card-interactive .card-image {
    position: relative;
    height: 200px;
}

.project-card-interactive .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin boyutu bozulmasın */
}

.card-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(106, 5, 173, 0.8); /* Mor */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    backdrop-filter: blur(5px); /* "Gamer" efekti :) */
}

.card-status.yayinda {
    background: rgba(20, 150, 50, 0.8); /* Yeşil */
}

.project-card-interactive .card-content {
    padding: 20px;
}

.project-card-interactive h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 10px;
}

.project-card-interactive p {
    font-size: 1rem;
    color: #cccccc;
    min-height: 60px; /* Kartların boyutu eşitlensin */
}

.btn-details {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #6a05ad;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-details:hover {
    background: #9d50e8;
}

/* ========================================= */
/* MODAL (POP-UP) STİLLERİ */
/* ========================================= */

.modal {
    display: none; /* JS ile 'block' yapacağız */
    position: fixed; /* Ekranı kapla */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Kaydırma çubuğu */
    background-color: rgba(0, 0, 0, 0.85); /* Arka plan karartma */
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s; /* Açılış animasyonu */
}

.modal-content {
    background-color: #2a2a4e;
    margin: 5% auto; /* Ortala */
    padding: 30px;
    border: 1px solid #5a5a7e;
    width: 70%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    position: relative;
    animation: slideDown 0.4s;
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 2.5rem;
    color: #9d50e8;
    margin-top: 0;
}

.modal-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.modal-close {
    color: #aaaaaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #ffffff;
}

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

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

/* ========================================= */
/* İLETİŞİM SAYFASI STİLLERİ */
/* ========================================= */

.contact-page-section {
    padding: 60px 0;
    background: #1a1a2e;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% sol, 50% sağ */
    gap: 40px;
    align-items: flex-start; /* Üstten hizala */
}

/* Sol Taraf (Harita) */
.map-container {
    border-radius: 10px;
    overflow: hidden; /* Kenarları yuvarlak yapsın */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    height: 100%; /* Sağ tarafla aynı yükseklikte olmaya çalış */
    min-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sağ Taraf (Bilgiler) */
.info-container {
    background: #2a2a4e;
    padding: 30px;
    border-radius: 10px;
}

.info-container h2 {
    font-size: 2.5rem;
    color: #9d50e8;
    margin-top: 0;
    margin-bottom: 15px;
}

.info-container p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start; /* İkonu yazının üstüne hizala */
    gap: 20px;
    margin-bottom: 25px;
}

.info-item svg {
    color: #9d50e8; /* İkon rengi */
    width: 30px; /* İkon boyutu */
    height: 30px;
    flex-shrink: 0; /* Küçülmesin */
    margin-top: 5px;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    font-size: 1.3rem;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

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

/* Mobil cihazlar için düzeltme */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Alt alta gelsin */
    }

    .map-container {
        height: 350px; /* Sabit yükseklik */
    }
}