/* Kanhaiya Garden - Main Styles */
:root {
    --primary-color: #8e44ad;
    --primary-dark: #732d91;
    --secondary-color: #f39c12;
    --text-color: #333;
    --bg-light: #f4f6f9;
    --white: #ffffff;
    --danger: #e74c3c;
    --success: #2ecc71;
    --heading-font: 'Playfair Display', serif;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

a {
    transition: color 0.3s;
}

/* Custom Overrides for Bootstrap Buttons to match Theme */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navigation */
.navbar-brand.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    /* Fallback image if unsplash fails, though it's a URL */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh; /* Slightly reduced from 80vh for better mobile look */
    min-height: 400px;
}

/* Page Headers */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 0;
}

/* Features & Services Cards */
.feature-card,
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none; /* Bootstrap card has border, remove it if we want clean look */
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #fdf2e9;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: #2c3e50; /* Keep legacy footer color */
    color: #ecf0f1;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Admin Dashboard Specifics */
.stat-card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary-color);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7f8c8d;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Table overrides for cleaner look */
.table th {
    font-weight: 600;
    color: #555;
    background-color: #f8f9fa;
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.rounded-3 {
    border-radius: .5rem!important;
}