/* İklim Portali — özel stiller (Tailwind CDN ile birlikte) */

@keyframes float-leaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-float-leaf { animation: float-leaf 6s ease-in-out infinite; }
.animate-fade-up { animation: fade-up 0.6s ease-out forwards; }

.hero-slide {
    background-size: cover;
    background-position: center;
}

/* Owl Carousel — Tailwind uyumu */
.owl-carousel .owl-item { border-radius: 0; }
.owl-carousel .item { position: relative; overflow: hidden; }

/* Zengin içerik (CMS) */
.prose-content h1, .prose-content h2, .prose-content h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f3d2e;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.prose-content p { margin-bottom: 1em; line-height: 1.75; color: #334155; }
.prose-content ul, .prose-content ol { margin: 1em 0; padding-left: 1.5em; }
.prose-content li { margin-bottom: 0.35em; }
.prose-content a { color: #0d9488; text-decoration: underline; }
.prose-content img { max-width: 100%; height: auto; border-radius: 0.75rem; margin: 1em 0; }
.prose-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose-content th, .prose-content td {
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

/* Hesaplayıcı formları — mevcut JS ile uyum */
.box {
    display: none;
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 24px -4px rgba(15, 61, 46, 0.12);
    border: 1px solid #e2ebe6;
}
.caption {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f3d2e;
    margin-bottom: 0.75rem;
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    background: #fff;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-success { background: #0d9488; color: #fff; }
.btn-success:hover { background: #0f766e; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.table th, .table td { border: 1px solid #e2e8f0; padding: 0.5rem 0.75rem; }
.table th { background: #f0fdf9; color: #0f3d2e; font-weight: 600; }

/* Sayfalama */
.pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 2rem 0; }
.pagination li a, .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f3d2e;
    background: #f0fdf9;
    border: 1px solid #ccfbf1;
    text-decoration: none;
    transition: all 0.2s;
}
.pagination li a:hover { background: #0d9488; color: #fff; border-color: #0d9488; }
.pagination .active span { background: #0d9488; color: #fff; border-color: #0d9488; }
