/* ====================================================
   TIERHEIM OLPE - CLEAN & COMFORTABLE DESIGN SYSTEM
   Soft, Readable, Welcoming
   ==================================================== */

/* ==================
   CSS Variables
   ================== */
:root {
    /* PRIMARY - Warm Coral (softer than pure red) */
    --primary: #E07B6C;
    --primary-dark: #C96A5C;
    --primary-light: #FDF0EE;
    --primary-rgb: 224, 123, 108;
    
    /* SECONDARY - Soft Sage Green (calming) */
    --secondary: #7BAE7F;
    --secondary-dark: #5E9362;
    --secondary-light: #EDF5EE;
    --secondary-rgb: 123, 174, 127;
    
    /* ACCENT - Warm Sand */
    --accent: #D4A574;
    --accent-dark: #B8895C;
    --accent-light: #FBF6F0;
    
    /* NEUTRALS - Warm grays */
    --dark: #3D3D3D;
    --dark-rgb: 61, 61, 61;
    --gray-dark: #6B6B6B;
    --gray: #9B9B9B;
    --gray-light: #E8E8E8;
    --light: #FAFAFA;
    --cream: #FDF9F6;
    --white: #FFFFFF;
    
    /* STATUS */
    --success: #7BAE7F;
    --success-light: #EDF5EE;
    --info: #6BA3BE;
    --info-light: #EEF6F9;
    --warning: #E5B85C;
    --warning-light: #FDF8EC;
    --danger: #D97B7B;
    --danger-light: #FBEFEF;
    
    /* SHADOWS - Very soft */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.12);
    
    /* TRANSITIONS */
    --transition-fast: all 0.15s ease;
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
    
    /* BORDER RADIUS */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    
    /* SPACING */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    
    /* TYPOGRAPHY */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 2.75rem;
    
    /* Header Height */
    --header-height: 70px;
}

/* ==================
   Reset & Base
   ================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--cream);
}

/* ==================
   Typography
   ================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h2 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); }
h3 { font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); font-weight: 600; }
h6 { font-size: var(--text-sm); font-weight: 600; }

p {
    margin-bottom: var(--space-sm);
    color: var(--gray-dark);
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

strong {
    font-weight: 600;
    color: var(--dark);
}

/* ==================
   Container & Layout
   ================== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-2xl) 0;
}

/* ==================
   Section Titles
   ================== */
.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--dark);
}

.section-title i {
    margin-right: var(--space-xs);
    color: var(--primary);
}

/* ==================
   Buttons
   ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: var(--text-sm);
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn i {
    font-size: 0.9em;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-tertiary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-tertiary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--gray-light);
}

.btn-outline:hover {
    background: var(--light);
    border-color: var(--gray);
}

.btn-text {
    background: transparent;
    color: var(--gray-dark);
    border: none;
    padding: 8px 12px;
}

.btn-text:hover {
    color: var(--dark);
    background: var(--light);
}

.btn-sm {
    padding: 8px 14px;
    font-size: var(--text-xs);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--text-base);
}

.btn-block {
    width: 100%;
}

/* ==================
   Header & Navigation
   ================== */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    z-index: 1000;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.desktop-nav ul li a {
    padding: 10px 16px;
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--gray-dark);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.admin-link {
    background: var(--secondary-light) !important;
    color: var(--secondary-dark) !important;
}

.admin-link:hover {
    background: var(--secondary) !important;
    color: var(--white) !important;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-button span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
}

/* ==================
   Hero Section - Clean & Simple
   ================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--primary-light);
    border-radius: 0 0 0 200px;
    z-index: 0;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl);
}

.hero-text {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-dark);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================
   Page Header - Simple
   ================== */
.page-hero,
.page-header {
    padding: var(--space-2xl) 0;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
}

.page-hero-overlay {
    display: none;
}

.page-hero .container,
.page-header .container {
    position: relative;
    z-index: 2;
}

.page-hero h1,
.page-header h1 {
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.page-hero h1 i,
.page-header h1 i {
    color: var(--primary);
    margin-right: var(--space-xs);
}

.page-hero p,
.page-header p {
    color: var(--gray-dark);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================
   Stats Banner - Soft Design
   ================== */
.stats-banner {
    background: var(--white);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--gray-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-dark);
    margin-top: 4px;
}

/* ==================
   Cards - Clean Style
   ================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* ==================
   Filter Section
   ================== */
.filter-section {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    margin-bottom: var(--space-lg);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-pill:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.filter-advanced {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 160px;
}

.filter-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.results-count {
    text-align: center;
    padding: var(--space-sm) 0;
    color: var(--gray-dark);
}

.results-count strong {
    color: var(--primary);
    font-size: var(--text-xl);
}

/* ==================
   Animal Cards
   ================== */
.animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.animal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    cursor: pointer;
}

.animal-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.animal-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--light);
}

