/* ASSİM — özgün site stilleri (Tailwind CDN ile birlikte) */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Fraunces', Georgia, serif;
}

/* Hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-dot.active {
    width: 28px;
    background: #f59e0b;
}

/* Horizontal scroll carousels */
.scroll-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
}

.scroll-carousel::-webkit-scrollbar {
    display: none;
}

.scroll-carousel > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Section label decoration */
.section-tag::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #06b6d4);
    border-radius: 2px;
    margin-right: 12px;
    vertical-align: middle;
}

/* Mesh gradient backgrounds */
.mesh-bg {
    background-color: #0f172a;
    background-image:
        radial-gradient(at 20% 30%, rgba(6, 182, 212, 0.15) 0, transparent 50%),
        radial-gradient(at 80% 70%, rgba(245, 158, 11, 0.12) 0, transparent 50%),
        radial-gradient(at 50% 50%, rgba(99, 102, 241, 0.08) 0, transparent 60%);
}

.mesh-bg-light {
    background-color: #fafaf9;
    background-image:
        radial-gradient(at 10% 20%, rgba(6, 182, 212, 0.06) 0, transparent 40%),
        radial-gradient(at 90% 80%, rgba(245, 158, 11, 0.05) 0, transparent 40%);
}

/* Card hover lift */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
}

/* Mobile menu overlay */
.mobile-nav {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Header shrink on scroll */
.site-header {
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.site-header.scrolled .header-logo {
    height: 3rem;
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

/* Pagination (X.PagedList) */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a {
    background: white;
    border: 1.5px solid #e2e8f0;
    color: #334155;
}

.pagination a:hover {
    border-color: #06b6d4;
    color: #0891b2;
}

.pagination .active span {
    background: #0f172a;
    color: white;
    border: 1.5px solid #0f172a;
}

/* Prose for news content */
.prose-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.prose-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #475569;
}

/* Fade-in on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
