﻿/* =========================================================
   ARMPIRA - GENERAL SITE STYLES
   ========================================================= */

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.mud-main-content {
    background-color: var(--mud-palette-background);
}

/* =========================================================
   APP BAR
   ========================================================= */

.armpira-appbar {
    border-bottom: 1px solid var(--mud-palette-divider);
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.mud-nav-link {
    border-radius: 8px;
    margin: 2px 8px;
    width: calc(100% - 16px);
}

    .mud-nav-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .mud-nav-link.active {
        background-color: rgba(126, 111, 255, 0.16);
        color: var(--mud-palette-primary);
    }

        .mud-nav-link.active .mud-nav-link-icon {
            color: var(--mud-palette-primary);
        }

/* =========================================================
   HOME PAGE
   ========================================================= */

.home-page {
    padding-top: 24px;
    padding-bottom: 30px;
}

.armpira-meaning {
    line-height: 1.8;
    opacity: 0.85;
}

.armpira-name {
    font-weight: 600;
}

.armpira-pronunciation {
    margin-left: 6px;
    opacity: 0.75;
}

.armpira-meaning-icon {
    vertical-align: middle;
    margin-right: 4px;
}

.armpira-meaning-icon-spaced {
    margin-left: 18px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    border-radius: 18px;
    background: linear-gradient( 135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background-gray) 100% );
    border: 1px solid var(--mud-palette-divider);
}

.armpira-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-title {
    font-weight: 700;
    letter-spacing: -1px;
}

/*
   HERO SUBTITLE

   This is NOT MudBlazor Color.Secondary.
   It only affects the Home page subtitle.
*/

.hero-subtitle {
    color: #8ab9d6 !important;
    font-weight: 400;
}

.hero-description {
    max-width: 720px;
    line-height: 1.7;
    color: var(--mud-palette-text-secondary);
}
.hero-comment {
    color: var(--mud-palette-text-secondary);
    width: 100%;
    text-align: center;
}

.hero-icon-area {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 16px;
    background-color: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-divider);
}

.hero-right-column {
    display: flex;
    align-items: center;
}

.hero-icon {
    font-size: 72px !important;
    opacity: 0.9;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-title {
    font-weight: 600;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-card {
    height: 100%;
    border-radius: 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--mud-elevation-6) !important;
    }

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-icon {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.secondary-icon {
    background-color: var(--mud-palette-info);
    color: var(--mud-palette-info-text);
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.process-section {
    border-radius: 16px;
}

.process-step {
    position: relative;
    height: 100%;
    padding: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    font-weight: 700;
}

.process-description {
    max-width: 300px;
    line-height: 1.6;
}

/* =========================================================
   INFORMATION CARDS
   ========================================================= */

.info-card {
    height: 100%;
    border-radius: 16px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .home-page {
        padding: 12px;
    }

    .hero-section {
        padding: 24px !important;
    }

    .armpira-logo {
        width: 56px;
        height: 56px;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-icon-area {
        margin-top: 12px;
        min-height: 150px;
    }
}