.animal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.animal-card:hover .animal-card-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gray-light);
    background: var(--light);
}

.animal-badges {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    gap: 6px;
}

.badge {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.badge-type {
    background: var(--white);
    color: var(--primary);
}

.badge-gender {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--secondary);
    border-radius: 50%;
}

.animal-card-content {
    padding: var(--space-md);
}

.animal-card-content h3 {
    color: var(--dark);
    margin-bottom: 6px;
    font-size: var(--text-lg);
}

.animal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--gray-dark);
}

.animal-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.animal-meta i {
    color: var(--primary);
    font-size: 0.9em;
}

.animal-description {
    color: var(--gray-dark);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.animal-tags,
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.tag {
    padding: 4px 10px;
    background: var(--light);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--gray-dark);
}

/* ==================
   News Cards
   ================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-card-header {
    padding: var(--space-sm) var(--space-md);
    background: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.news-category {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-category.vermittlung,
.news-category.adoption {
    background: var(--danger-light);
    color: var(--danger);
}

.news-category.event {
    background: var(--info-light);
    color: var(--info);
}

.news-category.spende {
    background: var(--success-light);
    color: var(--success);
}

.news-category.allgemein {
    background: var(--warning-light);
    color: var(--warning);
}

.news-date {
    font-size: var(--text-sm);
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-content h3 {
    color: var(--dark);
    margin-bottom: var(--space-sm);
    font-size: var(--text-base);
    line-height: 1.4;
}

.news-summary {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    flex: 1;
    font-size: var(--text-sm);
}

/* ==================
   Process Steps
   ================== */
.adoption-process,
.process-section {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.process-step {
    background: var(--light);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    position: relative;
}

.step-number {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: var(--text-xs);
}

.process-step h3 {
    color: var(--dark);
    margin-bottom: 6px;
    font-size: var(--text-base);
}

.process-step p {
    color: var(--gray-dark);
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ==================
   Option Cards (Help Section)
   ================== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.option-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: var(--transition);
}

.option-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.option-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 50%;
}

.option-card h3 {
    color: var(--dark);
    margin-bottom: 6px;
}

.option-card p {
    color: var(--gray-dark);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
}

/* ==================
   Info Boxes
   ================== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.info-box {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: var(--transition);
}

.info-box:hover {
    box-shadow: var(--shadow-md);
}

.info-box > i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    display: block;
}

.info-box h3, .info-box h4 {
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.info-box p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: var(--space-xs);
}

/* ==================
   Emergency Section
   ================== */
.emergency {
    background: var(--primary-light);
    padding: var(--space-lg) 0;
}

.emergency__content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    justify-content: space-between;
}

.emergency__info {
    flex: 1;
    min-width: 250px;
}

.emergency__title {
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.emergency__description {
    color: var(--dark);
}

.emergency__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.emergency__contact {
    background: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    color: var(--dark);
}

.emergency__contact strong {
    color: var(--gray-dark);
    display: block;
    margin-bottom: 2px;
    font-size: var(--text-sm);
}

.emergency__contact a {
    color: var(--primary);
    font-size: var(--text-lg);
    font-weight: 600;
}

/* ==================
   Tabs Navigation
   ================== */
.help-navigation,
.about-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: var(--space-lg);
    background: var(--white);
    padding: var(--space-sm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
}

.help-tab,
.about-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
}

.help-tab:hover,
.about-tab:hover {
    background: var(--light);
    color: var(--dark);
}

.help-tab.active,
.about-tab.active {
    background: var(--primary);
    color: var(--white);
}

.help-content,
.about-content {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
}

.help-section-content,
.about-section-content {
    max-width: 750px;
    margin: 0 auto;
}

.help-section-content h2,
.about-section-content h2 {
    color: var(--dark);
    margin-bottom: var(--space-md);
    text-align: center;
}

