/* =========================================
   UCE SYSTEMS - INDEX PAGE CSS
   Production CSS for index.html
   ========================================= */

/* ===== CSS VARIABLES ===== */
:root {
    --navy: #000080;
    --blue: #2196F3;
    --red: #8B0000;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F8FAFB;
}

html { 
    scroll-behavior: smooth; 
}

/* ===== LAYOUT & POSITIONING ===== */
.fixed { position: fixed; }
.relative { position: relative; }
.z-50 { z-index: 50; }

/* ===== WIDTH & HEIGHT ===== */
.w-full { width: 100%; }
.w-3 { width: 0.75rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }

.h-3 { height: 0.75rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-15 { height: 3.75rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-72 { height: 18rem; }
.h-full { height: 100%; }

/* Max Width */
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-\[1600px\] { max-width: 1600px; }

/* Margin Auto */
.mx-auto { 
    margin-left: auto; 
    margin-right: auto; 
}

/* ===== FLEXBOX ===== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* Align & Justify */
.items-baseline { align-items: baseline; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Gap */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-20 { gap: 5rem; }

/* Space Between */
.space-x-10 > * + * { margin-left: 2.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* ===== GRID ===== */
.grid { display: grid; }

/* ===== DISPLAY UTILITIES ===== */
.inline-block { display: inline-block; }
.hidden { display: none; }

/* ===== SPACING - PADDING ===== */
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-14 { padding: 3.5rem; }
.p-16 { padding: 4rem; }

/* Padding X (horizontal) */
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

/* Padding Y (vertical) */
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

/* Padding Bottom */
.pb-4 { padding-bottom: 1rem; }
.pb-32 { padding-bottom: 8rem; }

/* Padding Top */
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-32 { padding-top: 8rem; }

/* ===== SPACING - MARGIN ===== */
.mt-1 { margin-top: 0.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-auto { margin-top: auto; }

.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }

.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }

/* ===== TYPOGRAPHY - SIZE ===== */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

/* ===== TYPOGRAPHY - WEIGHT ===== */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ===== TYPOGRAPHY - ALIGNMENT & TRANSFORM ===== */
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* ===== COLORS - TEXT ===== */
.text-white { color: #ffffff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-blue-200 { color: #bfdbfe; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }

/* ===== COLORS - BACKGROUND ===== */
.bg-white { background-color: #ffffff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-600 { background-color: #dc2626; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }

/* ===== GRADIENTS ===== */
.bg-gradient-to-br { 
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); 
}

.from-white { 
    --tw-gradient-from: #ffffff; 
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0)); 
}

.from-blue-50 { 
    --tw-gradient-from: #eff6ff; 
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0)); 
}

.to-white { --tw-gradient-to: #ffffff; }
.to-blue-50 { --tw-gradient-to: #eff6ff; }

/* ===== BORDERS ===== */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }

.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-red-600 { border-color: #dc2626; }
.border-blue-600 { border-color: #2563eb; }

/* Border Radius */
.rounded-full { border-radius: 9999px; }

/* ===== SHADOWS ===== */
.shadow-xl { 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); 
}

/* ===== TRANSITIONS ===== */
.transition { 
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* ===== HOVER STATES ===== */
.hover\:bg-blue-50:hover { background-color: #eff6ff; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:text-blue-600:hover { color: #2563eb; }
.hover\:text-blue-700:hover { color: #1d4ed8; }
.hover\:border-blue-600:hover { border-color: #2563eb; }
.hover\:underline:hover { text-decoration: underline; }

/* ===== RESPONSIVE - SMALL SCREENS (640px+) ===== */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}

/* ===== RESPONSIVE - MEDIUM SCREENS (768px+) ===== */
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== RESPONSIVE - LARGE SCREENS (1024px+) ===== */
@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

/* ===== CUSTOM COMPONENTS ===== */

/* Navigation Shadow */
.nav-shadow { 
    box-shadow: 0 2px 8px rgba(0, 0, 128, 0.08); 
}

/* Card Hover Effect */
.card-hover { 
    transition: all 0.3s ease; 
}

.card-hover:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 12px 24px rgba(0, 0, 128, 0.12); 
}

/* ===== NAVIGATION & FOOTER FIXES ===== */

/* Remove underlines from all links by default */
a {
    text-decoration: none;
}

/* Remove underline from navigation links */
nav a {
    text-decoration: none;
}

/* Remove underline from footer links */
footer a {
    text-decoration: none;
}

/* Remove bullets from footer lists */
footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    list-style: none;
}

footer ul li:before {
    content: none;
}

footer div {
    list-style: none;
}
