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

/* 
 * Vimepotea Refined Industrial Design System
 * Aesthetic: Professional, Reliable, High-Contrast
 */

:root {
    --primary: #FFD700;
    --primary-dark: #e6c200;
    --neutral-50: #F9FAFB;
    --neutral-100: #F3F4F6;
    --neutral-200: #E5E7EB;
    --neutral-800: #1F2937;
    --neutral-900: #111827;
    --amber-soft: #FFFBEB;
    
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius-standard: 12px;
}

/* Force Industrial Primary Color over Bootstrap */
.text-primary {
    color: var(--primary) !important;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--neutral-50);
    color: var(--neutral-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Navbar: Bold Industrial Identity */
.navbar {
    background-color: var(--primary) !important;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding: 1.25rem 0;
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--neutral-900) !important;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--neutral-900) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 12px;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.nav-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-link.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* Hero Section: Professional Focus (High Contrast) */
.hero-section {
    background-color: var(--neutral-900) !important;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 40%) !important;
    padding: 100px 0 !important;
    border-bottom: 4px solid var(--primary) !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-title {
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    color: #FFFFFF !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* Scrolling Feedback: Refined Ticker */
.feedback-scroll-container {
    background-color: var(--primary);
    overflow: hidden;
    padding: 8px 0;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feedback-scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 45s linear infinite;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: var(--neutral-900);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Industrial Two-Column Cards */
.item-card {
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-standard);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #FFFFFF;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex; /* Added for height synchronization */
    flex-direction: column;
    min-height: 480px; /* Enforce uniform base height */
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
    min-height: 520px; /* Stronger baseline */
}

.item-img-container {
    height: 240px !important;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: var(--neutral-100);
}

.item-img-container img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    filter: brightness(0.95);
    transition: filter 0.3s;
}

.item-card:hover .item-img-container img {
    filter: brightness(1);
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1; /* Grow to fill card height */
    display: flex;
    flex-direction: column;
}

/* Ensure descriptions and titles occupy consistent space */
.card-body h5 {
    height: 1.4em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-body p {
    flex-grow: 1; /* Description fills remaining space */
}

/* Push actions to bottom */
.card-footer-area {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-100);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 5;
    border: 2px solid #FFFFFF;
}

.badge-lost {
    background-color: #EF4444;
    color: white;
}

.badge-found {
    background-color: #10B981;
    color: white;
}

/* Professional Buttons */
.btn-custom-primary {
    background-color: var(--primary);
    color: var(--neutral-900);
    border: 2px solid var(--primary);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 100px;
    transition: all 0.2s;
}

.btn-custom-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--neutral-900);
    color: var(--neutral-900);
    font-weight: 700;
    border-radius: 100px;
    padding: 10px 24px;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    background-color: var(--neutral-900);
    color: #FFFFFF;
}

/* Footer: Modern Industrial */
.footer-industrial {
    background-color: var(--neutral-900);
    color: #FFFFFF;
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer-industrial h5, .footer-industrial h6 {
    letter-spacing: 0.05em;
}

.footer-links {
    padding: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.social-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon-box:hover {
    background: var(--primary);
    color: var(--neutral-900) !important;
    transform: translateY(-3px);
}

.footer-contact li {
    font-size: 0.95rem;
}

.border-white-10 {
    border-color: rgba(255,255,255,0.08) !important;
}

.footer-pay-icon {
    filter: grayscale(1) opacity(0.6);
    transition: all 0.3s ease;
}

.footer-pay-icon:hover {
    filter: grayscale(0) opacity(1);
}

/* Utilities */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.tracking-widest { letter-spacing: 0.1em; }
.fw-black { font-weight: 800; }

