/* --- Değişkenler ve Temel Stiller --- */
:root {
    --primary-color: #582A59;
    --secondary-color: #E0D1E1;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --light-gray-bg: #f9f9f9;
    --accent-color: #008080;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --transition-speed: 0.5s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    padding-top: 91px; /* Sabit header'ın içeriği ezmemesi için */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Header ve Dinamik Navigasyon (SON HALİ) --- */
.main-header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

    .main-header.scrolled {
        padding: 8px 0;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    height: 60px;
    transition: height var(--transition-speed) ease;
}


.main-header.scrolled .logo {
    height: 45px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: white; /* Başlangıçta yazılar BEYAZ */
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.main-header.scrolled .main-nav a {
    color: var(--primary-color); /* Kaydırınca yazılar MOR */
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* --- Ana Sayfa: Hero Alanı --- */
.hero {
    height: 100vh;
    margin-top: -91px; /* body'e eklenen padding'i sıfırlamak için */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button, .cta-button-secondary {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
}

.cta-button-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-top: 20px;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* --- Genel Bölüm Stilleri --- */
.content-section, .about-section, .featured-works-section, .gallery-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    color: #666;
}

.featured-works-section {
    background-color: var(--light-gray-bg);
}

.page-hero {
    height: 40vh;
    margin-top: -91px; /* body'e eklenen padding'i sıfırlamak için */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

    .page-hero h1 {
        font-family: var(--heading-font);
        font-size: 3.5rem;
    }

/* --- Ana Sayfa: Hakkımızda Bölümü --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-text h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    font-size: 1rem;
    color: #555;
}

/* --- Ana Sayfa & Galeri: Eser Kartları --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

    .work-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    }

    .work-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.card-info {
    padding: 25px;
}

    .card-info h4 {
        font-size: 1.3rem;
        margin-bottom: 5px;
        color: var(--primary-color);
    }

    .card-info p {
        color: #777;
    }

/* --- Galeri Sayfası Stilleri --- */
.gallery-section {
    padding: 80px 0;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 25px;
    margin: 5px;
    cursor: pointer;
    font-family: var(--body-font);
    font-weight: 500;
    transition: all 0.3s ease;
}

    .filter-btn:hover, .filter-btn.active {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.works-grid .work-card.hide {
    display: none;
}

/* --- Hakkımızda Sayfası Stilleri --- */
.about-full-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image-full img {
    border-radius: 10px;
}

.about-text-full h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
}

.vision h3, .mission h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- Atölye Sayfası Stilleri --- */
.workshop-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
}

.workshop-card {
    background-color: var(--light-gray-bg);
    padding: 40px;
    border-radius: 10px;
}

    .workshop-card i {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .workshop-card h4 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

.workshop-cta {
    text-align: center;
    background-color: var(--secondary-color);
    padding: 50px;
    border-radius: 10px;
}

    .workshop-cta h3 {
        font-family: var(--heading-font);
        font-size: 2rem;
        margin-bottom: 15px;
    }

/* --- İletişim Sayfası Stilleri --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info ul {
    list-style: none;
    margin-top: 20px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.map-placeholder {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
}

    .contact-form input:focus, .contact-form textarea:focus {
        outline-color: var(--primary-color);
    }

.contact-form button {
    width: 100%;
    border: none;
}

/* --- Footer Bölümü --- */
.main-footer {
    background-color: var(--primary-color);
    color: #e0e0e0;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .footer-col ul a, .footer-mail {
        text-decoration: none;
        color: #c0c0c0;
        transition: all 0.3s ease;
    }

        .footer-col ul a:hover, .footer-mail:hover {
            color: white;
            padding-left: 5px;
        }

.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background-color: var(--accent-color);
        transform: scale(1.1);
    }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* --- Animasyon Helper Class'ları --- */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-50px);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.work-card:nth-child(2) {
    transition-delay: 200ms;
}

.work-card:nth-child(3) {
    transition-delay: 400ms;
}

.about-image.hidden {
    transform: translateX(-100px);
}

.about-text.hidden {
    transform: translateX(100px);
}


/* --- RESPONSIVE TASARIM VE MOBİL MENÜ (SON HALİ) --- */

/* Mobil Menü Butonu (Hamburger) */
.mobile-nav-toggle {
    display: none;
    position: relative;
    z-index: 9999;
    background: transparent;
    border: 0;
    width: 2rem;
    aspect-ratio: 1;
    padding: 0;
    cursor: pointer;
}

.sr-only { /* Bu sınıfı hamburger butonundaki span'e ekleyeceğiz */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: white; /* Başlangıçta beyaz */
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, background 0.3s ease;
}

.main-header.scrolled .mobile-nav-toggle::before,
.main-header.scrolled .mobile-nav-toggle::after {
    background: var(--primary-color); /* Kaydırınca mor */
}

.mobile-nav-toggle::before {
    top: 25%;
}

.mobile-nav-toggle::after {
    top: 75%;
}

.mobile-nav-toggle[aria-expanded="true"]::before {
    top: 50%;
    transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"]::after {
    top: 50%;
    transform: rotate(-45deg);
}

/* Ekran küçüldüğünde devreye girecek stiller */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        z-index: 9998;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.4s ease-out;
    }

        .main-nav[data-visible="true"] {
            transform: translateX(0%);
        }

        .main-nav ul {
            display: flex;
            flex-direction: column;
            gap: 2em;
            text-align: center;
        }

        .main-nav a {
            color: var(--primary-color) !important;
            font-size: 1.2rem;
        }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .about-container,
    .about-full-content,
    .contact-grid,
    .vision-mission {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .contact-form {
        margin-top: 40px;
    }
}

.p-bold {
    display: inline;
    font-weight: bolder;
    color: #582A59;
    font-size: larger;
}

