@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Ethiopic:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --amo-primary: #005bb5;
    --amo-accent: #ff6600;
    --amo-dark: #0f172a;
    --amo-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
}

body {
    background-color: #f1f5f9;
    color: #334155;
    font-family: 'Poppins', 'Noto Sans Ethiopic', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------
   የ Navbar ዲዛይን (Glassmorphism)
------------------------------------------------------ */
.navbar-glass {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, var(--amo-primary), var(--amo-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ---------------------------------------------------
   Hero Section (የዋናው ገጽ የጀርባ ፎቶ ዲዛይን) 
------------------------------------------------------ */
.hero-industrial {
    position: relative;
    padding: 160px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid var(--amo-accent);
}

.hero-industrial h1, .hero-industrial p {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.85);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(rgba(0, 32, 96, 0.5), rgba(0, 59, 115, 0.6));
    z-index: 1;
}

/* ---------------------------------------------------
   ዘመናዊ የምርት ካርዶች እና አኒሜሽን (Hover Effects) - NO BLUE BACKGROUND
------------------------------------------------------ */
.modern-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
}

.card-img-wrapper {
    height: 280px; 
    width: 100%;
    background: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 20px; 
}

.card-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; 
    transition: transform 0.5s ease;
}

.modern-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-bottom-title {
    padding: 20px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    transition: opacity 0.3s ease;
}

/* ማውዝ ሲያርፍበት የድሮው ርዕስ ይጠፋል */
.modern-card:hover .card-bottom-title {
    opacity: 0;
}

/* መረጃው ከስር ብቅ የሚልበት (Overlay Content) - ምንም አይነት ባክግራውንድ የለውም! */
.card-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* ሰማያዊው ባክግራውንድ ሙሉ በሙሉ ጠፍቷል */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* ወደ ታች እንዲጠጋ */
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0; /* መጀመሪያ አይታይም */
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none; /* ፎቶውን ክሊክ ማድረግ እንዳይከለክል */
}

/* ርዕሱን ደብቀናል */
.card-overlay-info h5 {
    display: none; 
}

/* ማውዝ ሲያርፍበት ይታያል */
.modern-card:hover .card-overlay-info {
    opacity: 1; 
    pointer-events: auto; /* አዝራሩን ክሊክ ማድረግ እንዲቻል */
}

/* ጽሁፉ ፎቶው ላይ በደንብ እንዲታይ የነጭ ጥላ (Glow) ተጨምሮለታል */
.card-overlay-info p {
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 800;
    /* ፎቶውን ሳይሸፍን ጽሁፉን ያጎላል */
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #fff; 
    transform: translateY(15px);
    transition: all 0.4s ease 0.1s;
}

.card-overlay-info .btn-amo {
    transform: translateY(15px);
    transition: all 0.4s ease 0.2s;
    width: 90% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modern-card:hover .card-overlay-info p,
.modern-card:hover .card-overlay-info .btn-amo {
    transform: translateY(0);
}

/* አዝራሮች (Buttons) */
.btn-amo {
    background: linear-gradient(135deg, var(--amo-primary), #003d7a);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 91, 181, 0.3);
}

.btn-amo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 91, 181, 0.4);
    color: white;
}

/* ---------------------------------------------------
   የዳሽቦርድ እና የትዕዛዝ ዝርዝር ዲዛይኖች
------------------------------------------------------ */
.order-list-item {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.order-list-item:hover {
    border-color: var(--amo-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.status-badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ---------------------------------------------------
   የአድሚን ዳሽቦርድ ዲዛይን
------------------------------------------------------ */
.admin-sidebar {
    background-color: #0d1b2a;
    min-height: 100vh;
    box-shadow: 4px 0 10px rgba(0,0,0,0.1);
}

.admin-sidebar .nav-link {
    color: #bdc3c7;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 12px 20px;
    transition: 0.3s;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background-color: #005bb5;
    color: #ffffff;
}

.stat-card {
    transition: transform 0.3s;
    border: none;
    border-radius: 12px;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.table-custom th {
    background-color: #1a252f;
    color: white;
    border: none;
    padding: 15px;
}

.table-custom td {
    vertical-align: middle;
    padding: 15px;
}

.payment-dropdown {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    width: 100%;
    min-width: 250px;
    text-align: left;
}

.table-responsive {
    overflow: visible !important;
}

/* ADMIN PANEL IMAGE FIX */
.admin-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}