.hero-inner {
    max-width: 800px;
    opacity: 0;
    transition: opacity .5s ease;
}
.hero-inner.active {
    opacity: 1;
}
.hero-inner .anim-child {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .6s cubic-bezier(0.19, 1, 0.22, 1), transform .6s cubic-bezier(0.19, 1, 0.22, 1);
}
.hero-inner.active .anim-child {
    opacity: 1;
    transform: translateY(0);
}
.hero-inner.active .anim-child:nth-child(1) { transition-delay: .2s; }
.hero-inner.active .anim-child:nth-child(2) { transition-delay: .3s; }
.hero-inner.active .anim-child:nth-child(3) { transition-delay: .4s; }
.hero-inner.active .anim-child:nth-child(4) { transition-delay: .5s; }
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 999px;
}
.slider-btn {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: background-color .3s, color .3s;
}
.dots {
    margin-top: 0;
}
.about .portrait {
    border-radius: 200px 12px 12px 12px;
}
/* Bu eski kodları SİLİN */
.services .card {
    border: none;
    border-left: 4px solid transparent;
    padding-left: 30px;
}
.services .card:hover {
    transform: translateX(10px);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

/* Yerine bu YENİ kodları EKLEYİN */
.service-card-wrapper {
    perspective: 1500px;
}
.service-card {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--surface), var(--bg));
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
}
.service-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-50px);
    font-size: 120px;
    color: var(--primary);
    opacity: 0.04;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.service-card:hover .service-icon {
    opacity: 0.08;
}
.service-content {
    transform: translateZ(40px);
}
.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}
.service-content p {
    font-size: 0.95rem;
    min-height: 100px; /* Kartların aynı hizada durması için */
}
.card-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.1s;
}
.service-card:hover .card-link {
    opacity: 1;
    transform: translateY(0);
}
.testimonial-carousel {
    position: relative;
    height: 350px; /* Yüksekliği kart içeriğine göre ayarlayın */
    perspective: 2500px;
}
.testimonial-card {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 40px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    border-top: 5px solid var(--accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    will-change: transform, opacity;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: default;
    user-select: none;
}
.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}
.testimonial-card.prev {
    opacity: 0.3;
    transform: translateX(-60%) scale(0.8);
    z-index: 1;
}
.testimonial-card.next {
    opacity: 0.3;
    transform: translateX(60%) scale(0.8);
    z-index: 1;
}
.testimonial-content {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.testimonial-author {
    margin-top: 24px;
}
.author-name {
    font-weight: 700;
    color: var(--primary);
}
.author-context {
    font-size: 0.9rem;
    color: var(--muted);
}
.t-nav {
    inset: 50% -50px auto -50px;
    transform: translateY(-50%);
}
@media (max-width: 768px) {
    .testimonial-card.prev, .testimonial-card.next {
        display: none;
    }
    .t-nav {
        inset: auto 0 -60px 0;
        transform: none;
        top: auto;
        justify-content: center;
        gap: 20px;
    }
    .testimonial-carousel {
        height: 400px;
    }
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.testimonial-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 0 40px;
}
.testimonial-carousel {
    position: relative;
    height: 380px; /* Yüksekliği artırdık */
    perspective: 2500px;
}
.testimonial-card {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 40px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    border-top: 5px solid var(--accent);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği yaymak için */
    text-align: center;
    will-change: transform, opacity;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: default;
    user-select: none;
}
.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}
.testimonial-card.prev {
    opacity: 0.3;
    transform: translateX(-60%) scale(0.8);
    z-index: 1;
}
.testimonial-card.next {
    opacity: 0.3;
    transform: translateX(60%) scale(0.8);
    z-index: 1;
}
.testimonial-content {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.3rem; /* Yazı boyutunu biraz küçülttük */
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center; /* Metni dikeyde ortalamak için */
    padding-top: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
    position: absolute; /* Mutlak konumlandırma */
    top: -35px; /* Kartın dışına taşırma */
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    padding: 10px 25px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}
.author-details {
    text-align: left;
}
.author-name {
    font-weight: 700;
    color: var(--primary);
}
.author-context {
    font-size: 0.9rem;
    color: var(--muted);
}
.t-nav {
    inset: 50% -50px auto -50px;
    transform: translateY(-50%);
}
@media (max-width: 768px) {
    .testimonial-card.prev, .testimonial-card.next {
        display: none;
    }
    .testimonial-carousel-wrapper {
        padding: 0;
    }
    .t-nav {
        inset: auto 0 -60px 0;
        transform: none;
        top: auto;
        justify-content: center;
        gap: 20px;
    }
    .testimonial-carousel {
        height: 420px; /* Mobil için yüksekliği ayarla */
    }
    .testimonial-author {
        top: -30px;
    }
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: box-shadow .3s ease;
}
.faq-item:hover {
    box-shadow: var(--shadow);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    font-family: Montserrat, sans-serif;
}
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: transform .3s cubic-bezier(0.19, 1, 0.22, 1);
}
.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}
.faq-item.open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(180deg);
}
.faq-item.open .faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
}
.faq-answer p {
    padding: 0 24px 24px;
    color: var(--muted);
    font-size: 0.95rem;
}
.faq-item.open .faq-answer {
    max-height: 400px;
}
.appointment-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    height: 100%;
    object-fit: cover;
}
@media (max-width: 992px) {

    .appointment-image {
        display: none; /* Mobilde resmi gizle */
    }
}
.faq-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.faq-container {
    display: grid;
    gap: 16px;
}
.faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    font-family: Montserrat, sans-serif;
    transition: color .3s ease;
}
.faq-question:hover {
    color: var(--accent);
}
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: transform .4s cubic-bezier(0.19, 1, 0.22, 1), background-color .3s ease;
}
.faq-question:hover .faq-icon::before,
.faq-question:hover .faq-icon::after {
    background-color: var(--accent);
}
.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}
.faq-item.open .faq-question {
    color: var(--accent);
}
.faq-item.open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(180deg);
}
.faq-item.open .faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-in-out;
}
.faq-answer p {
    padding: 0 0 24px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    max-height: 400px;
}
.contact-column .form-wrap {
    padding: 40px;
    position: sticky;
    top: 120px; /* Header yüksekliğine göre ayarlanabilir */
}
.contact-column .form-wrap h3 {
    text-align: center;
}
.contact-column .form-wrap .muted {
    text-align: center;
}
@media (max-width: 992px) {
    .faq-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-column .form-wrap {
        position: static;
        top: auto;
    }
}
.process {
    background-color: var(--beige);
}
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}
.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    z-index: 1;
}
.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}
.process-step:nth-child(even) {
    left: 50%;
    text-align: left;
}
.process-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--surface);
    border: 3px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 0 0 5px var(--beige);
    transition: transform .3s ease, background-color .3s ease;
}
.process-step:hover .process-icon {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--accent);
    color: #fff;
}
.process-step:nth-child(even) .process-icon {
    left: -30px;
}
.process-content {
    padding: 20px 30px;
    background-color: var(--surface);
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--accent-light);
    transition: border-color .3s ease;
}
.process-step:hover .process-content {
    border-bottom-color: var(--accent);
}
.process-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}
@media (max-width: 768px) {
    .process-timeline::after {
        left: 30px;
    }
    .process-step {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
        left: 0 !important;
        text-align: left !important;
        margin-bottom: 30px;
    }
    .process-icon {
        left: 0 !important;
    }
}
.hero {
    min-height: 100vh;
    overflow: hidden;
}
.hero-bg-layers {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-bg-layer {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    will-change: transform;
    animation: kenburns-calm 30s ease-in-out infinite alternate;
}
.hero-bg-layer:nth-child(2) { animation-delay: -10s; }
.hero-bg-layer:nth-child(3) { animation-delay: -20s; }

@keyframes kenburns-calm {
    0% { transform: scale(1.05) rotate(-1deg); }
    100% { transform: scale(1) rotate(1deg); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 2;
}
.hero-inner-container {
    position: relative;
    z-index: 3;
    text-align: left;
}
.hero-inner {
    max-width: 800px;
    animation: fade-in-hero 1s .2s both;
}
@keyframes fade-in-hero {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-inner .anim-child {
    opacity: 0;
    transform: translateY(25px);
    animation: slide-up .6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.hero-inner .anim-child:nth-child(1) { animation-delay: .4s; }
.hero-inner .anim-child:nth-child(2) { animation-delay: .6s; }
.hero-inner .anim-child:nth-child(3) { animation-delay: .8s; }
.hero-inner .anim-child:nth-child(4) { animation-delay: 1s; }

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
C. home.js Dosyasını Düzenleme
assets/js/home.js dosyasındaki, artık kullanmadığımız eski slider'a ait olan JavaScript kodlarını silip yerine aşağıdaki daha basit ve yeni tasarıma uygun kodu yapıştırın. Bu kod, fare hareketine duyarlı, sakin bir paralaks efekti ekleyecektir.

JavaScript

// ESKİ home.js içeriğini SİLİN ve BUNU EKLEYİN
document.addEventListener('DOMContentLoaded', () => {
    const layers = document.querySelectorAll('.hero-bg-layer');
    window.addEventListener('mousemove', (e) => {
        const { clientX, clientY } = e;
        const x = (clientX / window.innerWidth) - 0.5;
        const y = (clientY / window.innerHeight) - 0.5;

        layers.forEach(layer => {
            const speed = layer.dataset.speed;
            const xPos = x * speed;
            const yPos = y * speed;
            layer.style.transform = `translate(${xPos}px, ${yPos}px)`;
        });
    });

    const testimonialCarousel = document.getElementById('testimonialCarousel');
    if (testimonialCarousel) {
        const cards = testimonialCarousel.querySelectorAll('.testimonial-card');
        const nextBtn = document.getElementById('tNext');
        const prevBtn = document.getElementById('tPrev');
        const totalCards = cards.length;
        let currentIndex = 0;
        let autoRotateInterval;

        function updateCarousel(isInitial = false) {
            cards.forEach((card, index) => {
                card.classList.remove('active', 'prev', 'next');
                if (!isInitial) {
                    card.style.transition = 'transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1)';
                } else {
                     card.style.transition = 'none';
                }

                const prevIndex = (currentIndex - 1 + totalCards) % totalCards;
                const nextIndex = (currentIndex + 1) % totalCards;

                if (index === currentIndex) {
                    card.classList.add('active');
                } else if (index === prevIndex) {
                    card.classList.add('prev');
                } else if (index === nextIndex) {
                    card.classList.add('next');
                }
            });
        }

        function rotateCarousel(direction) {
            currentIndex = (currentIndex + direction + totalCards) % totalCards;
            updateCarousel();
        }
        
        function startAutoRotate() {
            stopAutoRotate();
            autoRotateInterval = setInterval(() => rotateCarousel(1), 6000);
        }

        function stopAutoRotate() {
            clearInterval(autoRotateInterval);
        }

        nextBtn.addEventListener('click', () => {
            rotateCarousel(1);
            startAutoRotate(); 
        });

        prevBtn.addEventListener('click', () => {
            rotateCarousel(-1);
            startAutoRotate();
        });
        
        testimonialCarousel.addEventListener('mouseenter', stopAutoRotate);
        testimonialCarousel.addEventListener('mouseleave', startAutoRotate);

        updateCarousel(true);
        startAutoRotate();
    }
    
    document.querySelectorAll('.faq-item').forEach(item => {
        const question = item.querySelector('.faq-question');
        question.addEventListener('click', () => {
            const wasOpen = item.classList.contains('open');
            document.querySelectorAll('.faq-item').forEach(i => i.classList.remove('open'));
            if (!wasOpen) {
                item.classList.add('open');
            }
        });
    });

    const serviceCards = document.querySelectorAll('.service-card');
    serviceCards.forEach(card => {
        card.addEventListener('mousemove', (e) => {
            const rect = card.getBoundingClientRect();
            const x = e.clientX - rect.left;
            const y = e.clientY - rect.top;

            const centerX = card.offsetWidth / 2;
            const centerY = card.offsetHeight / 2;

            const rotateX = (y - centerY) / 20;
            const rotateY = (centerX - x) / 20;

            card.style.transform = `rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
        });

        card.addEventListener('mouseleave', () => {
            card.style.transform = 'rotateX(0deg) rotateY(0deg)';
        });
    });
});
.blog-preview-section {
    background-color: var(--surface);
}
.blog-grid-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.b-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid var(--border);
}
.b-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.b-card-img-link {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.b-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.b-card:hover .b-card-img-link img {
    transform: scale(1.05);
}
.b-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.b-card-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 10px;
}
.b-card-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    flex-grow: 1;
}
.b-card-title a {
    color: var(--primary);
}
.b-card-title a:hover {
    color: var(--accent);
}
.b-card-readmore {
    font-weight: 600;
    color: var(--accent);
    align-self: flex-start;
    margin-top: auto;
}
.b-card-readmore i {
    transition: transform .3s ease;
}
.b-card-readmore:hover i {
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .blog-grid-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .blog-grid-preview {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .section.about > div:nth-child(2) {
        text-align: center;
    }
    .about .section-title {
        text-align: center;
        margin-bottom: 20px;
    }
    .about .lead {
        margin-left: auto;
        margin-right: auto;
    }
}