/* ============================
   Auvisa - Home Page
   Page-specific styles only
   ============================ */

/* --- Hero overrides --- */
.hero {
    background-image: url('/assets/images/home/hero.jpg');
}

/* --- Country Flags Grid --- */
.country-flags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
    padding: 0;
    list-style: none;
}

.country-flags__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px 8px;
    background: #ffffff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-flags__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.country-flags__item img {
    width: 64px;
    height: auto;
    border: 0;
    object-fit: contain;
}

.country-flags__name {
    font-size: 13px;
    font-weight: 600;
    color: #1f5184;
    transition: color 0.2s ease;
}

.country-flags__name:hover {
    color: #28a745;
}

/* --- Logos Grid --- */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: center;
    justify-items: center;
}

.logos-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.logos-grid__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.logos-grid__item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* ============================
   Tablet (768px+)
   ============================ */
@media (min-width: 768px) {

    .country-flags {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }

    .country-flags__item img {
        width: 80px;
    }

    .country-flags__name {
        font-size: 14px;
    }

    .logos-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================
   Desktop (1024px+)
   ============================ */
@media (min-width: 1024px) {

    .country-flags__item img {
        width: 90px;
    }

    .logos-grid__item img {
        max-height: 70px;
    }
}