.help-section-content h3,
.about-section-content h3 {
    color: var(--dark);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.help-section-content p,
.about-section-content p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.highlight-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.highlight-box p {
    margin: 0;
    color: var(--dark);
}

.highlight-box h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

/* ==================
   Modal
   ================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-md);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 50%;
    font-size: var(--text-base);
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
}

.modal-body {
    padding: var(--space-xl);
}

.modal-images {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background: var(--light);
}

.modal-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: var(--light);
    color: var(--gray-light);
}

.modal-info h2 {
    color: var(--dark);
    margin-bottom: var(--space-md);
    text-align: left;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.detail-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--light);
    border-radius: var(--radius-md);
    align-items: flex-start;
}

.detail-item i {
    font-size: var(--text-lg);
    color: var(--primary);
    margin-top: 2px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.detail-item div strong {
    display: block;
    color: var(--dark);
    font-size: var(--text-sm);
    margin-bottom: 2px;
}

.detail-item div p {
    margin: 0;
    color: var(--gray-dark);
    font-size: var(--text-sm);
}

.description-section {
    background: var(--light);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.description-section h3 {
    color: var(--dark);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-base);
}

.description-section h3 i {
    color: var(--primary);
}

.description-section p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin: 0;
}

.tags-section {
    margin-bottom: var(--space-lg);
}

.tags-section strong {
    display: block;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: var(--text-sm);
}

.modal-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* News Modal */
.modal-news {
    max-width: 700px;
}

.news-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-light);
}

.news-summary-large {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--light);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
}

.news-content {
    color: var(--dark);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.news-content p {
    color: var(--gray-dark);
    margin-bottom: var(--space-md);
}

/* ==================
   No Results
   ================== */
.no-results {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
}

.no-results i {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: var(--space-md);
}

.no-results h3 {
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.no-results p {
    color: var(--gray-dark);
    margin-bottom: var(--space-lg);
}

/* ==================
   Team Cards
   ================== */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.team-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-md);
    border: 3px solid var(--primary-light);
}

.team-card h3 {
    color: var(--dark);
    margin-bottom: 4px;
    font-size: var(--text-base);
}

.team-card p {
    color: var(--primary);
    font-weight: 500;
    margin: 0;
    font-size: var(--text-sm);
}

/* ==================
   CTA Box
   ================== */
.cta-box {
    background: var(--primary-light);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: var(--space-xl);
}

.cta-box h3 {
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.cta-box p {
    color: var(--gray-dark);
    margin-bottom: var(--space-md);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-family: var(--font-body);
}

.cta-button:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==================
   Download Button
   ================== */
.download-box {
    margin: var(--space-lg) 0;
    text-align: center;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-family: var(--font-body);
}

.download-button:hover {
    background: var(--secondary-dark);
    color: var(--white);
}

/* ==================
   Footer
   ================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
}

.footer-column p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--gray);
    font-size: var(--text-sm);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-logo {
    height: 50px;
    margin-bottom: var(--space-md);
}

.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--text-base);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--gray);
    font-size: var(--text-sm);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--gray);
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ==================
   Admin Styles
   ================== */
.admin-login-container {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    padding: var(--space-lg);
    padding-top: calc(var(--header-height) + var(--space-lg));
}

.admin-login-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-light);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.login-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.login-header h2 {
    margin-bottom: 4px;
}

.login-header p {
    color: var(--gray-dark);
    margin: 0;
}

.login-form {
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--dark);
    font-size: var(--text-sm);
}

.form-group label i {
    margin-right: 6px;
    color: var(--primary);
}

.alert {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.alert-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.login-footer {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-light);
}

.back-link {
    color: var(--primary);
    font-weight: 500;
    font-size: var(--text-sm);
}

/* Admin Dashboard */
.admin-dashboard {
    padding-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    background: var(--cream);
}

.admin-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: var(--space-lg) 0;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.admin-header h1 {
    color: var(--dark);
    margin: 0;
    font-size: var(--text-2xl);
}

.admin-header h1 i {
    margin-right: 8px;
    color: var(--primary);
}

.admin-header p {
    color: var(--gray-dark);
    margin: 0;
    font-size: var(--text-sm);
}

.header-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.admin-content {
    padding: var(--space-lg) var(--space-md);
}

.dashboard-section {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
    margin-bottom: var(--space-lg);
}

.dashboard-section h2 {
    text-align: left;
    margin-bottom: var(--space-lg);
    color: var(--dark);
    font-size: var(--text-lg);
}

