/* --- style.css --- */
:root {
    /* Renk Paleti */
    --color-bg: #F9F8F4;
    /* Ham keten / Kırık beyaz */
    --color-text: #3D3A35;
    /* Koyu toprak / Kömür */
    --color-accent: #B86B52;
    /* Kiremit / Pişmiş Toprak */
    --color-sage: #9CAFA4;
    /* Adaçayı Yeşili */

    /* Tipografi */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif: 'Georgia', serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* --- Menü (Header) --- */
header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--color-text);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-accent);
}

/* --- Ana Karşılama (Hero Section) --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 5%;
    margin-top: 2rem;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero p {
    max-width: 600px;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #5A5752;
}

/* Görsel Alanı (Şimdilik yer tutucu) */
.hero-image-placeholder {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    background-color: var(--color-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

/* --- Öne Çıkan Eserler --- */
.featured {
    padding: 4rem 5%;
    text-align: center;
}

.featured h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 3rem;
    font-weight: normal;
}

.product-grid {
    display: grid;
    /* Ekran boyutuna göre yan yana dizecek veya alt alta alacak akıllı yapı */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.product-card {
    text-align: center;
    cursor: pointer;
}

.product-image {
    width: 100%;
    height: 350px;
    background-color: #EBE8E0;
    /* Ham ketenden biraz daha koyu bir yer tutucu */
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    /* Üzerine gelince yavaşça büyüme efekti */
}

.product-card:hover .product-image {
    transform: scale(1.03);
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.product-category {
    font-size: 0.9rem;
    color: var(--color-sage);
    letter-spacing: 1px;
}

/* --- Koleksiyon Sayfası --- */
.collection-page {
    padding: 4rem 5%;
    text-align: center;
}

.collection-page h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.collection-desc {
    color: #5A5752;
    margin-bottom: 3rem;
}

/* Filtre Butonları */
.filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
    color: #888;
    cursor: pointer;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-text);
}

/* Ürün Kartı Gizleme Animasyonu (Filtreleme için) */
.product-card.hide {
    display: none;
}

/* --- Hakkında / Hikaye Sayfası --- */
.about-page {
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    height: 600px;
    background-color: var(--color-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #5A5752;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text .highlight {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Mobilde alt alta görünmesi için küçük bir dokunuş */
@media (max-width: 768px) {
    .about-page {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: 400px;
    }
}

/* --- Atölye Sayfası --- */
.workshop-hero {
    text-align: center;
    padding: 4rem 5%;
}

.workshop-hero h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.workshop-hero p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: #5A5752;
    font-size: 1.1rem;
}

/* Eğitim Kartları */
.workshop-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 5% 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-top: 3px solid var(--color-sage);
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #5A5752;
    font-size: 0.95rem;
}

/* Atölyeye Davet Alanı */
.workshop-cta {
    background-color: var(--color-sage);
    color: var(--color-bg);
    text-align: center;
    padding: 5rem 5%;
    margin-top: 2rem;
}

.workshop-cta h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.workshop-cta p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--color-bg);
    color: var(--color-bg);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--color-bg);
    color: var(--color-sage);
}

/* --- Atölye Günlüğü (Blog) Sayfası --- */
.blog-header {
    text-align: center;
    padding: 4rem 5% 2rem 5%;
}

.blog-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: normal;
}

.blog-header p {
    color: #5A5752;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 0 5% 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.blog-image {
    width: 100%;
    height: 250px;
    background-color: var(--color-sage);
    margin-bottom: 1.5rem;
}

.blog-content .date {
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content p {
    color: #5A5752;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- İletişim Sayfası --- */
.contact-page {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.contact-info p {
    color: #5A5752;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-details h3 {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--color-sage);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

/* WhatsApp Butonu */
.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    /* Klasik WhatsApp Yeşili */
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Harita Alanı */
.map-container {
    flex: 1.5;
    min-width: 300px;
    height: 450px;
    background-color: #EBE8E0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(90%);
    /* Haritanın renklerini sitenin pastel tonlarına uydurmak için ufak bir filtre */
}

/* --- Mobil Uyumluluk (Responsive Design) --- */
@media (max-width: 768px) {

    /* Genel Boşluklar */
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 5%;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 5%;
    }

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

    .hero-image-placeholder {
        height: 300px;
    }

    .featured,
    .collection-page,
    .workshop-hero,
    .workshop-features,
    .workshop-cta,
    .blog-header,
    .blog-grid,
    .contact-page {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    h1,
    .collection-page h1,
    .about-text h1,
    .workshop-hero h1,
    .blog-header h1,
    .contact-info h1 {
        font-size: 2rem !important;
    }

    .featured h2,
    .workshop-cta h2 {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .contact-page {
        gap: 2rem;
    }

    .map-container {
        height: 300px;
    }
}