/*
Theme Name: Shelter of Kindness
Theme URI: https://example.com
Author: AI Architect
Description: قالب اختصاصی پناهگاه گربه‌ها با قابلیت کمک مالی و گالری پیشرفته.
Version: 1.0
Text Domain: shelter-theme
*/

/* Font replaced with 'Nunito' for English - Round and friendly */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

:root {
    --primary: #FF8C69; /* نارنجی ملایم/سالمون - رنگ اکسانت */
    --primary-hover: #ff7043;
    --dark: #4a4a4a;
    --light: #f9f9f9;
    --white: #ffffff;
    --grey: #bdc3c7;
    --success: #2ecc71;
}

body {
    font-family: 'Nunito', sans-serif; /* Changed font */
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 0;
    direction: ltr; /* Changed from rtl */
    text-align: left; /* Changed from right */
    line-height: 1.8;
    overflow-x: hidden;
}

/* Utilities */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.btn { display: inline-block; padding: 12px 25px; border-radius: 30px; font-weight: bold; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(255, 140, 105, 0.4); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.text-center { text-align: center; }
.flex { display: flex; flex-wrap: wrap; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Header */
header { background: var(--white); padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
header .flex { align-items: center; justify-content: space-between; }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
nav a { font-weight: bold; font-size: 0.95rem; }
nav a:hover { color: var(--primary); }

/* Hero Section */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://placekitten.com/1200/600'); 
    background-size: cover; background-position: center; 
    height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); 
}
.hero h1 { font-size: 3rem; margin-bottom: 10px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

/* Stats */
.stats-bar { background: var(--white); padding: 40px 0; margin-top: -50px; position: relative; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: bold; color: var(--primary); display: block; }

/* Cats Grid */
.cat-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; position: relative; }
.cat-card:hover { transform: translateY(-10px); }
.cat-img { height: 250px; width: 100%; object-fit: cover; }
.cat-info { padding: 20px; }
.cat-tag { position: absolute; top: 15px; left: 15px; /* Changed from right to left */ background: var(--success); color: white; padding: 5px 10px; border-radius: 20px; font-size: 0.8rem; }
.cat-tag.urgent { background: #e74c3c; animation: pulse 2s infinite; }

/* Donation Page styles */
.crypto-box { background: #f1f2f6; padding: 20px; border-radius: 10px; margin-bottom: 15px; word-break: break-all; }
.qr-placeholder { width: 150px; height: 150px; background: #ddd; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }

/* Footer */
footer { background: var(--dark); color: var(--white); padding: 50px 0 20px; margin-top: 50px; }
footer h3 { color: var(--primary); margin-bottom: 20px; }
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 10px; }
.copyright { text-align: center; border-top: 1px solid #666; padding-top: 20px; margin-top: 40px; font-size: 0.9rem; }

@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* Single Cat */
.single-cat-header { display: flex; gap: 40px; margin-top: 40px; }
.single-cat-img { flex: 1; border-radius: 15px; width: 100%; }
.single-cat-details { flex: 1; }
.meta-box { background: #fff; padding: 20px; border-radius: 10px; margin: 20px 0; display: flex; gap: 20px; }

/* Responsive */
@media(max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .flex, .single-cat-header { flex-direction: column; }
    nav ul { flex-wrap: wrap; justify-content: center; }
}

