/* Zoo Management System - Professional Business Styles */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --light: #f8fafc;
    --dark: #0f172a;
    --font-heading: 'Georgia', 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: #334155; line-height: 1.6; background: #f1f5f9; }

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar-brand { color: white !important; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.navbar-nav { display: flex; gap: 1.5rem; align-items: center; list-style: none; }
.navbar-nav a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; }
.navbar-nav a:hover { color: white; }
.btn { display: inline-block; padding: 0.5rem 1.25rem; border-radius: 6px; text-decoration: none; font-weight: 600; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #d97706; }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--primary); }

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(13,148,136,0.9) 0%, rgba(15,118,110,0.95) 100%),
                url('https://images.unsplash.com/photo-1546182990-dffeafbe841d?w=1920') center/cover;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); letter-spacing: -0.02em; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero .btn { margin: 0 0.5rem; padding: 0.75rem 1.5rem; font-size: 1rem; }

/* Sections */
.section { padding: 4rem 2rem; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.25rem; color: var(--dark); margin-bottom: 0.5rem; }
.section-title p { color: #64748b; }

.container { max-width: 1200px; margin: 0 auto; }
.row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--dark); }
.card-text { color: #64748b; font-size: 0.9rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--secondary); }
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.2); }

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    padding: 2rem;
}
.auth-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 420px;
}
.auth-box h2 { text-align: center; margin-bottom: 1.5rem; color: var(--dark); }
.alert { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }

/* Footer */
.footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 2rem;
    text-align: center;
}

/* Page Content */
.page-header { background: white; padding: 1.5rem 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 2rem; }
.page-header h1 { font-size: 1.75rem; color: var(--dark); }

/* Table */
.table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.table th, .table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.table th { background: var(--primary); color: white; font-weight: 600; }
.table tr:hover { background: #f8fafc; }
.badge { padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }
.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: var(--secondary);
}
.pagination a:hover { background: var(--primary); color: white; border-color: var(--primary); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }
