/* 7renk Theme Custom Styles */

/* Hero Slider */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}

/* Scrollbar hide */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 2000px;
    padding-bottom: 1rem;
}
.faq-item.active .faq-icon,
.faq-item.active .ph-caret-down {
    transform: rotate(180deg);
}

/* Testimonial auto scroll */
.testimonial-track {
    animation: scroll-testimonials 30s linear infinite;
}
.testimonial-track:hover {
    animation-play-state: paused;
}
@keyframes scroll-testimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stat number gradient */
.stat-number {
    color: #4338ca;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Lightbox responsive */
@media (min-width: 768px) {
    #flavor-lb-container { inset: 64px 72px !important; }
}

/* Back to top - CTA bar cakisma onleme */
.has-mobile-cta #back-to-top { bottom: 5rem !important; }

/* Back to top */
#back-to-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* WordPress specific overrides */
.wp-block-image img {
    border-radius: 1rem;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.nav-links a, .nav-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
}
.nav-links a {
    background: white;
    border: 1px solid #e2e8f0;
    color: #475569;
}
.nav-links a:hover {
    border-color: #4338ca;
    color: #4338ca;
}
.nav-links .current {
    background: #4338ca;
    color: white;
}

/* Comment form */
#respond .comment-form-cookies-consent { display: none; }
#respond .logged-in-as { margin-bottom: 1rem; font-size: 0.875rem; color: #64748b; }
#respond label { display: block; margin-bottom: 0.25rem; font-weight: 700; font-size: 0.875rem; color: #475569; }

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Prose overrides */
.prose p { margin-bottom: 0.75rem; }
.prose p:last-child { margin-bottom: 0; }

/* Selection */
::selection {
    background: #f59e0b;
    color: white;
}
