/*
 * Main Custom Stylesheet
 * Flourish Techeng Limited Shop & SkillUp Platform
 */

:root {
    --primary: #10B981; /* Premium Emerald/Green */
    --primary-dark: #047857;
    --primary-light: #D1FAE5;
    --secondary: #111827; /* Rich dark grey/black */
    --accent: #F59E0B; /* Solar orange/amber for solar and highlights */
    --light-bg: #F9FAFB;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #FFFFFF;
    color: var(--secondary);
    overflow-x: hidden;
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary);
}

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

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

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

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary-custom:hover, 
.btn-primary-custom:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-secondary-custom {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background-color: #1f2937;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Glassmorphism Header & Navigation */
.navbar-custom {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary);
}

.navbar-custom .navbar-brand span {
    color: var(--primary);
}

.navbar-custom .nav-link {
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

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

/* Badge count styling */
.badge-cart-custom {
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.7rem;
    position: relative;
    top: -8px;
    left: -5px;
}

/* Modern Cards */
.card-custom {
    border: none;
    border-radius: var(--border-radius);
    background-color: #ffffff;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.card-custom img {
    transition: var(--transition);
}

.card-custom:hover img {
    transform: scale(1.05);
}

.card-title-custom {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Solar Energy, Eng & Tech theme Hero */
.hero-section {
    background: linear-gradient(135deg, #111827 0%, #064e3b 100%);
    color: #ffffff;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Section titles styling */
.section-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Dashboard Cards (Admin) */
.admin-card {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.admin-card.orders {
    border-left-color: var(--accent);
}

.admin-card.revenue {
    border-left-color: #3b82f6; /* Blue */
}

.admin-card.students {
    border-left-color: #8b5cf6; /* Purple */
}

/* Footer styling */
.footer-custom {
    background-color: var(--secondary);
    color: #9ca3af;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-custom h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-custom a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-custom a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
