
/* public/css/style.css - Core System Styles */

/* ====================================
   CSS RESET & BASE STYLES
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family, 'Inter', sans-serif);
    color: #333;
    line-height: 1.6;
    background-color: #fafafa;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color, #2ecc71);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color, #27ae60);
    text-decoration: underline;
}

/* ====================================
   BUTTONS & INTERACTIVE ELEMENTS
   ==================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--border-radius, 0.375rem);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color, #2ecc71);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--primary-color, #2ecc71);
    color: white;
}

.btn-success:hover {
    background-color: var(--secondary-color, #27ae60);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.btn-outline-success {
    border: 2px solid var(--primary-color, #2ecc71);
    color: var(--primary-color, #2ecc71);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--primary-color, #2ecc71);
    color: white;
    transform: translateY(-2px);
}

.btn-kebena {
    background-color: var(--primary-color, #2ecc71);
    border-color: var(--primary-color, #2ecc71);
    color: white;
}

.btn-kebena:hover {
    background-color: var(--secondary-color, #27ae60);
    border-color: var(--secondary-color, #27ae60);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

/* ====================================
   CARDS & CONTAINERS
   ==================================== */
.card {
    background: white;
    border-radius: var(--border-radius, 0.5rem);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

/* ====================================
   FORMS
   ==================================== */
.form-control, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius, 0.375rem);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    color: #495057;
    background-color: #fff;
    border-color: var(--primary-color, #2ecc71);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.form-text {
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #6c757d;
}

/* ====================================
   UTILITY CLASSES
   ==================================== */
.text-kebena {
    color: var(--primary-color, #2ecc71) !important;
}

.bg-kebena {
    background-color: var(--primary-color, #2ecc71) !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-dark {
    background-color: #343a40 !important;
}

.border-success {
    border-color: var(--primary-color, #2ecc71) !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-slide-up {
    animation: slideInUp 1s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 1s ease-out;
}

.animate-slide-right {
    animation: slideInRight 1s ease-out;
}

/* ====================================
   RESPONSIVE UTILITIES
   ==================================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ====================================
   PRINT STYLES
   ==================================== */
@media print {
    .no-print {
        display: none !important;
    }
    
    a {
        text-decoration: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

