/* Türkoğlu Grup - Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Line clamp utility */
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* Prose overrides */
.prose img {
    border-radius: 0.75rem;
}

.prose h2 {
    margin-top: 2rem;
}

.prose ul li::marker {
    color: #16a34a;
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Header shadow on scroll */
.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Lazy load image placeholder */
img[loading="lazy"] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Focus styles for a11y */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
}

/* Skip to content link for a11y */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #16a34a;
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Partner marquee */
.partner-track {
    will-change: transform;
}

/* Print styles */
@media print {
    header, footer, .whatsapp-btn, .cookie-consent, nav { display: none !important; }
    main { padding: 0 !important; }
}
