/* common.css - Shared Styles for JenX Ranch */
:root {
    /* Brand Colors */
    --primary-color: #2D4A3E;       /* Ranch Green */
    --secondary-color: #B8956A;     /* Ranch Gold/Tan */
    --accent-color: #2A5441;        /* Darker Green */
    
    /* Functional Colors */
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --info-color: #2196F3;
    
    /* Backgrounds */
    --bg-body: #f0f8ff;
    --bg-card: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* Text */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    
    /* UI Elements */
    --border-color: #DEE2E6;
    --border-radius: 12px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    
    /* Navigation */
    --nav-height-mobile: 60px;
    --nav-height-desktop: 64px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text-primary);
    padding-bottom: calc(var(--nav-height-mobile) + 20px); /* Space for bottom nav */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
        padding-top: var(--nav-height-desktop);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Card Style */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

/* Navigation Container (Placeholder for JS injection) */
#jenx-nav-container {
    position: fixed;
    z-index: 9999;
}
