/**
 * landing/style.css
 * Styling Global Landing Page - Portal Cabang Digital
 * Bank Jatim - Capem Lodoyo
 */

/* =============================================
   IMPORT FONT
   ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --jatim-red: #E31E24;
    --jatim-deep-red: #B71C1C;
    --jatim-dark: #2C2C2C;
    --jatim-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 16px rgba(227, 30, 36, 0.15);
}

/* =============================================
   RESET & BASE STYLE
   ============================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--jatim-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(227, 30, 36, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(227, 30, 36, 0.05) 0%, transparent 40%);
}

/* =============================================
   CONTAINER
   ============================================= */
.portal-container {
    width: 100%;
    max-width: 480px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* =============================================
   HEADER
   ============================================= */
.portal-header {
    text-align: center;
    margin-bottom: 12px;
}

.portal-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.portal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jatim-red);
    margin-bottom: 4px;
}

.portal-subtitle {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* =============================================
   MENU GRID
   ============================================= */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.menu-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--jatim-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(227, 30, 36, 0.2);
}

.menu-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--jatim-red);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.menu-card:hover .menu-icon-wrap {
    background: var(--jatim-red);
    color: white;
}

.menu-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.menu-info p {
    font-size: 0.85rem;
    color: #888;
}

/* Highlight Card (Form Pembaruan) */
.menu-card.highlight {
    background: linear-gradient(135deg, #E31E24 0%, #B71C1C 100%);
    color: white;
    border: none;
}

.menu-card.highlight .menu-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.menu-card.highlight .menu-info p {
    color: rgba(255, 255, 255, 0.8);
}

.menu-card.highlight:hover {
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.4);
}

/* =============================================
   INFO SECTION
   ============================================= */
.info-section {
    background: white;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.status-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    /* Green */
    border-radius: 50%;
}

/* =============================================
   FOOTER
   ============================================= */
.portal-footer {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 24px;
}