.dashboard-section h2 i {
    margin-right: 8px;
    color: var(--primary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.stat-box {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-box .stat-icon {
    font-size: 2rem;
    background: none;
    width: auto;
    height: auto;
}

.stat-box .stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1;
}

.stat-box .stat-text {
    font-size: var(--text-sm);
    color: var(--gray-dark);
    margin-top: 2px;
}

.stat-primary {
    background: var(--danger-light);
    color: var(--danger);
}

.stat-success {
    background: var(--success-light);
    color: var(--success);
}

.stat-info {
    background: var(--info-light);
    color: var(--info);
}

.stat-warning {
    background: var(--warning-light);
    color: var(--warning);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.action-card {
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.action-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.action-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    display: block;
}

.action-card h3 {
    color: var(--dark);
    margin-bottom: 4px;
    font-size: var(--text-base);
}

.action-card p {
    color: var(--gray-dark);
    margin: 0;
    font-size: var(--text-sm);
}

/* Admin Forms */
.admin-form-section {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
    margin-bottom: var(--space-lg);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-light);
}

.form-header h2 {
    margin: 0;
    text-align: left;
    font-size: var(--text-lg);
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
}

.form-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-light);
}

/* Admin Tables */
.admin-table-section {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
}

.admin-table-section h2 {
    text-align: left;
    margin-bottom: var(--space-lg);
    font-size: var(--text-lg);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--light);
}

.admin-table th,
.admin-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.admin-table th {
    font-weight: 600;
    color: var(--dark);
    font-size: var(--text-sm);
}

.admin-table tbody tr {
    transition: var(--transition);
}

.admin-table tbody tr:hover {
    background: var(--light);
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.btn-edit {
    background: var(--info-light);
    color: var(--info);
    border-color: transparent;
}

.btn-edit:hover {
    background: var(--info);
    color: var(--white);
}

.btn-delete {
    background: var(--danger-light);
    color: var(--danger);
    border-color: transparent;
}

.btn-delete:hover {
    background: var(--danger);
    color: var(--white);
}

/* News Admin Grid */
.news-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.news-admin-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    transition: var(--transition);
}

.news-admin-card:hover {
    box-shadow: var(--shadow-md);
}

.news-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.news-admin-card h3 {
    color: var(--dark);
    margin-bottom: 6px;
    font-size: var(--text-base);
}

.news-admin-card p {
    color: var(--gray-dark);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
}

.news-admin-actions {
    display: flex;
    gap: 8px;
}

/* ==================
   Utilities
   ================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.center-button {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ==================
   Responsive Design
   ================== */
@media (max-width: 992px) {
    .hero {
        min-height: 75vh;
    }
    
    .hero::before {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        border-radius: 100px 100px 0 0;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-light);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .mobile-nav.nav-open {
        transform: translateY(0);
    }
    
    .mobile-nav ul {
        list-style: none;
        padding: var(--space-sm) 0;
    }
    
    .mobile-nav ul li {
        border-bottom: 1px solid var(--gray-light);
    }
    
    .mobile-nav ul li a {
        display: block;
        padding: var(--space-sm) var(--space-md);
        font-weight: 500;
        color: var(--dark);
    }
    
    .mobile-nav ul li a:hover,
    .mobile-nav ul li a.active {
        background: var(--primary-light);
        color: var(--primary);
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .filter-section {
        padding: var(--space-sm);
    }
    
    .filter-pills {
        justify-content: center;
    }
    
    .filter-advanced {
        flex-direction: column;
    }
    
    .filter-group,
    .search-box {
        width: 100%;
        min-width: auto;
    }
    
    .animal-grid,
    .news-grid,
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .emergency__content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency__contacts {
        justify-content: center;
    }
    
    .help-navigation,
    .about-navigation {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modal-content {
        max-height: 95vh;
        margin: var(--space-sm);
    }
    
    .modal-body {
        padding: var(--space-md);
    }
    
    .modal-images {
        height: 200px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .admin-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .header-actions .btn {
        flex: 1;
    }
    
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .admin-table {
        font-size: var(--text-sm);
    }
    
    .admin-table th,
    .admin-table td {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .btn {
        padding: 10px 18px;
    }
    
    .page-hero,
    .page-header {
        padding: var(--space-lg) 0;
        padding-top: calc(var(--header-height) + var(--space-lg));
    }
    
    .admin-login-card {
        padding: var(--space-lg);
    }
}
